﻿/*=========================================================
    PRAYAG GROUP OF HOTELS
    HEADER CSS
=========================================================*/

/*=========================================================
    GOOGLE FONT
=========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/*=========================================================
    ROOT VARIABLES
=========================================================*/

:root {
    --primary: #6B0F1A;
    --primary-dark: #4A0812;
    --secondary: #D4AF37;
    --secondary-dark: #b89022;
    --white: #ffffff;
    --light: #f8f5f0;
    --dark: #222222;
    --text: #666666;
    --border: #ececec;
    --shadow: 0 10px 35px rgba(0,0,0,.08);
    --radius: 10px;
    --transition: .35s ease;
}

/*=========================================================
    RESET
=========================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins',sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*=========================================================
    HEADER
=========================================================*/

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/*=========================================================
    TOP BAR
=========================================================*/

.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
}

    .top-bar .container {
        padding: 10px 0;
    }

.top-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .top-left a {
        color: #fff;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

        .top-left a:hover {
            color: var(--secondary);
        }

    .top-left i {
        color: var(--secondary);
    }

.top-right {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

    .top-right a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.15);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .top-right a:hover {
            background: var(--secondary);
            color: var(--primary);
        }

/*=========================================================
    MAIN HEADER
=========================================================*/

.main-header {
    background: #fff;
    box-shadow: var(--shadow);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

/*=========================================================
    LOGO
=========================================================*/

.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 120px;
        transition: var(--transition);
    }

/*=========================================================
    BRAND
=========================================================*/

.brand {
    text-align: center;
    flex: 1;
}

    .brand h2 {
        margin: 0;
        font-family: 'Cormorant Garamond',serif;
        color: var(--primary);
        font-size: 40px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .brand p {
        margin-top: 5px;
        color: #888;
        font-size: 14px;
        letter-spacing: 4px;
        text-transform: uppercase;
    }

/*=========================================================
    BOOK BUTTON
=========================================================*/

.book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(212,175,55,.30);
}

    .book-btn:hover {
        background: var(--secondary-dark);
        color: #fff;
        transform: translateY(-3px);
    }

/*=========================================================
    MOBILE TOGGLE
=========================================================*/

.menu-toggle {
    width: 46px;
    height: 46px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

    .menu-toggle span {
        width: 30px;
        height: 3px;
        background: var(--primary);
        border-radius: 50px;
        transition: var(--transition);
    }
/*=========================================================
    NAVIGATION
=========================================================*/

.main-nav {
    background: var(--primary);
    position: relative;
}

    .main-nav .container {
        display: flex;
        justify-content: center;
    }

    .main-nav > .container > ul {
        display: flex;
        align-items: center;
    }

        .main-nav > .container > ul > li {
            position: relative;
        }

            .main-nav > .container > ul > li > a {
                display: flex;
                align-items: center;
                gap: 8px;
                color: #fff;
                padding: 18px 26px;
                font-size: 15px;
                font-weight: 500;
                text-transform: uppercase;
                letter-spacing: 1px;
                position: relative;
                transition: var(--transition);
            }

                /*=========================================================
    HOVER EFFECT
=========================================================*/

                .main-nav > .container > ul > li > a::before {
                    content: "";
                    position: absolute;
                    left: 50%;
                    bottom: 10px;
                    width: 0;
                    height: 2px;
                    background: var(--secondary);
                    transition: .35s;
                    transform: translateX(-50%);
                }

                .main-nav > .container > ul > li > a:hover::before,
                .main-nav > .container > ul > li > a.active::before {
                    width: 60%;
                }

                .main-nav > .container > ul > li > a:hover,
                .main-nav > .container > ul > li > a.active {
                    color: var(--secondary);
                }

/*=========================================================
    DROPDOWN ICON
=========================================================*/

.has-dropdown > a i {
    font-size: 11px;
    transition: .35s;
}

.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

/*=========================================================
    DESKTOP DROPDOWN
=========================================================*/

.submenu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 280px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: .35s;
    z-index: 999;
}

.has-dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    border-bottom: 1px solid #f1f1f1;
}

    .submenu li:last-child {
        border-bottom: none;
    }

    .submenu li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 22px;
        color: var(--dark);
        font-size: 14px;
        transition: .35s;
    }

        .submenu li a::after {
            content: "\f054";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            opacity: 0;
            transition: .35s;
        }

        .submenu li a:hover {
            background: var(--primary);
            color: #fff;
            padding-left: 30px;
        }

            .submenu li a:hover::after {
                opacity: 1;
            }

/*=========================================================
    NAV ANIMATION
=========================================================*/

.main-nav li {
    position: relative;
    overflow: visible;
}

 

    .main-nav li:hover > a::after {
        left: 120%;
    }

/*=========================================================
    STICKY PLACEHOLDER
=========================================================*/

.site-header.sticky .main-nav {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
/*=========================================================
    MOBILE MENU
=========================================================*/

.mobile-menu {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    overflow-y: auto;
    transition: .40s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.18);
}

    .mobile-menu.active {
        right: 0;
    }

/*=========================================================
    MOBILE HEADER
=========================================================*/

.mobile-header {
    height: 90px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eeeeee;
}

    .mobile-header img {
        height: 60px;
    }

.close-menu {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .30s;
}

    .close-menu:hover {
        background: var(--secondary);
        color: var(--primary);
    }

/*=========================================================
    MOBILE NAVIGATION
=========================================================*/

.mobile-menu > ul {
    padding: 20px;
}

    .mobile-menu > ul > li {
        border-bottom: 1px solid #f2f2f2;
    }

        .mobile-menu > ul > li:last-child {
            border-bottom: none;
        }

        .mobile-menu > ul > li > a,
        .mobile-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 16px 0;
            color: var(--dark);
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: .30s;
        }

            .mobile-menu > ul > li > a:hover,
            .mobile-title:hover {
                color: var(--primary);
                padding-left: 8px;
            }

