/* --- Hero Layout --- */
.hero-wrap {
    position: relative;
    height: 85vh; /* Perfect desktop height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Keeps subjects in frame on wide screens */
    animation: slowZoom 20s infinite alternate ease-in-out;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(248,250,252,1));
}

/* --- Typography --- */
.editorial-title {
    font-family: 'Lora', serif;
    font-size: clamp(3rem, 8vw, 7rem); /* Fluid sizing */
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin-bottom: 2rem;
}

.italic-serif {
    font-style: italic;
    color: #1e293b;
    opacity: 0.8;
}

/* --- Bento Grid --- */
.feature-bento {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

.main-card {
    grid-column: span 2;
    grid-row: span 2;
}

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

.dark-card {
    background: #0f172a;
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
}

/* --- Animations --- */
@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.pulse-dot {
    height: 8px;
    width: 8px;
    background: #2563eb;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* --- Buttons --- */
.btn-luxe-dark {
    padding: 1.25rem 2.5rem;
    background: #0f172a;
    color: white;
    border-radius: 99px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-luxe-dark:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

/* Add a scroll indicator to your hero section */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
/* --- Staff Card Magazine Container --- */
.staff-card {
    position: relative;         /* Allows name overlay to sit at the bottom */
    width: 240px;
    height: 340px;              /* Fixed height to prevent layout breaks */
    flex-shrink: 0;
    overflow: hidden;
    filter: grayscale(100%);    /* Editorial B&W look */
    border-radius: 12px;        /* Matches boutique aesthetic */
    background: #f1f5f9;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
    margin-right: 24px;
}

.staff-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* Crops photos perfectly to the frame */
    display: block;
    transition: transform 0.8s ease;
}

/* --- Name & Role Overlay --- */
.staff-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 16px 16px;
    /* Gradient ensures white text is readable over any photo */
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    opacity: 0;                 /* Hidden by default */
    transform: translateY(20px);/* Slides up on hover */
    transition: all 0.4s ease;
}

.staff-name {
    color: #ffffff;
    font-family: 'Lora', serif; /* Magazine heading style */
    font-size: 1.25rem;
    line-height: 1.2;
}

.staff-role {
    color: var(--sky-blue);     /* Pops against the dark gradient */
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

/* --- Interaction States --- */
.staff-card:hover {
    filter: grayscale(0%);      /* Reveal color */
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    z-index: 20;                /* Sits above other cards when scaling */
}

.staff-card:hover img {
    transform: scale(1.1);      /* Subtle zoom effect */
}

.staff-card:hover .staff-info {
    opacity: 1;                 /* Fade in name */
    transform: translateY(0);   /* Slide to position */
}

/* --- Infinite Scroll Animation Fixed --- */
.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: loopCircle 20s linear infinite;
    will-change: transform;
}

@keyframes loopCircle {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1320px); /* (240 + 24) * 5 */
    }
}

/* Ensure the container doesn't show scrollbars */
.overflow-hidden {
    overflow: hidden;
}
/* Pause the whole track when hovering over any card */
.marquee-track:hover {
    animation-play-state: paused;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* --- Franchise Store Styling --- */
.store-card-shadow {
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

/* Overlapping Text Effect for Modern Feel */
.franchise-header-offset {
    margin-left: -5%;
    z-index: 10;
}

/* Sky Blue Button for Franchise in Hero */
.btn-franchise-hero {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-franchise-hero:hover {
    background-color: var(--sky-blue);
    border-color: var(--sky-blue);
    color: white;
    transform: translateY(-3px);
}
/* --- Masonry Store Grid --- */
@media (min-width: 768px) {
    .md\:row-span-2 {
        grid-row: span 2 / span 2; /* Makes the first card tall */
    }
}

.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

/* Subtle Magazine-style hover for the 6th empty card */
.border-dashed:hover h4 {
    color: var(--sky-blue);
}
/* --- Editorial Gallery Styling --- */
.font-serif {
    font-family: 'Lora', serif;
}

/* Subtle reveal for the numbers */
.group span.text-8xl {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), color 0.5s ease;
}

.group:hover span.text-8xl {
    transform: translateY(-10px);
    opacity: 1;
}

/* Maintain the Sky Blue color variable */
:root {
    --sky-blue: #87CEEB; /* Ensure this matches your specific brand blue */
}

/* Clean image borders */
.rounded-sm {
    border-radius: 4px; /* Magazines use sharper edges than apps */
}

/* Spacing between different store spreads */
.space-y-32 > * {
    margin-bottom: 8rem;
}





/* --- Contact Form Fields --- */
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
}

.contact-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-input::placeholder {
    color: #cbd5e1;
    font-style: italic;
}

.contact-input:focus {
    border-bottom-color: #87CEEB;
}

/* --- Send Button --- */
.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: #0f172a;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.contact-btn:hover {
    background: #87CEEB;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.3);
}

/* --- Social Links --- */
.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateX(6px);
}

.social-icon-wrap {
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon-wrap {
    background: #87CEEB;
    border-color: #87CEEB;
    color: white;
}
