/* =============================================
   Cafe Amara - Main Stylesheet
   Colours: Blue #0f256f | Gold #a98434
   ============================================= */

/* Google Fonts loaded in HTML head */

:root {
    --blue: #0f256f;
    --blue-dark: #0a1a4d;
    --blue-light: #1a3a8f;
    --gold: #a98434;
    --gold-light: #c9a54e;
    --gold-pale: #f5e6c4;
    --cream: #faf8f3;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-body: #3a3a3a;
    --text-light: #6a6a6a;
    --overlay: rgba(15, 37, 111, 0.7);
}

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

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--blue);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--blue);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: var(--blue-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}

.logo-text span {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 2px;
}

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

.nav-links a {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 37, 111, 0.6) 0%,
        rgba(15, 37, 111, 0.75) 50%,
        rgba(10, 26, 77, 0.85) 100%
    );
}

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

.hero-content .tagline {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue);
}

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

.btn-blue:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
}

/* =============================================
   SECTIONS - General
   ============================================= */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.bg-cream {
    background-color: var(--cream);
}

.bg-blue {
    background-color: var(--blue);
}

/* =============================================
   ABOUT / INTRO SECTION
   ============================================= */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-image {
    position: relative;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.intro-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-right: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.intro-text .gold-line {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 24px;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.intro-text .highlight {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--gold);
    border-left: 3px solid var(--gold);
    padding-left: 20px;
    margin: 28px 0;
}

/* =============================================
   FEATURES / HIGHLIGHTS
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .icon svg {
    width: 48px;
    height: 48px;
    fill: var(--gold);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

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

/* =============================================
   GALLERY / IMAGE GRID
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

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

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

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
    background: var(--blue);
    color: var(--white);
}

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

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 36px 28px;
    position: relative;
}

.testimonial-card .quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .reviewer {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-light);
}

.stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.cta-banner .cta-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
}

.cta-banner .cta-bg::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15, 37, 111, 0.82);
}

.cta-banner .cta-content {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   MENU PAGE
   ============================================= */
.page-hero {
    position: relative;
    height: 45vh;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero .hero-bg::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 37, 111, 0.65) 0%,
        rgba(10, 26, 77, 0.85) 100%
    );
}

.page-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    color: var(--white);
}

.page-hero .tagline {
    position: relative;
    z-index: 2;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.menu-section {
    padding: 80px 0;
}

.menu-category {
    margin-bottom: 60px;
}

.menu-category h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
}

.menu-category-divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 36px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 48px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.menu-item-info {
    flex: 1;
    padding-right: 20px;
}

.menu-item-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--blue);
    margin-bottom: 4px;
    font-weight: 600;
}

.menu-item-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.menu-item .price {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.menu-image-feature {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin: 40px 0;
}

.menu-note {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 20px;
    font-size: 0.9rem;
}

/* =============================================
   EVENTS PAGE
   ============================================= */
.events-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.events-intro p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 16px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.event-card {
    background: var(--white);
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.event-card-image {
    height: 250px;
    overflow: hidden;
}

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

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

.event-card-body {
    padding: 32px;
}

.event-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.event-card-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.contact-info-item .info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-info-item .info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
}

.contact-info-item h3 {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-info-item p {
    font-size: 0.95rem;
    color: var(--text-body);
}

.contact-info-item a {
    color: var(--blue);
    font-weight: 600;
}

.contact-info-item a:hover {
    color: var(--gold);
}

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

.contact-form label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    background: var(--cream);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    height: 160px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
    border: none;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--cream);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--blue);
}

.form-success p {
    color: var(--text-light);
}

.map-section {
    padding: 0;
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(40%) contrast(1.1);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

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

.footer-col h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: left;
}

.footer-logo-text span {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   PRIVACY & SITEMAP
   ============================================= */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin: 36px 0 12px;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 24px 0 8px;
}

.legal-content p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 28px;
    margin-bottom: 16px;
}

.legal-content ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 12px;
}

.sitemap-list a {
    font-size: 1.05rem;
    color: var(--blue);
    font-weight: 600;
    transition: color 0.3s ease;
}

.sitemap-list a:hover {
    color: var(--gold);
}

/* =============================================
   SKIP LINK & ACCESSIBILITY
   ============================================= */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--gold);
    color: var(--white);
    padding: 12px 24px;
    z-index: 9999;
    font-weight: 700;
    font-size: 0.9rem;
}

.skip-link:focus {
    top: 12px;
}

/* =============================================
   MOBILE NAV OVERLAY
   ============================================= */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* Honeypot field (spam prevention) */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 0;
        padding: 140px 0 80px;
    }

    .hero-bg {
        background-size: 100% auto;
        background-position: center 60px;
        background-color: var(--blue-dark);
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .intro-image img {
        height: 350px;
        object-fit: contain;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--blue-dark);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right 0.4s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.8rem;
    }

    section {
        padding: 60px 0;
    }
}