/*=========================================================
    MOBILE SUB MENU
=========================================================*/

.mobile-submenu {
    display: none;
    padding-left: 15px;
    padding-bottom: 10px;
}

    .mobile-submenu li {
        border-bottom: 1px dashed #ececec;
    }

        .mobile-submenu li:last-child {
            border-bottom: none;
        }

        .mobile-submenu li a {
            display: block;
            padding: 12px 0;
            color: #666666;
            font-size: 14px;
            transition: .30s;
        }

            .mobile-submenu li a:hover {
                color: var(--primary);
                padding-left: 10px;
            }

/* Active */

.mobile-dropdown.active .mobile-submenu {
    display: block;
}

.mobile-dropdown.active .mobile-title i {
    transform: rotate(45deg);
}

.mobile-title i {
    transition: .30s;
}

/*=========================================================
    MOBILE BOOK BUTTON
=========================================================*/

.mobile-book {
    display: block;
    margin: 25px 20px 35px;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    background: var(--secondary);
    color: #ffffff;
    font-weight: 600;
    transition: .35s;
}

    .mobile-book:hover {
        background: var(--primary);
        color: #ffffff;
    }

/*=========================================================
    OVERLAY
=========================================================*/

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    visibility: hidden;
    opacity: 0;
    transition: .35s;
    z-index: 9999;
}

    .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }

/*=========================================================
    HAMBURGER
=========================================================*/

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: var(--primary);
        border-radius: 50px;
        transition: .35s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

/*=========================================================
    RESPONSIVE
=========================================================*/

@media(max-width:991px) {

    .top-bar {
        display: none;
    }

    .brand {
        display: block;
        flex: 1;
        text-align: left;
        margin-left: 12px;
    }

        .brand h2 {
            font-size: 20px;
            line-height: 1.2;
            letter-spacing: 1px;
        }

        .brand p {
            font-size: 11px;
            letter-spacing: 2px;
            margin-top: 2px;
        }

    .book-btn {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-wrapper {
        min-height: 85px;
    }

    .logo img {
        height: 65px;
    }
}

@media(max-width:575px) {

    .mobile-menu {
        width: 100%;
        right: -100%;
    }
}

@media(max-width:767px) {

    .header-wrapper {
        gap: 10px;
    }

    .brand {
        display: block;
        flex: 1;
        overflow: hidden;
    }

        .brand h2 {
            font-size: 16px;
            line-height: 1.5;
            max-width: 180px;
            margin: 0;
            white-space: normal;
        }

        .brand p {
            font-size: 10px;
            letter-spacing: 1px;
            margin-top: 2px;
        }

    .logo img {
        height: 50px;
    }

    .book-btn {
        display: none;
    }

    .menu-toggle {
        margin-left: 8px;
    }
}
/*=========================================================
    STICKY HEADER
=========================================================*/

.site-header {
    transition: all .35s ease;
    overflow: visible;
}

    .site-header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 8px 30px rgba(0,0,0,.10);
        animation: headerDown .35s ease;
    }

        .site-header.sticky .main-header {
            box-shadow: none;
        }

        .site-header.sticky .logo img {
            height: 100px;
        }

        .site-header.sticky .header-wrapper {
            min-height: 75px;
            padding: 10px 0;
        }

/*=========================================================
    ACTIVE MENU
=========================================================*/

.main-nav a.active {
    color: var(--secondary);
}

    .main-nav a.active::before {
        width: 60%;
    }

/*=========================================================
    LOGO EFFECT
=========================================================*/

.logo img {
    transition: .35s;
}

.logo:hover img {
    transform: scale(1.05);
}

/*=========================================================
    BOOK BUTTON EFFECT
=========================================================*/

.book-btn {
    position: relative;
    overflow: hidden;
}

    .book-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 45%;
        height: 100%;
        background: rgba(255,255,255,.30);
        transform: skew(-25deg);
        transition: .6s;
    }

    .book-btn:hover::before {
        left: 150%;
    }

/*=========================================================
    SOCIAL
=========================================================*/

.top-right a {
    transition: .30s;
}

    .top-right a:hover {
        transform: translateY(-4px);
    }

/*=========================================================
    DROPDOWN ANIMATION
=========================================================*/
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .30s;
    z-index: 9999;
}

.has-dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*=========================================================
    SCROLLBAR
=========================================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #f2f2f2;
}

/*=========================================================
    SELECTION
=========================================================*/

::selection {
    background: var(--secondary);
    color: #ffffff;
}

/*=========================================================
    ANIMATIONS
=========================================================*/

@keyframes headerDown {

    from {
        opacity: 0;
        transform: translateY(-80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdown {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*=========================================================
    SMALL TABLETS
=========================================================*/

@media(max-width:991px) {

    .header-wrapper {
        min-height: 80px;
    }

    .logo img {
        height: 60px;
    }
}

/*=========================================================
    MOBILE
=========================================================*/

@media(max-width:767px) {

    .header-wrapper {
        padding: 12px 0;
    }

    .logo img {
        height: 55px;
    }

    .mobile-header img {
        height: 50px;
    }

    .mobile-menu {
        width: 320px;
    }
}

@media(max-width:480px) {

    .mobile-menu {
        width: 100%;
    }
}

/*=========================================================
    UTILITY
=========================================================*/

.hide {
    display: none !important;
}

.show {
    .brand

{
    display: block !important;
}

.fade {
    opacity: 0;
    visibility: hidden;
    transition: .35s;
}

    .fade.show {
        opacity: 1;
        visibility: visible;
    }