/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.no-scroll {
    overflow: hidden;
}

::-webkit-scrollbar-button {
    display: none;
}
body::-webkit-scrollbar {
    width: 17px;
}
body::-webkit-scrollbar-track {
    background: white;
}
body::-webkit-scrollbar-thumb {
    background-color: rgb(168, 168, 168);
    border-radius: 10px;
    border: 5px solid transparent;
    background-clip: padding-box;
}
body::-webkit-scrollbar-thumb:hover {
    background-color: rgb(116, 116, 116);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: rgb(255, 254, 254);
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   2. NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: white;
    height: 120px;
    transition: all 0.7s;
}

.logo {
    padding: 30px 100px;
}

.logo a {
    text-decoration: none;
    color: black;
    display: grid; 
    align-items: center;
}

.logo-text, 
.logo-img {
    grid-area: 1 / 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: 5px;
    opacity: 1;
    visibility: visible;
}

.logo-img {
    width: 100px;
    height: 100px;
    opacity: 0;
    visibility: hidden; 
}

.navbar-scrolled {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.navbar-scrolled .logo-text {
    opacity: 0;
    visibility: hidden;
}

.navbar-scrolled .logo-img {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: black; 
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: inline-block;
    transition: transform 0.1s ease, color 0.1s ease, background-color 0.3s ease;
}

.btn-book, 
.btn-book-perm {
    border: 1px solid black;
    color: black;
    padding: 10px 25px;
    transition: 0.3s;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-right: 80px;
    text-decoration: none;
}

.btn-book:hover, 
.btn-book-perm:hover {
    background-color: black;
    color: white;
}

.btn-book-perm {
    display: none;
}

.homepage .navbar:not(.navbar-scrolled) .logo a,
.homepage .navbar:not(.navbar-scrolled) .nav-links a {
    color: white;
}

.homepage .navbar:not(.navbar-scrolled) .btn-book,
.homepage .navbar:not(.navbar-scrolled) .btn-book-perm {
    border-color: white;
    color: white;
}

.homepage .navbar:not(.navbar-scrolled) .nav-links a:hover {
    color: lightgray;
}

.homepage .navbar:not(.navbar-scrolled) .btn-book:hover,
.homepage .navbar:not(.navbar-scrolled) .btn-book-perm:hover {
    background-color: white;
    color: black !important;
}

.container .btn-book {
    margin: 0px 0px 0px 0px;
    display: inline-block; /* Add this line */
}

.menu {
    display: none;
    cursor: pointer;
    list-style: none;
    gap: 9px;
}

.homepage .navbar:not(.navbar-scrolled) .hamburger {
    background: white;
}

.hamburger {
    height: 2px;
    width: 40px;
    background: black;
    transition: background-color 0.1s ease, transform 1s ease, opacity 1s ease;
    position: relative;  
}

.menu.active li:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu.active li:nth-child(2) {
    transform: rotate(-45deg); 
    opacity: 0;
}

.menu.active li:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* =========================================
   3. SECTIONS (Hero, About, Gallery)
   ========================================= */
.hero {
    position: relative;
    height: 100vh; 
    width: 100%;
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -2; 
    pointer-events: none; 
}

.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: -1; 
}

.hero-content {
    position: relative;
    z-index: 1; 
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.about-section {
    padding: 100px 8%;
    text-align: center;
    margin-top: 20px;
}

.photogallery {
    margin-top: 150px;
    text-align: center;
}

.text-block {
    max-width: 700px;
    margin: 0 auto 80px auto;
}

.text-block h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.text-block p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1rem;
}

.subtitle {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #999;
    margin-bottom: 20px;
}

.photogallery .text-block h2 {
    font-size: 1.5rem;
}

.photogallery .subtitle {
    font-size: 0.5rem;
}

.aboutus-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
}

.aboutus-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 300px;
}

.aboutus-item img {
    width: 100%;
    height: 700px;      
    object-fit: cover; 
    display: block;    
}

.aboutus-item .text-block {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aboutus-item .text-block p {
    letter-spacing: 3px;
    line-height: 25px;
}

.discover {
    margin-top: auto;       
    margin-bottom: 10px;       
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 4px;
    text-decoration: none;
    color: black;
}

.gallery-section {
    padding: 60px 20px;
    min-height: 100vh;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; 
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px; 
    position: relative;
}

.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: lightgray;
    opacity: 0; 
    transition: opacity 0.5s ease; 
    pointer-events: none; 
    z-index: 1; 
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


#lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
}

#lightbox-modal:not(.lightbox-hidden) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 1s ease; 
    transition: opacity 0.1s ease-in-out; 
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes zoomOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.8); opacity: 0; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.lightbox-fading {
    opacity: 0;
}

