/**
 * /assets/css/main.css
 *
 * Main theme styles for Rara Avis website
 * Contains common variables, base styles, and reusable components
 */

/* ========================================
   CSS VARIABLES (Theme)
   ======================================== */
:root {
    --void: #020204;
    --cream: #f8f6f1;
    --gold: #d4af37;
    --gold-dim: rgba(212, 175, 55, 0.15);
    --muted: rgba(248, 246, 241, 0.4);
}

/* ========================================
   BASE RESET & BODY
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    /* overflow-x only on body, not here — setting it on both html+body
       makes iOS Safari use body as the scroll container, causing a gap
       after the footer on every page. */
    overflow-x: clip;
}

body {
    background-color: var(--void);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    /* clip instead of hidden — 'hidden' creates a BFC making body the
       iOS scroll container, which adds a gap below the footer */
    overflow-x: clip;
    cursor: none;
}

.font-display { font-family: 'Cormorant Garamond', serif; }

::selection {
    background: var(--gold);
    color: var(--void);
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.8);
}

.cursor-ring.view {
    width: 80px;
    height: 80px;
    background: rgba(248, 246, 241, 0.9);
    border: none;
    mix-blend-mode: normal;
}

.cursor-ring.view::after {
    content: 'VIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--void);
    font-weight: 500;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-ring, .cursor-dot { display: none; }
    body { cursor: auto; }
}

/* ========================================
   GOLDEN THREAD
   ======================================== */
.golden-thread-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    mix-blend-mode: screen;
}

