/* ===== CSS Custom Properties ===== */
:root {
    --emerald-50: #ECFDF5;
    --emerald-100: #D1FAE5;
    --emerald-200: #A7F3D0;
    --emerald-300: #6EE7B7;
    --emerald-400: #34D399;
    --emerald-500: #10B981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065F46;
    --emerald-900: #064E3B;
    
    --cream-50: #FEFCF8;
    --cream-100: #FAF6F0;
    --cream-200: #F5EDE0;
    --cream-300: #EDE3D0;
    --cream-400: #E4D5BC;
    
    --warm-50: #FFFBF5;
    --warm-100: #FFF8F0;
    --warm-200: #FEF0E0;
    
    --text-dark: #1C1917;
    --text-medium: #44403C;
    --text-light: #78716C;
    --text-white: #FAFAF9;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
    
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --font-display: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal-on-scroll.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--emerald-700);
}

.nav-logo:hover {
    color: var(--emerald-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-medium);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-600) !important;
    color: var(--text-white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

.nav-cta:hover {
    background: var(--emerald-700) !important;
    color: var(--text-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.nav-toggle:hover {
    background: var(--emerald-50);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--emerald-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream-100) 0%, var(--emerald-50) 50%, var(--cream-200) 100%);
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(110, 231, 183, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(5, 150, 105, 0.08);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--emerald-500);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-headline .highlight {
    color: var(--emerald-600);
    position: relative;
}

.hero-headline .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(52, 211, 153, 0.3);
    border-radius: 3px;
    z-index: -1;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--emerald-600);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-200);
}

.btn-secondary:hover {
    border-color: var(--emerald-400);
    background: var(--emerald-50);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--emerald-700);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* ===== Floating Cards ===== */
.floating-cards {
    position: relative;
    height: 420px;
}

.float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(5, 150, 105, 0.08);
    transition: var(--transition);
}

.float-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.float-card-1 {
    top: 0;
    right: 20px;
    animation: float1 4s ease-in-out infinite;
}

.float-card-2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: float2 5s ease-in-out infinite;
}

.float-card-3 {
    bottom: 0;
    right: 40px;
    animation: float3 4.5s ease-in-out infinite;
}

.float-card-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-card-content {
    display: flex;
    flex-direction: column;
}

.float-card-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1.2;
}

.float-card-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(-50%) translateX(0px); }
    50% { transform: translateY(calc(-50% - 10px)) translateX(6px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ===== Hero Wave ===== */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== Section Styles ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 600px;
    line-height: 1.8;
}

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

.section-header .section-desc {
    margin: 0 auto;
}

/* ===== Products Section ===== */
.products {
    padding: 100px 24px;
    background: var(--cream-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: 100px 24px;
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--emerald-600);
    color: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-experience-badge .exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--emerald-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Visit Section ===== */
.visit {
    padding: 100px 24px;
    background: var(--cream-100);
}

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

.visit-header .section-desc {
    margin: 0 auto;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--emerald-600);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.info-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.info-content p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.info-content a:hover {
    text-decoration: underline;
}

.info-note {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow-lg);
}

/* ===== CTA Section ===== */
.cta {
    position: relative;
    padding: 100px 24px;
    background: var(--emerald-700);
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 50%, rgba(52, 211, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(110, 231, 183, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--emerald-900);
    padding: 60px 24px 30px;
    color: rgba(255,255,255,0.8);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: white;
    margin-bottom: 16px;
}

.footer-logo:hover {
    color: var(--emerald-300);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--emerald-300);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255,255,255,0.85);
}

.footer-contact a:hover {
    color: var(--emerald-300);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .floating-cards {
        height: 200px;
        order: -1;
    }
    
    .float-card-1 { right: 0; }
    .float-card-2 { left: 50%; transform: translateX(-50%); }
    .float-card-3 { right: 0; }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 246, 240, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid rgba(5, 150, 105, 0.1);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
    
    .nav-cta {
        justify-content: center;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 24px 80px;
    }
    
    .hero-card {
        padding: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .floating-cards {
        height: 160px;
    }
    
    .float-card {
        padding: 14px 18px;
    }
    
    .float-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        right: -10px;
        bottom: -20px;
        width: 50%;
    }
    
    .about-experience-badge {
        top: -15px;
        left: -10px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        min-height: 280px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 24px;
    }
    
    .hero-headline {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .floating-cards {
        height: 140px;
    }
    
    .float-card-1 { top: 0; right: 0; }
    .float-card-2 { top: 50%; left: 0; transform: translateY(-50%); }
    .float-card-3 { bottom: 0; right: 0; }
}
