/* ========================================
   CSS VARIABLES - COLOR PALETTE
   ======================================== */
:root {
    /* Primary Colors */
    --color-primary-red: #ed1B24;              /* Main red accent color - used for hero headings and highlight text */
    --color-primary-orange: #ffa53c;           /* Main orange accent color - used for buttons, links, badges, and CTAs */
    --color-primary-orange-hover: #ff9520;     /* Darker orange for button hover states */
    --color-primary-orange-light: #ffb960;     /* Lighter orange for gradient variations */
    --color-primary-teal: #567070;             /* Primary teal color - used for headings, navigation, and section titles */
    --color-primary-teal-light: #6a8585;       /* Lighter teal variation for gradient effects */

    /* Neutral Colors */
    --color-neutral-dark: #343434;             /* Dark gray for body text and dark backgrounds (footer) */
    --color-neutral-light: #ececee;            /* Light gray for card backgrounds and subtle sections */
    --color-neutral-white: #fff;               /* Pure white for backgrounds, text on dark surfaces, and cards */
    --color-neutral-beige: #e1d2c6;            /* Warm beige tone - used for navigation bar and mobile drawer */
    --color-neutral-beige-light: #ecddc6;      /* Lighter beige for subtle gradient variations */

    /* Transparent/Overlay Colors */
    --color-overlay-dark: rgba(0, 0, 0, 0.6);           /* Dark semi-transparent overlay for mobile menu backdrop */
    --color-overlay-light: rgba(255, 255, 255, 0.1);    /* Light semi-transparent overlay for contact cards */
    --color-overlay-light-hover: rgba(255, 255, 255, 0.15); /* Slightly more opaque overlay for hover states */

    /* Shadow Colors */
    --shadow-primary: rgba(255, 165, 60, 0.3);     /* Orange-tinted shadow for primary buttons */
    --shadow-primary-hover: rgba(255, 165, 60, 0.4); /* Stronger orange shadow for button hover states */
    --shadow-primary-light: rgba(255, 165, 60, 0.2); /* Subtle orange shadow for category card hovers */
    --shadow-neutral: rgba(0, 0, 0, 0.1);          /* Light neutral shadow for cards and elevated elements */
    --shadow-neutral-medium: rgba(0, 0, 0, 0.15);  /* Medium neutral shadow for hover states */
    --shadow-neutral-dark: rgba(0, 0, 0, 0.2);     /* Darker neutral shadow for emphasized hover effects */
    --shadow-neutral-darker: rgba(0, 0, 0, 0.08);  /* Very subtle shadow for navigation bar when scrolled */

    /* Gradient Colors */
    --gradient-beige: linear-gradient(135deg, #e1d2c6 0%, #ececee 100%);     /* Beige to light gray gradient - hero and products sections */
    --gradient-teal: linear-gradient(135deg, #567070 0%, #6a8585 100%);      /* Teal gradient - product images and headers */
    --gradient-orange: linear-gradient(135deg, #ffa53c 0%, #ffb960 100%);    /* Orange gradient - featured product backgrounds */
    --gradient-beige-alt: linear-gradient(135deg, #e1d2c6 0%, #ecddc6 100%); /* Alternative beige gradient - product variations */
    --gradient-dark: linear-gradient(135deg, #343434 0%, #567070 100%);      /* Dark to teal gradient - CTA section background */

    /* Radial Gradient Colors (for decorative elements) */
    --radial-orange: rgba(255, 165, 60, 0.1);  /* Subtle orange glow effect for hero section decorative circles */
    --radial-teal: rgba(86, 112, 112, 0.08);   /* Subtle teal glow effect for hero section decorative circles */

    /* Background Colors */
    --bg-beige-transparent: rgba(225, 210, 198, 0.95); /* Semi-transparent beige for navigation bar with blur effect */
}

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

body {
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    line-height: 1.6;
    color: var(--color-neutral-dark);
    background: var(--color-neutral-white);
    overflow-x: hidden;
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Fade-in animation for page transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}


/* Hero Section */
.hero {
    margin-top: 90px;
    min-height: 90vh;
    background: var(--gradient-beige);
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        var(--radial-orange) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        var(--radial-teal) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-primary-red);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-text .highlight {
    color: var(--color-primary-orange);
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--color-neutral-dark);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--color-primary-orange);
    color: var(--color-neutral-white);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-primary-hover);
    background: var(--color-primary-orange-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary-teal);
    padding: 1.2rem 3rem;
    border: 2px solid var(--color-primary-teal);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--color-primary-teal);
    color: var(--color-neutral-white);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-box {
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: var(--gradient-teal);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    box-shadow: 0 20px 60px var(--shadow-neutral-medium);
    transform: rotate(-5deg);
    transition: all 0.3s;
}

.visual-box:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Categories Section */
.categories {
    padding: 100px 5%;
    background: var(--color-neutral-white);
}

/* Products Section */
#products {
    padding: 0;
    margin: 0;
    width: 100%;
    background: var(--color-neutral-white);
}

#products .section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#products .section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary-teal);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

#products .section-header p {
    font-size: 1.2rem;
    color: var(--color-neutral-dark);
    opacity: 0.8;
}

#products product .product-container {
    padding: 0;
    width: 100%;
}

/* Features/About Section */
.features {
    padding: 100px 5%;
    background: var(--color-neutral-white);
}

.highlight1 {
    color: var(--color-primary-red);
}

.highlight2 {
    color: var(--color-primary-orange);
}

.features .section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features .section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary-teal);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.features .section-header p {
    font-size: 1.2rem;
    color: var(--color-neutral-dark);
    opacity: 0.8;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--color-neutral-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-neutral-medium);
    background: var(--color-neutral-white);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary-teal);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--color-neutral-dark);
    opacity: 0.8;
    line-height: 1.7;
    font-size: 1rem;
}

/* Component styles are now in their respective component CSS files */

/* Page System */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Responsive */
@media (max-width: 968px) {

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .visual-box {
        max-width: 400px;
        height: 400px;
        font-size: 7rem;
    }

    .products-header h1 {
        font-size: 2.8rem;
    }

    .features .section-header h2 {
        font-size: 2.5rem;
    }

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

    #products .section-header h2 {
        font-size: 2.5rem;
    }
}
