/* ==========================================
   Volcano Bay Pavilion Kiosk — Stylesheet
   ========================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-emerald-50:  #ecfdf5;
    --color-emerald-100: #d1fae5;
    --color-emerald-200: #a7f3d0;
    --color-emerald-500: #10b981;
    --color-emerald-600: #059669;
    --color-emerald-700: #047857;
    --color-emerald-800: #065f46;
    --color-emerald-900: #064e3b;
    
    --color-cream-50:  #faf9f6;
    --color-cream-100: #f5f0e8;
    --color-cream-200: #ebe4d6;
    --color-cream-300: #d4c9b8;
    
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    
    --color-text-dark:  #1a1a1a;
    --color-text-mid:   #3d3d3d;
    --color-text-light: #6b6b6b;
    --color-text-white: #ffffff;
    
    --font-heading: 'Nunito', sans-serif;
    --font-body:    'Lora', serif;
    
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    
    --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:  0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl:  0 16px 48px rgba(0,0,0,0.12);
    
    --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;
    scroll-padding-top: 80px;
}

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

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

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

a:hover {
    color: var(--color-emerald-700);
}

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-emerald-600);
    background: var(--color-emerald-50);
    border: 1px solid var(--color-emerald-200);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-emerald-600), var(--color-emerald-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-emerald-600);
    color: var(--color-text-white);
    border-color: var(--color-emerald-600);
}

.btn--primary:hover {
    background: var(--color-emerald-700);
    border-color: var(--color-emerald-700);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--secondary:hover {
    background: var(--color-emerald-50);
    border-color: var(--color-emerald-500);
    color: var(--color-emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Section --- */
.section {
    padding: 80px 0;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-cream-200);
    transition: box-shadow var(--transition);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-emerald-800);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
}

.nav-logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-emerald-600);
    letter-spacing: 0.05em;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-mid);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

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

.nav-link--cta {
    background: var(--color-emerald-600);
    color: var(--color-text-white) !important;
    border-radius: var(--radius-xl);
}

.nav-link--cta:hover {
    background: var(--color-emerald-700);
}

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

.nav-toggle:hover {
    background: var(--color-cream-100);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-emerald-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--color-cream-50) 0%, var(--color-emerald-50) 50%, var(--color-cream-100) 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-amber-600);
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    color: var(--color-emerald-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-accent {
    background: linear-gradient(135deg, var(--color-emerald-600), var(--color-amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-mid);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-emerald-700);
}

.hero-stat-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.hero-stat-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-emerald-200);
}

/* Hero image grid */
.hero-image-grid {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 0 24px;
    z-index: 1;
    pointer-events: none;
}

.hero-img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img--1 {
    width: 200px;
    height: 260px;
    transform: translateY(40px);
}

.hero-img--2 {
    width: 170px;
    height: 210px;
    transform: translateY(20px);
}

.hero-img--3 {
    width: 190px;
    height: 240px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

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

/* ==========================================
   ABOUT
   ========================================== */
.about {
    background: var(--color-cream-50);
}

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

.about-image-wrapper {
    position: relative;
}

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

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

.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream-50);
}

.about-img-float img {
    width: 240px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-emerald-600);
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.about-content {
    padding: 10px 0;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-emerald-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--color-emerald-800);
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================
   PRODUCTS
   ========================================== */
.products {
    background: var(--color-cream-100);
    position: relative;
}

.products-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

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

.product-card {
    background: var(--color-text-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.product-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.product-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-white);
    background: var(--color-emerald-600);
    padding: 5px 12px;
    border-radius: 50px;
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--color-emerald-800);
}

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

.products-cta {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text-mid);
    background: var(--color-emerald-50);
    border: 1px solid var(--color-emerald-200);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
}

.products-cta a {
    font-weight: 700;
    color: var(--color-emerald-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.products-cta a:hover {
    color: var(--color-emerald-600);
}

/* ==========================================
   VISIT
   ========================================== */
.visit {
    background: var(--color-cream-50);
}

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

.visit-text {
    color: var(--color-text-mid);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--color-emerald-50);
    border: 1px solid var(--color-emerald-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald-600);
}

.visit-detail h4 {
    font-size: 0.95rem;
    color: var(--color-emerald-800);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--color-emerald-600);
    font-weight: 600;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Card */
.contact-card {
    background: var(--color-text-white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-cream-200);
}

.contact-card h3 {
    font-size: 1.4rem;
    color: var(--color-emerald-800);
    margin-bottom: 8px;
}

.contact-card > p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-mid);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: var(--color-cream-50);
    border: 1.5px solid var(--color-cream-200);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-emerald-500);
    background: var(--color-text-white);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-cream-300);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    gap: 12px;
}

.form-success h4 {
    font-size: 1.3rem;
    color: var(--color-emerald-700);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-emerald-900);
    color: var(--color-text-white);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    color: var(--color-emerald-200);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

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

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

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

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

/* ==========================================
   SCROLL TO TOP
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--color-emerald-600);
    color: var(--color-text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-emerald-700);
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero-image-grid {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-float {
        right: 20px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-cream-50);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-link--cta {
        margin-top: 12px;
        text-align: center;
    }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding: 40px 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .about-img-float {
        width: 160px;
        height: 130px;
        bottom: -20px;
        right: -10px;
    }
    
    .about-img-float img {
        width: 160px;
        height: 130px;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-top {
        transition: none;
    }
}
