@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: #FF69B4;
}

/* Carousel Section */
.carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: none;
    animation: fadeIn 0.5s;
}

.carousel-slide.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-banner {
    background: url('images/banner1.jpg') center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
    position: relative;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.promo-banner > * {
    position: relative;
    z-index: 1;
}

.promo-banner.banner-2 {
    background: url('images/banner2.jpg') center center no-repeat;
    background-size: cover;
}

.promo-banner.banner-3 {
    background: url('images/banner3.jpg') center center no-repeat;
    background-size: cover;
}

.promo-banner h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.promo-text {
    font-size: 1.5em;
    margin-bottom: 30px;
    max-width: 700px;
}

.shop-now-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Carousel Navigation Arrows */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    font-size: 2em;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
    border-radius: 5px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255,255,255,0.5);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #667eea;
    margin-bottom: 10px;
}

/* Products Section */
.products {
    padding: 80px 20px;
}

.products h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-image.baby-stroller {
    background: url('images/baby-stroller-cat.jpg') center center no-repeat;
    background-size: cover;
}

.product-image.baby-walker {
    background: url('images/baby-walker-cat.jpg') center center no-repeat;
    background-size: cover;
}

.product-image.pet-stroller {
    background: url('images/pet-stroller-cat.jpg') center center no-repeat;
    background-size: cover;
}

.product-image.toys {
    background: url('images/toys-cat.jpg') center center no-repeat;
    background-size: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    color: #333;
    font-size: 1.5em;
}

.product-card p {
    padding: 0 20px 15px;
    color: #666;
}

.product-link {
    display: block;
    padding: 15px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.product-link:hover {
    background: #764ba2;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.mission-text {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.secondary-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #FF69B4;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FF69B4;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* Page Content Styles (for subpages) */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.page-content {
    padding: 60px 20px;
}

.page-content h2 {
    color: #667eea;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2em;
}

.page-content h3 {
    color: #764ba2;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image-container {
    margin: 40px 0;
    text-align: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.blog-date {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: #764ba2;
}

/* Product Catalog Styles */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.catalog-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.catalog-item-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.catalog-item-content {
    padding: 20px;
}

.catalog-item-title {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    min-height: 60px;
}

.catalog-item-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.catalog-item-link:hover {
    background: #764ba2;
}

.sold-out-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em;
    z-index: 10;
}

/* Product Detail Page Styles */
.product-detail {
    padding: 60px 20px;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-image-container {
    position: sticky;
    top: 100px;
}

.product-detail-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.product-info {
    padding: 20px 0;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #764ba2;
}

.breadcrumb span {
    margin: 0 8px;
}

.product-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.product-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.product-status.available {
    background: #d4edda;
    color: #155724;
}

.product-status.sold-out {
    background: #f8d7da;
    color: #721c24;
}

.product-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    color: #667eea;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    color: #555;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

.product-specs {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.product-specs h3 {
    color: #667eea;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.spec-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #333;
    min-width: 150px;
}

.spec-value {
    color: #666;
}

.contact-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2em;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .product-grid,
    .feature-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.8em;
    }

    /* Carousel responsive */
    .carousel-container {
        height: 400px;
    }

    .promo-banner h2 {
        font-size: 2em;
    }

    .promo-text {
        font-size: 1.1em;
    }

    .shop-now-btn {
        font-size: 1em;
        padding: 12px 30px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 1.5em;
        padding: 10px 15px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    /* Product detail responsive */
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image-container {
        position: static;
    }

    .product-title {
        font-size: 1.8em;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .spec-row {
        flex-direction: column;
        gap: 5px;
    }

    .spec-label {
        min-width: auto;
    }
}
