/* ========================================
   NORAS ICE CREAM & CAFE — STYLESHEET
   ======================================== */

/* --- 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: #FFFBF0;
    --cream-100: #FEF7E4;
    --cream-200: #FDF0C7;
    --cream-300: #FDE68A;
    
    --sand: #F5F0E8;
    --sand-light: #FAF7F2;
    --sand-dark: #E8E0D0;
    
    --text-dark: #1A2E2A;
    --text-medium: #3D5A52;
    --text-light: #6B8A80;
    --text-muted: #9BB5AD;
    
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow-md: 0 4px 16px rgba(6, 78, 59, 0.08), 0 2px 6px rgba(6, 78, 59, 0.05);
    --shadow-lg: 0 12px 40px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(6, 78, 59, 0.06);
    --shadow-xl: 0 20px 60px rgba(6, 78, 59, 0.15), 0 8px 20px rgba(6, 78, 59, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-med: 0.35s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul { list-style: none; }

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

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

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

.section-title .accent {
    color: var(--emerald-600);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 560px;
    line-height: 1.7;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

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

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

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

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--emerald-700);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: var(--white);
    color: var(--emerald-700);
    border-color: var(--emerald-600);
}

.btn-outline-dark:hover {
    background: var(--emerald-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-med);
}

.navbar.scrolled {
    background: rgba(255, 251, 240, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

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

.navbar.scrolled .nav-logo {
    color: var(--emerald-800);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
    color: var(--text-medium);
}

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

.nav-cta {
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    background: var(--emerald-600);
    border-radius: 100px;
    margin-left: 8px;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
    color: var(--white);
    background: var(--emerald-600);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.navbar.scrolled .hamburger {
    background: var(--emerald-800);
}

.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;
    overflow: hidden;
    background: var(--emerald-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.82) 0%,
        rgba(4, 120, 87, 0.65) 50%,
        rgba(5, 150, 105, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--cream-100);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-headline .accent {
    color: var(--emerald-300);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* Floating Stat Cards */
.hero-stats {
    position: absolute;
    bottom: 60px;
    right: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s ease-in-out infinite;
    min-width: 180px;
}

.stat-card:nth-child(2) { animation-delay: 0.5s; }
.stat-card:nth-child(3) { animation-delay: 1s; }

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

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--cream-50);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand-dark), transparent);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream-50);
}

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

.about-accent {
    position: absolute;
    top: -20px;
    right: 40%;
    width: 100px;
    height: 100px;
    background: var(--emerald-200);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(30px);
}

.about-content {
    max-width: 520px;
}

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

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

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

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

.about-feature strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu {
    padding: 120px 0;
    background: var(--sand-light);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand-dark), transparent);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid var(--sand-dark);
    background: var(--white);
    color: var(--text-medium);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.menu-tab:hover {
    border-color: var(--emerald-400);
    color: var(--emerald-700);
}

.menu-tab.active {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: var(--white);
}

.menu-grid {
    display: block;
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    animation: fadeIn 0.4s ease;
}

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

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

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

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

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.menu-card-body {
    padding: 22px 24px;
}

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

.menu-card-body p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
}

.menu-note {
    margin-top: 40px;
    text-align: center;
    padding: 20px 28px;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--emerald-100);
}

.menu-note p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-medium);
    flex-wrap: wrap;
}

.menu-note-link {
    color: var(--emerald-600);
    font-weight: 700;
    border-bottom: 1px solid var(--emerald-300);
    transition: all var(--transition-fast);
}

.menu-note-link:hover {
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: 120px 0;
    background: var(--cream-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 20px;
    margin-top: 48px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; grid-row: span 2; }

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(52, 211, 153, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}

.testimonials .section-tag {
    background: rgba(52, 211, 153, 0.2);
    color: var(--emerald-300);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-title .accent {
    color: var(--emerald-300);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-fast);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   VISIT SECTION
   ======================================== */
.visit {
    padding: 120px 0;
    background: var(--sand-light);
}

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

.visit-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 36px;
}

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

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

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

.visit-detail strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

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

.visit-detail a:hover {
    color: var(--emerald-800);
}

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

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

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-headline .accent {
    color: var(--cream-200);
    font-style: italic;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--emerald-900);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-tagline {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

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

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

.footer-links a,
.footer-contact li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 12px;
}

.heart {
    color: #F87171;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   (Progressive enhancement — content is visible without JS)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:nth-child(3) {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-rows: repeat(2, 220px);
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
        grid-column: span 6;
        grid-row: span 1;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-med);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-link:hover {
        background: var(--emerald-50);
        color: var(--emerald-700);
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        display: block;
    }
    
    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 24px 60px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .stat-card {
        min-width: 150px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        height: 400px;
        order: -1;
    }
    
    .menu-panel.active {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
        grid-column: span 2;
        height: 260px;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        height: 200px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:nth-child(3) {
        grid-column: span 1;
        max-width: none;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-card {
        width: 100%;
    }
    
    .about-images {
        height: 300px;
    }
    
    .menu-tabs {
        gap: 6px;
    }
    
    .menu-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        height: 240px;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        height: 200px;
    }
    
    .visit-actions {
        flex-direction: column;
    }
    
    .visit-actions .btn {
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
