/* =========================================
   INDEX PAGE SPECIFIC STYLES
   ========================================= */

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.hero-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    height: 70vh;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-smooth);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.04);
}

/* === GALLERY SECTION === */
.gallery-section {
    padding-bottom: 6rem;
    /* More breathing room */
}

.gallery-category-header {
    text-align: center !important;
    /* Force Center */
    margin-bottom: 3rem !important;
    border-bottom: none !important;
    /* Remove plain border */
    position: relative;
    padding-bottom: 1.5rem !important;
}

.gallery-category-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--text-accent);
    /* Gold accent line */
}

.gallery-category-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem !important;
    color: var(--text-white);
    letter-spacing: 0.05em;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    grid-auto-rows: 280px;
    /* Reduced from 400px */
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    /* Sharp corners for premium feel */
    cursor: pointer;
}

.gallery-item::after {
    /* Inner Border Effect on Hover */
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease, inset 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
    inset: 1.5rem;
    /* Shrinks inwards */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    /* Cinematic ease */
    filter: brightness(0.85) grayscale(20%);
    /* Artistic desaturation */
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(1) grayscale(0%);
}

/* DESKTOP LAYOUT (Bento Style) */
.gallery-item-1 {
    grid-column: span 2;
    /* Half Width */
    grid-row: span 1;
}

.gallery-item-2 {
    grid-column: span 1;
    /* Quarter Width */
    grid-row: span 1;
}

.gallery-item-3 {
    grid-column: span 1;
    /* Quarter Width */
    grid-row: span 1;
}

.gallery-item-4 {
    grid-column: span 2;
    /* Half Width */
    grid-row: span 1;
}

.gallery-item-5 {
    grid-column: span 2;
    /* Half Width */
    grid-row: span 1;
}


/* TABLET & MOBILE RESPONSIVE */
@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 Columns */
        grid-auto-rows: 250px;
        gap: 1rem;
    }

    .gallery-item {
        grid-column: auto !important;
        /* Reset spans */
        grid-row: auto !important;
    }

    /* Make the first visual (Interior) full width on tablet */
    .gallery-item-1 {
        grid-column: span 2 !important;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* 1 Column Stack */
        grid-auto-rows: 300px;
    }

    .gallery-item-1 {
        grid-column: span 1 !important;
    }
}

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.8rem 1.5rem;
    border: none;
}

/* === INFO CARDS === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 3.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    transition: all 0.5s var(--ease-smooth);
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-accent);
    transition: width 0.5s var(--ease-smooth);
}

.info-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-medium);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.info-card:hover::before {
    width: 100%;
}

.card-num {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.info-card h3 {
    color: var(--text-accent);
    margin-bottom: 1.25rem;
}

.info-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* === HOURS SECTION === */
.hours-section {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4rem, 8vw, 8rem);
    align-items: center;
}

.hours-content h2 {
    margin-bottom: 2rem;
}

.hours-content p {
    margin-bottom: 2.5rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1.05rem;
    color: var(--text-gray);
    transition: all 0.3s;
}

.hours-list li:hover {
    padding-left: 10px;
    color: var(--text-white);
}

.hours-list span {
    color: var(--text-accent);
    font-weight: 500;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {

    .hero-grid,
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image-wrapper {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
}