/* CSS Variables */
:root {
    --primary-color: #562317;
    --secondary-color: #26231A;
    --accent-color: #FFE4E1;
    --background-cream: #FFFBF7;
    --text-dark: #161616;
    --text-gray: #696759;
    --text-light: #737373;
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-heading: 'Bitter', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;
    --container-max-width: 1280px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(22px, 3.5vw, 28px);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Subtle pink gradient to match hero image */
    background: linear-gradient(90deg, #FFF6F3 0%, #FFE4E1 100%);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
    padding: 0.5em 1.5em;
    border-radius: 999px;
    background: transparent;
    box-shadow: 0 2px 8px rgba(255, 192, 203, 0.08);
    transition: background 0.25s, color 0.25s, transform 0.18s;
    display: inline-block;
}

.nav-link:hover,
.nav-link:focus {
    background: #ffe4ec;
    color: #d72660;
    transform: scale(1.07);
    box-shadow: 0 4px 16px rgba(255, 192, 203, 0.18);
}

.nav-link.active,
.nav-link.active:focus {
    background: #ffd6e3;
    color: #d72660;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(255, 192, 203, 0.22);
}

.nav-link::before {
    display: none;
}


/* Mobile Navigation */
/* Hamburger Menu - Themed */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: #FFE4E1;
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 0 2px 8px rgba(255, 192, 203, 0.12);
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
}

.nav-toggle:hover, .nav-toggle:focus {
    background: #FFD6E3;
    box-shadow: 0 4px 16px rgba(255, 192, 203, 0.18);
}

.bar {
    width: 26px;
    height: 3.5px;
    background: #D72660;
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
    text-align: center;
    background: linear-gradient(180deg, #FFE4E1 0%, #FFFBF7 100%), url('/images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 700;
    text-shadow: 0px 2px 30px rgba(0, 0, 0, 0.12);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: balance;
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out 0.5s forwards;
}

/* Responsive Background Images - All using local image */
@media (max-width: 450px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (max-width: 450px) and (-webkit-min-device-pixel-ratio: 2), 
       (max-width: 450px) and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 451px) and (max-width: 767px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 451px) and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 2), 
       (min-width: 451px) and (max-width: 767px) and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 768px) and (max-width: 1023px) and (-webkit-min-device-pixel-ratio: 2), 
       (min-width: 768px) and (max-width: 1023px) and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
        min-height: 85vh;
        background-attachment: fixed;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) and (-webkit-min-device-pixel-ratio: 2), 
       (min-width: 1024px) and (max-width: 1279px) and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 1280px) and (max-width: 1535px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
        min-height: 85vh;
        background-attachment: fixed;
    }
}

@media (min-width: 1280px) and (max-width: 1535px) and (-webkit-min-device-pixel-ratio: 2), 
       (min-width: 1280px) and (max-width: 1535px) and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 1536px) and (max-width: 1920px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
        min-height: 85vh;
        background-attachment: fixed;
    }
}

@media (min-width: 1536px) and (max-width: 1920px) and (-webkit-min-device-pixel-ratio: 2), 
       (min-width: 1536px) and (max-width: 1920px) and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

@media (min-width: 1921px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
        min-height: 85vh;
        background-attachment: fixed;
    }
}

@media (min-width: 1921px) and (-webkit-min-device-pixel-ratio: 2), 
       (min-width: 1921px) and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
                          url('/images/hero-background.png');
    }
}

/* Section Transitions */
.hero {
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 80px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 228, 225, 0.0) 0%, rgba(255, 251, 247, 0.95) 100%);
    z-index: 3;
}

.mission {
    position: relative;
}
.mission::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 251, 247, 0.0) 0%, rgba(255, 228, 225, 0.7) 100%);
    z-index: 2;
}
.mission::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 251, 247, 0.0) 0%, rgba(255,255,255,0.85) 100%);
    z-index: 2;
}

.products {
    position: relative;
}
.products::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255,255,255,0.0) 0%, rgba(255, 251, 247, 0.7) 100%);
    z-index: 2;
}
.products::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0.0) 0%, rgba(255, 251, 247, 0.85) 100%);
    z-index: 2;
}

.app {
    position: relative;
}
.app::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 251, 247, 0.0) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 2;
}
.app::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 251, 247, 0.0) 0%, rgba(255, 228, 225, 0.85) 100%);
    z-index: 2;
}

.contact {
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 228, 225, 0.0) 0%, rgba(255, 251, 247, 0.7) 100%);
    z-index: 2;
}
.contact::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 228, 225, 0.0) 0%, rgba(255, 251, 247, 0.85) 100%);
    z-index: 2;
}

.footer {
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -1px; height: 60px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 251, 247, 0.0) 0%, rgba(255, 228, 225, 0.7) 100%);
    z-index: 2;
}

/* Mission Section */
.mission {
    padding: var(--section-padding);
    background: var(--background-cream);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text {
    max-width: none;
}

.mission-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
}

.mission-description p {
    margin-bottom: 1.2rem;
}