.thread-path {
    fill: none;
    stroke: url(#goldGradient);
    stroke-width: 1.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

@media (max-width: 768px) {
    .golden-thread-svg { opacity: 0.6; }
    .thread-path { stroke-width: 1; }
}

/* ========================================
   HEADER BAR (Logo + Nav wrapper)
   ======================================== */
.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Removed: transform: translateZ(0) and will-change: transform
       These force a GPU compositing layer on a position:fixed element.
       On iOS WebKit this causes the scroll container height to extend
       beyond the footer, creating a large gap at the bottom of every page. */
}

.header-bar.scrolled {
    background: rgba(2, 2, 4, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

@media (max-width: 768px) {
    .header-bar {
        padding: 1rem 1.5rem;
    }
}

.logo-fixed {
    text-decoration: none;
    transition: opacity 0.3s, transform 0.3s;
}

.logo-fixed:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.nav-island {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(2, 2, 4, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-bar.scrolled .nav-island {
    background: rgba(2, 2, 4, 0.3);
    border-color: rgba(212, 175, 55, 0.1);
}

.nav-island:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(2, 2, 4, 0.7);
}

/* Compass - HOVER ONLY rotation */
.nav-compass {
    color: var(--gold);
    width: 20px;
    height: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-island:hover .nav-compass {
    transform: rotate(360deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    max-width: 500px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.nav-link:hover { opacity: 1; color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* Mobile: Compass toggle - vertical expansion */
@media (max-width: 768px) {
    .header-bar {
        align-items: flex-start;
    }
    .nav-island {
        padding: 0.6rem;
        flex-direction: column;
        border-radius: 1rem;
    }
    .nav-compass {
        cursor: pointer;
        width: 22px;
        height: 22px;
    }
    .nav-links {
        flex-direction: column;
        gap: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    margin 0.4s ease,
                    padding 0.4s ease;
        margin-top: 0;
        padding: 0;
    }
    .nav-island.active {
        padding: 1rem 1.5rem;
        border-radius: 1.5rem;
        border-color: rgba(212, 175, 55, 0.3);
        background: rgba(2, 2, 4, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    .nav-island.active .nav-links {
        max-height: 300px;
        opacity: 1;
        margin-top: 1rem;
        padding-top: 0.5rem;
    }
    /* Rotation driven by JS (compass.style.transform) — not CSS state */
    .nav-island:hover .nav-compass {
        transform: none; /* suppress sticky-hover rotation on touch devices */
    }
    .nav-link {
        padding: 0.6rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(248, 246, 241, 0.05);
    }
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Hide compass on desktop (links always visible) */
@media (min-width: 769px) {
    .nav-compass { display: none; }
}

/* ========================================
   SECTIONS
   ======================================== */
.section-luxury { padding: 10rem 8vw; position: relative; }
.section-medium { padding: 7rem 8vw; }
.section-small { padding: 5rem 8vw; }

@media (max-width: 768px) {
    .section-luxury { padding: 7rem 6vw; }
    .section-medium { padding: 5rem 6vw; }
}

/* ========================================
   CURTAIN REVEAL
   ======================================== */
.curtain-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.curtain-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--void);
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
    border-radius: 1rem;
}

.curtain-wrap.revealed::after {
    transform: translateY(-101%);
}

.img-scale {
    transform: scale(1.15);
    transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.curtain-wrap.revealed .img-scale {
    transform: scale(1);
}

/* ========================================
   GRIDS & LAYOUTS
   ======================================== */
.grid-luxury {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .grid-luxury { grid-template-columns: 1fr; gap: 6rem; }
}

/* ========================================
   LINE ACCENTS & BUTTONS
   ======================================== */
.line-accent {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin: 3rem 0;
}

.btn-magnetic {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 100px;
    color: var(--cream);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: color 0.4s, border-color 0.4s;
}

.btn-magnetic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-magnetic:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-magnetic:hover {
    color: var(--void);
    border-color: var(--gold);
}

.btn-elegant {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    color: var(--cream);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-elegant::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}

.btn-elegant:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-elegant:hover {
    padding-left: 1rem;
    color: var(--gold);
}

/* ========================================
   FORM INPUTS
   ======================================== */
.input-luxury {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(248, 246, 241, 0.15);
    padding: 2rem 0;
    font-size: 1.25rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--cream);
    outline: none;
    transition: all 0.4s ease;
}

.input-luxury:focus {
    border-bottom-color: var(--gold);
    padding-left: 1rem;
}

.input-luxury::placeholder {
    color: rgba(248, 246, 241, 0.25);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal-up {
    /* initial hidden state set by JS (gsap.set) for SEO —
       content stays visible if JS fails or Google's renderer
       doesn't trigger ScrollTrigger */
}

/* Unified staggered animation for Specs and Heritage */
.spec-item,
.heritage-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-item.visible,
.heritage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays applied via CSS */
.spec-item:nth-child(1), .heritage-item:nth-child(1) { transition-delay: 0s; }
.spec-item:nth-child(2), .heritage-item:nth-child(2) { transition-delay: 0.12s; }
.spec-item:nth-child(3), .heritage-item:nth-child(3) { transition-delay: 0.24s; }
.spec-item:nth-child(4) { transition-delay: 0.36s; }

/* ========================================
   GALLERY ANIMATIONS
   ======================================== */
.gallery-item {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.4s; }

/* Gallery caption slide-up effect */
.gallery-caption {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s,
                transform 0.6s ease 0.3s;
}

.gallery-item.visible .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   EXPERIENCE ANIMATIONS
   ======================================== */
.experience-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.experience-item:nth-child(1) { transition-delay: 0.1s; }
.experience-item:nth-child(2) { transition-delay: 0.25s; }
.experience-item:nth-child(3) { transition-delay: 0.4s; }

/* Service line expand animation */
.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-item.visible::before {
    width: 100%;
}

/* ========================================
   GRAIN OVERLAY
   ======================================== */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 90;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================================
   QUOTE STYLING
   ======================================== */
.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-style: italic;
    line-height: 1.4;
    font-weight: 300;
}

/* ========================================
   TYPOGRAPHY HELPERS
   ======================================== */
.text-editorial {
    font-size: clamp(3.5rem, 10vw, 10rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    font-weight: 300;
}

.text-label {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
}

.diamond {
    font-size: 1.5rem;
    line-height: 4rem;
    color: var(--gold);
    opacity: 0.3;
}

/* ========================================
   GALLERY LAYOUTS
   ======================================== */
.gallery-luxury {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem 5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gal-1 { grid-column: 1 / 7; }
.gal-2 { grid-column: 8 / 13; margin-top: 12rem; }
.gal-3 { grid-column: 3 / 11; margin-top: 6rem; }
.gal-4 { grid-column: 7 / 13; margin-top: 6rem; }

@media (max-width: 768px) {
    .gallery-luxury { display: flex; flex-direction: column; gap: 5rem; }
    .gallery-luxury > div { margin-top: 0 !important; }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2, 2, 4, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-out;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-lightbox.active .lightbox-image {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

/* Gallery image hover for expand hint */
.gallery-image-wrap {
    cursor: pointer;
    position: relative;
}

.gallery-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 4, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-image-wrap:hover::after {
    background: rgba(2, 2, 4, 0.1);
}

/* ========================================
   PAGE HERO COMPONENT
   ======================================== */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0 8vw 4rem;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 2, 4, 1) 0%,
        rgba(20, 18, 15, 0.95) 50%,
        rgba(2, 2, 4, 1) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

@media (max-width: 768px) {
    .page-hero {
        height: auto;
        min-height: auto;
        padding: 6rem 6vw 3rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer-main {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 6rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8vw;
}

/* Brand Section */
.footer-brand {
    text-align: center;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 3.5rem;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    opacity: 1;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

/* Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Footer Headings */
.footer-heading {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Navigation Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Contact Links */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--gold);
}

.footer-contact-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--gold);
    opacity: 0.7;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.5);
    transition: stroke 0.3s ease;
}

.footer-social-link:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.footer-social-link:hover svg {
    stroke: var(--gold);
}

/* Info Items */
.footer-info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-info-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
}

.footer-info-value {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Availability Status */
.footer-availability {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.availability-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

.availability-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.footer-cta:hover {
    border-bottom-color: var(--gold);
}

.footer-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.footer-cta:hover svg {
    transform: translateX(4px);
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
}

.footer-craft {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}
