/* ============================================================
   PAGES.CSS — Kings Court Hotel
   Homepage-specific section styles
   ============================================================ */

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg img,
.hero__bg .hero__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
    animation: heroZoom 12s ease-out forwards;
}

/* Hero background video */
.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__video--mobile {
    display: none;
}

.hero__video--desktop {
    display: block;
}

/* Hide the static poster image by default (video is playing) */
.hero__poster {
    display: none;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.0);
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        /* Radial warm spotlight — draws eye to center content */
        radial-gradient(ellipse at 50% 45%,
            rgba(194, 164, 94, 0.08) 0%,
            transparent 65%),
        /* Main cinematic gradient — deep teal/navy tones */
        linear-gradient(to bottom,
            rgba(10, 25, 30, 0.50) 0%,
            rgba(12, 28, 25, 0.35) 30%,
            rgba(15, 30, 22, 0.40) 55%,
            rgba(10, 20, 18, 0.70) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--space-md);
    max-width: 900px;
    animation: heroFadeUp 1.2s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__eyebrow {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--clr-gold);
    display: block;
    margin-bottom: 0.5rem;
    animation: heroFadeUp 1.2s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 400;
    color: var(--clr-cream);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: heroFadeUp 1.2s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero__subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(245, 241, 232, 0.85);
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
    animation: heroFadeUp 1.2s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.hero__ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: heroFadeUp 1.2s ease forwards;
    animation-delay: 1.1s;
    opacity: 0;
}

/* Make buttons transparent on the hero page */
.hero__ctas .btn {
    background: transparent !important;
    border: 1px solid var(--clr-gold) !important;
    color: var(--clr-cream) !important;
    backdrop-filter: blur(2px);
}

.hero__ctas .btn:hover {
    background: rgba(194, 164, 94, 0.15) !important;
    border-color: var(--clr-cream) !important;
}

/* Booking bar wrapper in hero */
.hero__booking {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(20%);
    width: 90%;
    max-width: 900px;
    z-index: 3;
    animation: heroFadeUp 1.2s ease forwards;
    animation-delay: 1.3s;
    opacity: 0;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 241, 232, 0.6);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: heroFadeUp 1.2s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--clr-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

/* ══════════════════════════════════════════
   INTRO / ABOUT STRIP
   ══════════════════════════════════════════ */
.intro-section {
    padding: calc(var(--space-xl) + 3rem) 0 var(--space-xl);
    background: var(--clr-cream-light);
}

.intro-section__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.intro-section__image-wrap {
    position: relative;
}

.intro-section__image-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

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

.intro-section__image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--clr-cream-light);
}

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

.intro-section__badge {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    background: var(--clr-gold);
    color: var(--clr-forest-dark);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.intro-section__badge-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.intro-section__badge-text {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
}

.intro-section__content {
    padding-left: var(--space-md);
}

.intro-section__content h2 {
    margin-bottom: 1.25rem;
}

.intro-section__content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.intro-section__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.intro-feature__icon {
    color: var(--clr-gold);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.intro-feature__text {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    font-weight: 400;
}

/* ══════════════════════════════════════════
   ROOMS SECTION
   ══════════════════════════════════════════ */
.rooms-section {
    background: var(--clr-cream);
    padding: var(--space-xl) 0;
}

/* ══════════════════════════════════════════
   WEDDINGS SECTION
   ══════════════════════════════════════════ */
.weddings-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.weddings-section__bg {
    position: absolute;
    inset: 0;
}

.weddings-section__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.weddings-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(15, 30, 22, 0.92) 0%,
            rgba(15, 30, 22, 0.7) 50%,
            rgba(15, 30, 22, 0.3) 100%);
}

.weddings-section__content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: var(--space-xl) 0;
}

.weddings-section__content h2 {
    color: var(--clr-cream);
    margin-bottom: 1.25rem;
}

.weddings-section__content p {
    color: rgba(245, 241, 232, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.weddings-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.weddings-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(245, 241, 232, 0.85);
    font-size: 0.9rem;
}

.weddings-feature::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--clr-gold);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   DINING SECTION
   ══════════════════════════════════════════ */
.dining-section {
    background: var(--clr-forest);
    padding: var(--space-xl) 0;
}

.dining-section__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.dining-section__image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}

.dining-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.dining-section__image:hover img {
    transform: scale(1.04);
}

.dining-section__content {
    padding-left: var(--space-md);
}

.dining-section__content h2 {
    color: var(--clr-cream);
    margin-bottom: 1.25rem;
}

.dining-section__content p {
    color: rgba(245, 241, 232, 0.75);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.dining-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.dining-highlight {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(194, 164, 94, 0.2);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.dining-highlight__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.dining-highlight__title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--clr-cream);
    margin-bottom: 0.25rem;
}

.dining-highlight__text {
    font-size: 0.82rem;
    color: rgba(245, 241, 232, 0.55);
    line-height: 1.6;
}

/* ══════════════════════════════════════════
   TESTIMONIALS SECTION
   ══════════════════════════════════════════ */
.testimonials-section {
    background: var(--clr-cream-light);
    padding: var(--space-xl) 0;
}

/* ══════════════════════════════════════════
   LOCATION SECTION
   ══════════════════════════════════════════ */
.location-section {
    background: var(--clr-cream);
    padding: var(--space-xl) 0;
}

.location-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.location-section__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    background: var(--clr-cream-dark);
    position: relative;
}

.location-section__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-section__info h2 {
    margin-bottom: 1.25rem;
}

.location-section__info p {
    margin-bottom: 1.5rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--clr-cream-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--clr-gold);
}

.location-detail__icon {
    color: var(--clr-gold);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.location-detail__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-gold);
    display: block;
    margin-bottom: 0.2rem;
}

.location-detail__value {
    font-size: 0.9rem;
    color: var(--clr-text);
}

/* ══════════════════════════════════════════
   OFFERS / SPECIAL SECTION
   ══════════════════════════════════════════ */
.offers-strip {
    background: var(--clr-gold);
    padding: var(--space-lg) 0;
}

.offers-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.offers-strip__text h3 {
    color: var(--clr-forest-dark);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.offers-strip__text p {
    color: rgba(31, 58, 46, 0.75);
    font-size: 0.95rem;
}

/* ══════════════════════════════════════════
   SHARED PAGE HERO (Moved from gallery-page.css)
   ══════════════════════════════════════════ */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--clr-cream);
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 30, 22, 0.4) 0%,
            rgba(15, 30, 22, 0.6) 100%);
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-md);
    width: 100%;
    max-width: 900px;
}

.page-hero__eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.page-hero .page-hero__title,
.page-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--clr-cream) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero__divider {
    font-size: 1.25rem;
    color: var(--clr-gold);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0.9;
}

.page-hero__divider::before,
.page-hero__divider::after {
    content: '';
    height: 1px;
    width: 40px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

.page-hero__text {
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.7;
    color: rgba(245, 241, 232, 0.95);
    font-weight: 300;
}

@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 350px;
    }

    .page-hero__divider::before,
    .page-hero__divider::after {
        width: 30px;
    }
}