@import url('https://fonts.googleapis.com/css2?family=Afacad:wght@400;500;600;700&display=swap');

:root {
    --primary-gold: #DDC39D;
    --primary-dark: #1B3330;
    --dark-gradient-top: linear-gradient(180deg, black 0%, #3F1E1E 100%);
    --dark-gradient-bottom: linear-gradient(180deg, #1B3330 0%, #3F1E1E 100%);
    --dark-gradient-gallery: linear-gradient(180deg, #260e0e                                                                                                                                                                                                                                                                                                                     0%, #3F1E1E 100%);
}

body {
    font-family: 'Afacad', sans-serif;
    background-color: #000;
    color: var(--primary-gold);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-gold);
    font-weight: 400;
}

p {
    color: var(--primary-gold);
    font-size: 1.25rem; /* ~20px for mobile, will adjust for desktop */
    line-height: 1.6;
}

@media (min-width: 992px) {
    p {
        font-size: 30px;
        line-height: 50px;
    }
}

/* Navbar */
.navbar {
    background: transparent !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
    z-index: 1000;
}

.navbar-brand {
    /* Logo is now in navbar */
    margin-right: 1rem;
}

.nav-link {
    color: var(--primary-gold) !important;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: none;
    margin-right: 1.5rem;
}

@media (min-width: 1400px) {
    .nav-link {
        font-size: 1.25rem;
        line-height: 1.5;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1.5rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
    }
}

.btn-menu {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
    font-size: 1.2rem;
    padding: 0.5rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-menu:hover {
    background: rgba(221, 195, 157, 0.1);
    color: var(--primary-gold);
}

.btn-reservation {
    background: var(--primary-gold);
    color: var(--primary-dark);
    font-size: 1.2rem;
    padding: 0.5rem 2rem;
    border: 1px solid var(--primary-gold);
    border-radius: 0;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.btn-reservation:hover {
    background: transparent;
    color: var(--primary-gold);
}

@media (min-width: 1400px) {
    .btn-menu, .btn-reservation {
        font-size: 1.25rem;
        line-height: 1.5;
        height: auto;
        padding: 0.75rem 2rem;
        width: auto;
        min-width: 160px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--dark-gradient-top);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 150px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, black 100%); */
    z-index: 1;
}

.hero-content {
    z-index: 2;
    text-align: center;
    margin-top: 5rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6; /* Adjust visibility */
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

/* About Section */
.about-section {
    background: black;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.about-text {
    font-size: 30px;
    line-height: 50px;
    text-align: justify;
    hyphens: auto;
}

/* CEO Section */
.ceo-section {
    background: var(--dark-gradient-top); /* Matches gradient */
    position: relative;
    padding: 150px 0;
}

.ceo-title {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 0;
}

.ceo-subtitle {
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 0;
}

.ceo-role {
    font-weight: 700;
}

/* Locations */
.locations-section {
    background: black; /* Visual continuity */
    padding: 100px 0;
}

.section-title {
    font-size: 60px;
    line-height: 50px;
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.location-card {
    background: transparent;
    border: none;
    margin-bottom: 3rem;
}

.location-card img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.location-address {
    font-size: 30px;
    line-height: 50px;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.btn-map {
    display: inline-flex;
    align-items: center;
    color: var(--primary-gold);
    font-size: 30px;
    line-height: 50px;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.btn-map:hover {
    color: var(--primary-gold);
}

.btn-map::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px; /* Offset for icon */
    width: calc(100% - 40px);
    height: 1px;
    background-color: var(--primary-gold);
}

.map-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.map-icon-square {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid var(--primary-gold);
}

.map-icon-square:nth-child(1) {
    top: 0;
    left: 10px;
}

.map-icon-square:nth-child(2) {
    top: 10px;
    left: 0;
}

/* Gallery */
.gallery-section {
    /* background: var(--dark-gradient-bottom); */
    background: var(--dark-gradient-gallery);
    padding: 100px 0;
}

.gallery-subtitle {
    max-width: 820px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.gallery-grid {
    align-items: stretch;
}

.gallery-item {
    position: relative;
    width: 100%;
    border: none;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    text-align: inherit;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 6px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%); */
    background: linear-gradient-gallery(180deg, rgba(171, 139, 139, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-view {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.35);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.gallery-item:hover .gallery-image,
.gallery-item:focus-visible .gallery-image {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
}

.gallery-modal .modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 18px;
}

.gallery-modal .modal-header {
    border: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

.gallery-modal .modal-title {
    color: var(--primary-gold);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
}

.gallery-modal .modal-body {
    padding: 0 1.5rem 1.5rem;
}

.ratio-3x4 {
    --bs-aspect-ratio: 133.3333%;
}

@media (min-width: 992px) {
    .gallery-subtitle {
        font-size: 1.35rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-section {
        padding: 80px 0;
    }

    .gallery-view {
        font-size: 0.85rem;
        padding: 0.55rem 1.2rem;
    }
}

/* RTL Adjustments */
[dir="rtl"] .nav-link {
    margin-right: 0;
    margin-left: 2rem;
}

[dir="rtl"] .btn-reservation {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .about-text, [dir="rtl"] .ceo-text {
    text-align: justify;
}

[dir="rtl"] .btn-map::after {
    left: auto;
    right: 40px;
}

[dir="rtl"] .map-icon {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .map-icon-square:nth-child(1) {
    left: auto;
    right: 10px;
}

[dir="rtl"] .map-icon-square:nth-child(2) {
    left: auto;
    right: 0;
}

/* Journey Timeline Section */
.journey-section {
    background: black;
    padding: 150px 0;
}

.journey-subtitle {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 3rem;
    text-align: justify;
    hyphens: auto;
}

.journey-region {
    margin-bottom: 80px;
}

.region-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 3rem;
    font-weight: 500;
}

.timeline {
    position: relative;
    padding-left: 60px;
}

[dir="rtl"] .timeline {
    padding-left: 0;
    padding-right: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gold);
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 15px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    left: -52px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 3px solid black;
}

[dir="rtl"] .timeline-marker {
    left: auto;
    right: -52px;
}

.timeline-content {
    padding-left: 20px;
}

[dir="rtl"] .timeline-content {
    padding-left: 0;
    padding-right: 20px;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.timeline-location {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.timeline-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--primary-gold);
    text-align: justify;
    hyphens: auto;
}

@media (min-width: 992px) {
    .timeline-description {
        font-size: 30px;
        line-height: 50px;
    }
}

/* Press Section */
.press-section {
    background: var(--dark-gradient-top);
    padding: 150px 0;
}

.press-card {
    background: rgba(221, 195, 157, 0.05);
    border: 1px solid rgba(221, 195, 157, 0.2);
    padding: 3rem;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.press-card:hover {
    background: rgba(221, 195, 157, 0.08);
    border-color: rgba(221, 195, 157, 0.3);
    transform: translateY(-5px);
}

.press-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.press-card-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    flex-grow: 1;
}

@media (min-width: 992px) {
    .press-card-description {
        font-size: 1.25rem;
        line-height: 2;
    }
}

.btn-press {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
}

.btn-press:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* Contact Section */
.contact-section {
    background: black;
    padding: 150px 0;
}

.contact-card {
    background: rgba(221, 195, 157, 0.05);
    border: 1px solid rgba(221, 195, 157, 0.2);
    padding: 4rem 3rem;
    border-radius: 8px;
}

.contact-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.contact-link {
    font-size: 1.5rem;
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.contact-link:hover::after {
    transform: scaleX(1);
}

/* Reservation Section */
.reservation-section {
    background: var(--dark-gradient-bottom);
    padding: 150px 0;
}

.reservation-subtitle {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.btn-reservation-large {
    background: var(--primary-gold);
    color: var(--primary-dark);
    font-size: 1.5rem;
    padding: 1rem 3rem;
    border: 2px solid var(--primary-gold);
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-reservation-large:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(221, 195, 157, 0.3);
}

/* Footer Section */
.footer-section {
    background: black;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(221, 195, 157, 0.2);
}

.footer-section p {
    font-size: 1rem;
    color: rgba(221, 195, 157, 0.7);
}

/* Responsive adjustments for new sections */
@media (max-width: 991.98px) {
    .journey-section,
    .press-section,
    .contact-section,
    .reservation-section {
        padding: 80px 0;
    }
    
    .region-title {
        font-size: 2rem;
    }
    
    .timeline-year {
        font-size: 1.5rem;
    }
    
    .timeline-location {
        font-size: 1.3rem;
    }
    
    .press-card {
        padding: 2rem;
    }
    
    .press-card-title {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 3rem 2rem;
    }
    
    .contact-heading {
        font-size: 1.5rem;
    }
    
    .contact-link {
        font-size: 1.2rem;
    }
}