.mission-description strong {
    color: var(--text-dark);
    font-weight: 700;
}

.mission-image {
    position: relative;
}

.mission-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: var(--section-padding);
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.02);
}

.product-title {
    padding: 1rem 0.5rem;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    text-align: center;
    text-transform: lowercase;
    font-family: var(--font-body);
    line-height: 1.4;
}

/* App Section */
.app {
    padding: var(--section-padding);
    background: var(--background-cream);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

.app-image {
    position: relative;
}

.app-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--accent-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-body);
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 209, 204, 0.1);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-gray);
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 0.5rem;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.5rem;
    font-size: 12px;
    color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 48px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.form-submit:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-info {
    padding: 2rem 0;
}

.contact-info-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-list {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info-list li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.contact-hashtags {
    color: var(--text-light);
    font-style: italic;
}

/* Values Section */
.values {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.values-content {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 18px;
}

/* Values Page Styles */
.values-page {
    padding-top: 77px;
}

.values-hero {
    padding: 4rem 0;
    background: var(--background-cream);
    text-align: center;
}

.values-hero-title {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.values-content {
    padding: 6rem 0;
    background: var(--white);
    max-width: none;
    margin: 0;
    text-align: left;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(86, 35, 23, 0.1);
}

.value-item:last-child {
    border-bottom: none;
}

.value-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: sepia(1) saturate(1.8) hue-rotate(15deg) brightness(0.9);
    transition: all 0.3s ease;
}

.value-icon:hover {
    filter: sepia(1) saturate(2.2) hue-rotate(15deg) brightness(1);
    transform: scale(1.03);
}

.value-content {
    flex: 1;
}

.value-title {
    font-size: clamp(18px, 2.8vw, 22px);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.value-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.values-closing {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid var(--text-dark);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.values-closing-image {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.closing-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: sepia(1) saturate(1.5) hue-rotate(15deg) brightness(0.8);
}

.values-closing-title {
    font-size: clamp(20px, 3.2vw, 24px);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    max-width: 700px;
    margin: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 0;
    }
    
    .value-image {
        width: 150px;
        height: 150px;
        align-self: center;
    }
    
    .values-closing-image {
        width: 140px;
        height: 140px;
    }
    
    .values-grid {
        gap: 2.5rem;
    }
    
    .values-content {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .value-item {
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .value-image {
        width: 120px;
        height: 120px;
    }
    
    .values-closing-image {
        width: 120px;
        height: 120px;
    }
}

/* Footer */
.footer {
    background: var(--background-cream);
    color: var(--text-dark);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-light);
}

.footer-social {
    display: flex;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--white);
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-nav-menu {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-nav-link:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .mission-content,
    .app-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .app-text {
        order: 2;
    }
    
    .app-image {
        order: 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 16px;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-cream);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        height: 100vh;
        min-height: 600px;
        padding-top: 80px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: clamp(28px, 8vw, 42px);
        padding: 0 16px;
        text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-nav-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: clamp(24px, 9vw, 36px);
        padding: 0 12px;
        text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.6);
        line-height: 1.2;
    }
    
    .hero-content {
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-submit {
        padding: 0.75rem 1.5rem;
    }
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.turnstile-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5em;
}

#turnstile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 65px;
}

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

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced animations for elements */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.product-card, .feature, .mission-text, .app-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.product-card.animate-in, 
.feature.animate-in, 
.mission-text.animate-in, 
.app-text.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.form-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 77px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 77px);
        background: var(--background-cream);
        transition: var(--transition);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
    }
    
    .bar {
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        transition: var(--transition);
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

}

/* Body loaded state */
body.loaded {
    opacity: 1;
}

body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Header scroll effect */
.header {
    transition: transform 0.3s ease;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 1.5rem 0;
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.cookie-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-heading);
}

.cookie-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.cookie-decline {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid #ddd;
}

.cookie-decline:hover {
    background: #f5f5f5;
}

.cookie-accept {
    background: var(--primary-color);
    color: var(--white);
}

.cookie-accept:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .cookie-content {
        padding: 0 16px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
.nav-link:focus,
.social-link:focus {
    outline-offset: 4px;
} 

.form-submit.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.form-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 3px solid #fff;
    border-top: 3px solid var(--primary-color, #e57373);
    border-radius: 50%;
    animation: spinner 0.7s linear infinite;
    z-index: 2;
}
@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* Section Transitions - Fade to White Only */
.hero::after {
    background: linear-gradient(to bottom, rgba(255, 228, 225, 0) 0%, #FFFFFF 100%);
}

.mission::before,
.mission::after,
.products::before,
.products::after,
.app::before,
.app::after,
.contact::before,
.contact::after,
.footer::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #FFFFFF 100%);
} 

/* Fix contact section upper gradient: fade to white only, no color reflection */
.contact::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -1px; height: 40px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #FFFFFF 100%) !important;
    z-index: 0;
} 

/* Transparent overlapping header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.hero {
    margin-top: 0 !important;
} 