/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

:root {
    /* Light Theme Colors */
    --color-bg-white: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-gray: #f0f2f5;
    --color-primary: #fd5a37;
    --color-primary-dark: #e54d2e;
    --color-text-dark: #1a1a1a;
    --color-text-body: #333333;
    --color-text-muted: #6c757d;
    --color-border: #e9ecef;
    --color-border-dark: #dee2e6;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Yeseva One', serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-white);
    color: var(--color-text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 10px var(--color-shadow);
}

.nav-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    position: relative;
    color: var(--color-text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 90vh;
    background: linear-gradient(rgba(253, 90, 55, 0.05), rgba(253, 90, 55, 0.1)),
                url('images/hero-bg.jpg') center bottom / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 270px 20px 300px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    display: inline-block;
    border: 2px dotted var(--color-primary);
    padding: 8px 20px;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 8vw, 70px);
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 20px;
    white-space: nowrap;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-primary);
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--color-text-body);
    text-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(253, 90, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-dark);
    border-color: var(--color-text-dark);
}

.btn-secondary:hover {
    background: var(--color-text-dark);
    color: #ffffff;
    border-color: var(--color-text-dark);
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

/* ========================================
   Products Section
   ======================================== */

.products {
    padding: 100px 20px;
    margin-top: -130px;
    position: relative;
    z-index: 10;
}

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

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.product-image {
    position: relative;
    height: 600px;
    overflow: hidden;
    border: 7px solid #ffffff;
    box-shadow: 0 4px 20px var(--color-shadow);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(253, 90, 55, 0.95), transparent);
    padding: 40px;
    transform: translateY(0);
    transition: var(--transition);
}

.product-info {
    transform: translateY(32px);
    transition: var(--transition);
}

.product-category {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.9;
    color: #ffffff;
    font-weight: 600;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.product-card:hover .product-info {
    transform: translateY(0);
}

/* ========================================
   Popular Products Section
   ======================================== */

.popular-products {
    padding: 100px 20px;
    background: var(--color-bg-light);
}

.section-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.popular-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.popular-product-item {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--color-shadow);
    transition: var(--transition);
}

.popular-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(253, 90, 55, 0.15);
}

.popular-product-item:last-child {
    margin-bottom: 0;
}

.popular-product-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.popular-product-image-secondary {
    display: none;
}

.popular-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-product-item:hover .popular-product-image img {
    transform: scale(1.05);
}

.popular-product-content {
    padding: 30px;
}

.popular-product-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.popular-product-features {
    list-style: none;
    margin-bottom: 30px;
}

.popular-product-features li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.popular-product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 18px;
}

.btn-product {
    display: inline-block;
    padding: 12px 30px;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: 100px 20px;
    background: var(--color-bg-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
    background: var(--color-bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--color-shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.feature-text {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(253, 90, 55, 0.15);
}

/* ========================================
   Advantages Section
   ======================================== */

.advantages {
    padding: 120px 20px;
    background: linear-gradient(rgba(253, 90, 55, 0.05), rgba(253, 90, 55, 0.1)),
                url('images/advantages-bg.jpg') top center / cover no-repeat;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 60px);
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 2px;
    background: var(--color-primary);
    margin: 0 auto;
}

.advantages-content {
    max-width: 800px;
    margin: 0 auto;
}

.advantages-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.advantages-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--color-text-dark);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.advantages-list {
    list-style: none;
}

.advantages-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 17px;
    color: var(--color-text-body);
}

.advantages-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* ========================================
   Stats Section
   ======================================== */

.stats {
    padding: 100px 20px;
    background: var(--color-bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--color-shadow);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.stat-number::after {
    content: '+';
    margin-left: 5px;
}

.stat-label {
    font-size: 16px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 150px 20px;
    background: linear-gradient(rgba(253, 90, 55, 0.92), rgba(253, 90, 55, 0.95)),
                url('images/discover-bg.jpg') center / cover no-repeat;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ffffff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-bg-gray);
    padding: 80px 20px 30px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.footer-section p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: var(--color-text-body);
}

.footer-section a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
    color: var(--color-text-dark);
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media screen and (max-width: 1023px) {
    .hero {
        padding: 200px 20px 250px;
    }

    .products {
        margin-top: -80px;
    }

    .product-image {
        height: 400px;
    }

    .popular-product-item {
        gap: 40px;
        margin-bottom: 80px;
    }

    .popular-product-image,
    .popular-product-image-secondary {
        height: 350px;
    }

    .popular-product-title {
        font-size: 24px;
    }

    .features-grid,
    .stats-grid {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-bg-white);
        flex-direction: column;
        padding: 100px 30px;
        transition: var(--transition);
        align-items: flex-start;
        box-shadow: -5px 0 20px var(--color-shadow);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 180px 20px 220px;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .product-image {
        height: 400px;
    }

    .popular-products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .popular-product-image {
        height: 300px;
    }

    .popular-product-content {
        padding: 25px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 36px;
    }

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