.lightbox-closing {
    animation: fadeOut 1s ease forwards;
}

.lightbox-closing .lightbox-content {
    animation: zoomOut 1s ease forwards;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.close-lightbox:hover {
    color: #bbb;
}

.prev-lightbox,
.next-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    transition: 0.3s;
    z-index: 1001;
}

.prev-lightbox {
    left: 20px;
}

.next-lightbox {
    right: 20px;
}


/* =========================================
   4. FOOTER
   ========================================= */

.fading-divider {
    border: 0; 
    height: 2px; 
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0),black, rgba(0, 0, 0, 0));
    margin-bottom: 70px;
    margin-top: 70px;
    width: 100%; 
}
   
.site-footer {
    font-size: 0.7rem;
    padding: 100px 8%;
    text-align: center;
    background-color: #f5fbfc;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 70px;
    margin-top: 20px;
}

.footer-column {
    flex: 1;
    margin-bottom: 40px;
}

.logo-column {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-logo {
    width: 200px; 
    height: auto;
}

.links-column {
    text-align: left;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 4px;
    margin-bottom: 35px;
    font-weight: 400;
    text-transform: uppercase;
    color: black;
    font-weight: bold;
}

.links-column ul {
    list-style: none;
    padding: 0;
}

.links-column li {
    margin-bottom: 18px;
}

.links-column a {
    text-decoration: none;
    color: #555;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.links-column a:hover {
    color: black;
}

.contact-column {
    text-align: right;
}

.social-text, 
.subscribe-text {
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #555;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icons a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #333;
    letter-spacing: 1px;
}

.footer-bottom strong {
    font-weight: 600;
    color: black;
}

.developer {
    text-decoration: none !important;
    color: black;
    font-weight: bolder;
    transition: 0.3s;
}

/* =========================================
   5. LANGUAGE SELECT MENU
   ========================================= */
.lang-menu {
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative; 
    display: inline-block;
    align-items: center;
    transform: translateY(1px);
}

.current-lang {
    color: black;
    margin-right: 10px;
}

.lang-list {
    position: absolute;
    background-color: white;
    list-style: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0; 
    margin: 0;
    top: 100%;
    left: 50%;
    transform: translateX(calc(-50% - 10px)) translateY(10px); 
    text-align: center;
}

.lang-list.show-lang {
    opacity: 1;
    visibility: visible;
    transform: translateX(calc(-50% - 10px)) translateY(10px); 
}

.lang-list li {
    margin-left: 0 !important; 
    padding: 0;
}

.lang-list li a {
    display: block;
    padding: 10px 15px;
    color: black !important;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.lang-list li a:hover {
    background-color: #f0f0f0;
}

.homepage .navbar:not(.navbar-scrolled) .current-lang {
    color: white;
}

/* =========================================
   6. FADE ANIMATIONS
   ========================================= */
.fadeIn {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.fadeInUp {
    opacity: 0;
    transform: translateY(120px); 
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fadeInDown {
    opacity: 0;
    transform: translateY(-120px); 
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fadeIn.is-visible,
.fadeInUp.is-visible,
.fadeInDown.is-visible {
    opacity: 1;
    transform: translateY(0); 
}

.navbar.fadeIn {
    transition: all 0.7s, opacity 1.5s ease-out !important;
}

/* =========================================
   7. MEDIA QUERIES
   ========================================= */
@media (min-width: 1200px) {
    .logo-img {
        margin-left: 65px;
    }

    .links-column {
        padding-left: 200px;
    }
}

@media (min-width: 1052px) and (max-width: 1600px) {
    .aboutus-grid {
        grid-template-columns: 2fr 1fr;
    }
    .aboutus-item .text-block p {
        letter-spacing: 2.5px;
        line-height: 23px;
    }
    .aboutus-grid2 .aboutus-item img {
        height: 500px;
    }
}

@media (min-width: 1052px) and (max-width: 1200px) {
    .navbar { height: 100px; }
    .logo { padding: 30px 70px; }
    .logo-img { margin-left: 70px; width: 80px; height: 80px; }
    .nav-links { padding: 30px 0px; }
    .nav-links li { margin-left: 20px; }
    .links-column {
        padding-left: 100px;
    }
}

@media (max-width: 1051px) {
    .navbar { height: 100px; }
    .menu { display: flex; flex-direction: column; }
    .nav-links {
        display: flex;
        position: absolute;
        top: 100px;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 0 40px;
        height: calc(100vh - 100px);
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        opacity: 0;
        visibility: hidden;
        clip-path: inset(0 0 100% 0);
        transition: all 0.7s ease-in-out;
    }
    .nav-links.open {
        opacity: 1;
        visibility: visible;
        clip-path: inset(0 0 0 0);
    }
    .nav-links li { margin-left: 0; margin-bottom: 0; }
    .nav-links a { color: #333; }
    .nav-links.open .btn-book:hover { color: white; }
    .btn-book { margin: 0; }
    .aboutus-grid { 
        grid-template-columns: 1fr; 
        gap: 30px;
        margin-top: 100px;
    }
    .aboutus-grid2 {
        grid-template-columns: 1fr;
        gap: 30px !important;
    }
    .text-block {
        margin-bottom: 0px;
    }

    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
    }

    .current-lang {
        margin-left: 20px;
    }
    .lang-list {
        margin-left: 10;

    }
    
    .lang-list.show-lang {
        margin-left: 10px;
    }
    .links-column {
        padding-left: 70px;
    }
}

@media (max-width: 750px){
    .footer-top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        gap: 20px;
    }

    .links-column {
        padding-left: 0; 
        margin-left: 0;
        text-align: center;
    }

    .contact-column {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
    
    .footer-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .site-footer {
        padding: 50px;
    }

    .fading-divider {
        margin-top: 0px;
        margin-bottom: 0px;
        width: 100%;
    }

    .footer-column img {
        width: 150px;
        height: 150px;
        margin-top: 20px;
        padding: 0px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 40px !important;
        gap: 10px;
    }

    .aboutus-grid2 {
        margin-top: 150px;
    }

    .container h2 {
        font-size: 1.8rem; 
    }

    .text-block p {
        font-size: 1rem;
    }

    .discover {
        font-size: 0.9rem;
    }
    
}

@media (min-width: 641px) and (max-width: 1051px) {
    .menu { margin-left: 40px; }
    .logo { padding: 30px 60px; }
    .logo-text { margin-left: 83px; font-size: 1.2rem; letter-spacing: 3px; align-self: center; }
    .logo-img { margin-left: 118px; align-self: center; }
    .btn-book-perm { display: inline-block; padding: 10px 12px; margin-right: 40px; }
    .aboutus-item img{
        height: 650px;
    }
    .discover {
        margin-top: 30px;
        padding-bottom: 30px;    
    }

    .nav-links .btn-book {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 640px) {
    .menu { margin-left: 20px; }
    .logo { padding: 30px 30px; }
    .logo-text { font-size: 1.0rem; letter-spacing: 3px; align-self: center; margin-left: 60px; }
    .logo-img { margin-left: 85px; align-self: center; }
    .btn-book-perm { display: inline-block; padding: 10px 5px; margin-right: 20px; font-size: 0.6rem; }
    .hamburger { width: 30px; }
    .aboutus-item img {
        height: 500px;
    }
    .hero-content h1 {font-size: 3rem;}
    .hero-content p {font-size: 0.8rem;}
    .nav-links .btn-book {
        display: none;
    }
}

@media (max-width: 479px) {
    .navbar { height: 85px; }
    .menu { margin-left: 25px; gap: 6px; }
    
    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0; 
    }
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 2px;
        align-self: center;
        margin-left: 3px; 
        text-align: center;
    }
    .logo-img {
        align-self: center;
        width: 80px;
        height: 80px;
        margin-left: 25px;
    }

    .nav-links {
        top: 85px;
        height: calc(100vh - 85px);
    }

    .hamburger {
        width: 21px;
        height: 2px;
    }
    .menu.active li:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu.active li:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero-content h1 {font-size: 2rem;}
    .hero-content p {font-size: 0.6rem;}
    .aboutus-item img {
        height: 400px;
    }
    .text-block p {
        font-size: 0.9rem;
    }
    .container h2 {
        font-size: 1.6rem; 
    }
    .discover {
        margin-top: 10px;       
    }

    .site-footer {
        min-height: calc(100vh - 85px) !important;
        padding: 0px 8% !important;
    }

    .footer-column img {
        width: 120px;
        height: 120px;
        margin-top: 20px;
        padding: 0px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 40px !important;
        gap: 10px;
        padding-bottom: 40px;
    }
}

@media (hover: hover) {
    .menu:hover .hamburger { background-color: lightgray; }
    .nav-links a:not(.btn-book):hover, .logo-text:hover, .discover:hover, .homepage .navbar:not(.navbar-scrolled) .current-lang:hover, .current-lang:hover, .developer:hover {
        color: lightgray !important;
    }
    
    .prev-lightbox:hover,
    .next-lightbox:hover {
        color: #bbb;
    }
    
    .gallery-item:hover::after {
        opacity: 0.4; 
    }

    .fa-brands:hover {
        color: lightgray !important;
        transition: 0.3s;
    }

    .phone:hover {
        color: black;
    }
}