/* =========================================================
   ROHIT GROUP - CLEAN RESPONSIVE HEADER
   ========================================================= */

:root {
    --rg-gold: #C8A45D;
    --rg-black: #0A0A0A;
    --rg-white: #FFFFFF;
}


/* =========================================================
   GLOBAL HEADER SAFETY
   ========================================================= */

.rg-header,
.rg-header *,
.rg-header *::before,
.rg-header *::after {
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.rg-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1030;

    background: transparent;

    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}


/* =========================================================
   HEADER INNER
   ========================================================= */

.rg-header-inner {
    width: 100%;

    max-width: 1440px;

    margin: 0 auto;

    padding: 0 32px;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.rg-navbar {
    width: 100%;

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   LOGO / BRAND
   ========================================================= */

.rg-brand {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    flex-shrink: 0;

    width: 120px;

    height: 72px;

    text-decoration: none;
}


/* BOTH LOGOS */

.rg-logo {
    position: absolute;

    top: 50%;
    left: 0;

    transform: translateY(-50%);

    width: 110px;

    max-width: 100%;

    height: auto;

    object-fit: contain;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* DEFAULT = WHITE LOGO */

.rg-logo-white {
    opacity: 1;

    visibility: visible;
}


/* BLACK LOGO HIDDEN */

.rg-logo-black {
    opacity: 0;

    visibility: hidden;
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.rg-desktop-nav {
    display: flex;

    align-items: center;

    justify-content: center;

    flex: 1;

    min-width: 0;

    gap: clamp(14px, 1.6vw, 30px);

    margin: 0 20px;
}


.rg-nav-link {
    display: inline-flex;

    align-items: center;

    color: rgba(255, 255, 255, 0.85);

    text-decoration: none;

    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    white-space: nowrap;

    transition: color 0.25s ease;
}


.rg-nav-link:hover,
.rg-nav-link.active {
    color: var(--rg-gold);
}


/* =========================================================
   DESKTOP ACTIONS
   ========================================================= */

.rg-actions {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    gap: 14px;
}


.rg-search-btn {
    width: 42px;

    height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    color: var(--rg-white);

    font-size: 16px;

    cursor: pointer;

    transition: color 0.25s ease;
}


.rg-search-btn:hover {
    color: var(--rg-gold);
}


.rg-enquire-btn {
    min-height: 42px;

    padding: 0 22px;

    border: 1px solid var(--rg-gold);

    background: var(--rg-gold);

    color: var(--rg-black);

    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    white-space: nowrap;

    cursor: pointer;

    transition: all 0.25s ease;
}


.rg-enquire-btn:hover {
    background: #B5924F;

    border-color: #B5924F;

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE ACTIONS
   ========================================================= */

.rg-mobile-actions {
    display: none;

    align-items: center;

    gap: 8px;

    margin-left: auto;
}


.rg-mobile-search,
.rg-menu-btn {
    width: 42px;

    height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    color: var(--rg-white);

    cursor: pointer;
}


/* SEARCH */

.rg-mobile-search {
    font-size: 17px;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.rg-menu-btn {
    flex-direction: column;

    gap: 5px;
}


.rg-menu-btn span {
    display: block;

    width: 23px;

    height: 2px;

    background: var(--rg-gold);

    border-radius: 10px;

    transition: all 0.3s ease;
}


/* =========================================================
   SCROLLED HEADER
   ========================================================= */

.rg-header.rg-scrolled {
    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


/* SWITCH LOGOS */

.rg-header.rg-scrolled .rg-logo-white {
    opacity: 0;

    visibility: hidden;
}


.rg-header.rg-scrolled .rg-logo-black {
    opacity: 1;

    visibility: visible;
}


/* SCROLLED NAV */

.rg-header.rg-scrolled .rg-nav-link {
    color: rgba(10, 10, 10, 0.80);
}


.rg-header.rg-scrolled .rg-nav-link:hover,
.rg-header.rg-scrolled .rg-nav-link.active {
    color: var(--rg-gold);
}


/* SCROLLED SEARCH */

.rg-header.rg-scrolled .rg-search-btn,
.rg-header.rg-scrolled .rg-mobile-search {
    color: var(--rg-black);
}


.rg-header.rg-scrolled .rg-search-btn:hover,
.rg-header.rg-scrolled .rg-mobile-search:hover {
    color: var(--rg-gold);
}


/* =========================================================
   LAPTOP / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    .rg-header-inner {
        padding: 0 24px;
    }


    .rg-brand {
        width: 105px;
    }


    .rg-logo {
        width: 100px;
    }


    .rg-desktop-nav {
        gap: 14px;

        margin: 0 14px;
    }


    .rg-nav-link {
        font-size: 10px;

        letter-spacing: 0.07em;
    }


    .rg-enquire-btn {
        padding: 0 16px;

        font-size: 10px;
    }

}


/* =========================================================
   TABLET + MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .rg-header-inner {
        padding: 0 20px;
    }


    .rg-navbar {
        min-height: 70px;
    }


    /* HIDE DESKTOP */

    .rg-desktop-nav,
    .rg-actions {
        display: none;
    }


    /* SHOW MOBILE */

    .rg-mobile-actions {
        display: flex;
    }


    /* LOGO */

    .rg-brand {
        width: 90px;

        height: 60px;
    }


    .rg-logo {
        width: 85px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .rg-header-inner {
        padding: 0 16px;
    }


    .rg-navbar {
        min-height: 64px;
    }


    .rg-brand {
        width: 75px;

        height: 54px;
    }


    .rg-logo {
        width: 72px;
    }


    .rg-mobile-search,
    .rg-menu-btn {
        width: 40px;

        height: 40px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .rg-header-inner {
        padding: 0 12px;
    }


    .rg-brand {
        width: 65px;
    }


    .rg-logo {
        width: 62px;
    }


    .rg-mobile-actions {
        gap: 3px;
    }

}


/* =========================================================
   HORIZONTAL OVERFLOW PROTECTION
   ========================================================= */

.rg-header,
.rg-header-inner,
.rg-navbar {
    max-width: 100%;
}


.gallery-item {
    height: 320px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}






