/* ============================================
   Red Hill Royal Cafe - Jenna's
   Fresh, Airy, Terracotta & Sand Palette
   ============================================ */

/* --- Custom Properties --- */
:root {
    --terracotta: #C1694F;
    --terracotta-dark: #A8553D;
    --terracotta-light: #D4896F;
    --sand: #F5E6D3;
    --sand-light: #FBF4EC;
    --sand-dark: #E8D5C0;
    --cream: #FFFAF5;
    --warm-white: #FFF9F3;
    --charcoal: #2D2420;
    --charcoal-light: #4A3F38;
    --text-primary: #2D2420;
    --text-secondary: #6B5B52;
    --text-muted: #8E7E74;
    --border: #E8D5C0;
    --shadow-sm: 0 2px 8px rgba(45, 36, 32, 0.06);
    --shadow-md: 0 8px 30px rgba(45, 36, 32, 0.1);
    --shadow-lg: 0 20px 60px rgba(45, 36, 32, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: linear-gradient(135deg, rgba(193, 105, 79, 0.12) 0%, rgba(193, 105, 79, 0.06) 100%);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

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

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: #fff;
    box-shadow: 0 4px 20px rgba(193, 105, 79, 0.35);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(193, 105, 79, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 213, 192, 0.5);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(255, 250, 245, 0.95);
    box-shadow: var(--shadow-sm);
}

.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-size: 1.15rem;
    font-weight: 600;
    color: var(--terracotta);
}

.nav-logo-icon {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--terracotta);
    background: rgba(193, 105, 79, 0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--terracotta);
    padding: 10px 22px;
    border-radius: 50px;
    margin-left: 8px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(193, 105, 79, 0.3);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(255, 250, 245, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--charcoal);
    padding: 8px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mobile-menu-link:hover {
    color: var(--terracotta);
    background: rgba(193, 105, 79, 0.06);
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--terracotta);
    padding: 14px 32px;
    background: var(--terracotta);
    color: #fff;
    border-radius: 50px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--charcoal);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(45, 36, 32, 0.55) 0%,
        rgba(45, 36, 32, 0.45) 40%,
        rgba(45, 36, 32, 0.7) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 22px;
    border-radius: 50px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-title em {
    font-style: italic;
    color: var(--sand);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.hero-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-detail svg {
    opacity: 0.7;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.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: 75%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

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

.about-img-accent {
    position: absolute;
    top: 50%;
    right: 0;
    width: 35%;
    height: 30%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

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

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

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

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

.about-feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
    border-radius: var(--radius-md);
    color: var(--terracotta);
}

.about-feature h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* --- Menu Section --- */
.menu {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 100%);
}

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

.menu-cat-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid var(--border);
    padding: 10px 28px;
    border-radius: 50px;
    transition: all var(--transition);
}

.menu-cat-btn:hover {
    color: var(--terracotta);
    border-color: var(--terracotta-light);
    background: rgba(193, 105, 79, 0.06);
}

.menu-cat-btn.active {
    color: #fff;
    background: var(--terracotta);
    border-color: var(--terracotta);
    box-shadow: 0 4px 15px rgba(193, 105, 79, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.menu-item {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(232, 213, 192, 0.4);
}

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

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

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

.menu-item:hover .menu-item-img img {
    transform: scale(1.08);
}

.menu-item-body {
    padding: 24px;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.menu-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
}

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

.menu-note a {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.menu-note a:hover {
    color: var(--terracotta-dark);
}

/* --- Experience Section --- */
.experience {
    padding: 120px 0;
    background: var(--cream);
}

.experience-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.experience-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(232, 213, 192, 0.4);
}

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

.experience-card-img {
    height: 240px;
    overflow: hidden;
}

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

.experience-card:hover .experience-card-img img {
    transform: scale(1.06);
}

.experience-card-content {
    padding: 32px;
}

.experience-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.experience-card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Visit Section --- */
.visit {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 50%, var(--sand-dark) 100%);
}

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

.visit-info {
    padding: 20px 0;
}

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

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

.visit-detail-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--radius-md);
    color: var(--terracotta);
    box-shadow: var(--shadow-sm);
}

.visit-detail h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.visit-detail a:hover {
    color: var(--terracotta-dark);
}

.visit-cta {
    margin-top: 16px;
}

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

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

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

.footer-logo-icon {
    color: var(--terracotta-light);
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--transition);
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--terracotta-light);
    padding-left: 6px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact p {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--terracotta-light);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: #fff;
}

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

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--terracotta-light);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .about-images {
        height: 450px;
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-grid .experience-card:last-child {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        height: 380px;
        order: -1;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-grid .experience-card:last-child {
        grid-column: span 1;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 8px 16px;
    }
    
    .about-images {
        height: 300px;
    }
    
    .menu-categories {
        gap: 8px;
    }
    
    .menu-cat-btn {
        padding: 8px 20px;
        font-size: 0.82rem;
    }
}

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