/* ============================================
   HOSPITALITY PAGE STYLES
   ============================================ */

/* Page Header */
.page-header {
    padding: 10rem 0 5rem;
    background-color: var(--color-gray-100);
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FEATURED PROJECTS CAROUSEL
   ============================================ */
.featured-projects {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.carousel-wrapper {
    position: relative;
    margin: 0 -1rem;
}

.carousel-container {
    display: flex;
    overflow: hidden;
}

.carousel-slide {
    flex: 0 0 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    position: absolute;
    width: 100%;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.carousel-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0 1rem;
}

.carousel-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.carousel-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(34, 31, 33, 0.9) 0%,
        rgba(34, 31, 33, 0.3) 50%,
        rgba(34, 31, 33, 0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    transition: background 0.3s ease;
}

.carousel-card:hover .carousel-card-overlay {
    background: linear-gradient(
        to top,
        rgba(34, 31, 33, 0.95) 0%,
        rgba(34, 31, 33, 0.5) 60%,
        rgba(34, 31, 33, 0.2) 100%
    );
}

.carousel-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.carousel-card-year {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.carousel-card-location {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.carousel-card-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 0.75rem;
}

.carousel-card-description {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 1rem;
}

.carousel-card-scope {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.carousel-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.75rem;
    transition: all 0.3s ease;
}

.carousel-card:hover .carousel-tag {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.carousel-card-cta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.carousel-card:hover .carousel-card-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

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

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border: none;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
    /* Larger touch target */
    padding: 8px;
    box-sizing: content-box;
}

.carousel-dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--color-gold);
}

/* ============================================
   GALLERY MODAL
   ============================================ */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(34, 31, 33, 0.98);
}

.gallery-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 1rem 4rem;
}

.gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
}

.gallery-close:hover {
    color: var(--color-gold);
}

.gallery-header {
    text-align: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 0.125rem;
}

.gallery-location {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.gallery-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.gallery-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    color: var(--color-gold);
}

.gallery-nav.gallery-prev {
    left: 1.5rem;
}

.gallery-nav.gallery-next {
    right: 1.5rem;
}

.gallery-counter {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.15em;
    flex-shrink: 0;
}

/* ============================================
   TIMELINE SECTION — Angular Minimal Design
   ============================================ */
.timeline-section {
    padding: 8rem 0;
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.timeline-section .section-header {
    margin-bottom: 5rem;
}

.timeline-section .section-label {
    color: var(--color-gold);
}

.timeline-section .section-title {
    color: var(--color-light);
}

.timeline-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Angular accent line */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--color-gold) 0%,
        rgba(196, 169, 105, 0.2) 100%
    );
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:last-child {
    border-bottom: none;
}

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

/* Year marker — large angular typography */
.timeline-year {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-light);
    line-height: 1;
    position: relative;
    padding-left: 2rem;
    transition: color 0.4s ease;
}

.timeline-year::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-item:hover .timeline-year {
    color: var(--color-gold);
}

/* Content area */
.timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-location {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.timeline-description {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    max-width: 400px;
}

.timeline-scope {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.timeline-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-tag {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Gallery Button */
.timeline-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 0.3rem 0.4rem;
    background: transparent;
    border: 0.5px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.timeline-gallery-btn:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

.timeline-gallery-btn svg {
    transition: transform 0.3s ease;
}

.timeline-gallery-btn:hover svg {
    transform: translateX(3px);
}

/* Image */
.timeline-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(30%);
}

.timeline-item:hover .timeline-image img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Gold accent on hover */
.timeline-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-image::after {
    width: 100%;
}

/* Hidden elements for this design */
.timeline-details {
    display: contents;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 6rem 0;
    background: var(--color-dark);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ============================================
   ACTIVE NAV STATE
   ============================================ */
.nav-link.active {
    color: var(--color-gold) !important;
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .carousel-card-image {
        aspect-ratio: 16/10;
    }

    .carousel-card-title {
        font-size: 2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 1rem;
    }

    .carousel-next {
        right: 1rem;
    }

    .timeline-item {
        grid-template-columns: 100px 1fr;
        gap: 2rem;
    }

    .timeline-image {
        display: none;
    }

    .timeline-year {
        font-size: 2.5rem;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 7rem 0 3rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .featured-projects {
        padding: 4rem 0;
    }

    .carousel-card-image {
        aspect-ratio: 4/3;
    }

    .carousel-card-overlay {
        padding: 1.5rem;
    }

    .carousel-card-title {
        font-size: 1.5rem;
    }

    .carousel-card-description {
        font-size: 0.875rem;
        display: none;
    }

    .carousel-card-scope {
        display: none;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-prev {
        left: 0.5rem;
    }

    .carousel-next {
        right: 0.5rem;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-dots {
        margin-top: 1.5rem;
    }

    .gallery-content {
        padding: 1rem 1rem;
    }

    .gallery-title {
        font-size: 1.125rem;
    }

    .gallery-image {
        max-height: 65vh;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .gallery-nav.gallery-prev {
        left: 0.5rem;
    }

    .gallery-nav.gallery-next {
        right: 0.5rem;
    }

    .gallery-nav svg {
        width: 20px;
        height: 20px;
    }

    .gallery-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
    }

    .timeline-section {
        padding: 5rem 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem 0;
    }

    .timeline::before {
        display: none;
    }

    .timeline-year {
        font-size: 2rem;
        padding-left: 1.5rem;
    }

    .timeline-year::before {
        width: 6px;
        height: 6px;
    }

    .timeline-image {
        display: block;
        aspect-ratio: 16/9;
        order: -1;
    }

    .timeline-title {
        font-size: 1.25rem;
    }

    .timeline-description {
        font-size: 0.875rem;
    }

    .timeline-gallery-btn {
        padding: 0.5rem 1rem;
        font-size: 0.625rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 6rem 0 2.5rem;
    }

    .page-subtitle {
        font-size: 0.9375rem;
    }

    .featured-projects {
        padding: 3rem 0;
    }

    .carousel-card-overlay {
        padding: 1.25rem;
    }

    .carousel-card-title {
        font-size: 1.25rem;
    }

    .carousel-card-meta {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .carousel-card-year,
    .carousel-card-location {
        font-size: 0.6875rem;
    }

    .timeline-section {
        padding: 3rem 0;
    }

    .timeline-section .section-header {
        margin-bottom: 3rem;
    }

    .timeline-item {
        padding: 2rem 0;
    }

    .timeline-year {
        font-size: 1.75rem;
    }

    .timeline-title {
        font-size: 1.125rem;
    }

    .timeline-description {
        font-size: 0.8125rem;
        line-height: 1.7;
    }

    .timeline-scope {
        gap: 0.5rem;
    }

    .timeline-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.5625rem;
    }

    .timeline-gallery-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.5625rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .gallery-image {
        max-height: 60vh;
    }

    .gallery-header {
        margin-bottom: 0.5rem;
    }

    .gallery-title {
        font-size: 1rem;
    }
}
