/*
=========================================================
              RAJASTHAN AURA TOURS
                   GALLERY PAGE
                  FINAL VERSION
=========================================================
*/


/*
=========================================================
                    GLOBAL RESET
=========================================================
*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #ffffff;
    color: #222222;

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/*
=========================================================
                        HEADER
=========================================================
*/

.gallery-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;
}

.gallery-header-container {
    width: 94%;
    max-width: 1400px;
    min-height: 85px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/*
=========================================================
                         LOGO
=========================================================
*/

.gallery-logo {
    flex-shrink: 0;

    color: #222222;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;

    white-space: nowrap;
}


/*
=========================================================
                      NAVIGATION
=========================================================
*/

.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;
}

.gallery-nav a {
    position: relative;

    padding: 31px 0;

    color: #333333;

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    transition: color 0.3s ease;
}

.gallery-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 23px;

    width: 0;
    height: 1px;

    background: #b68b42;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}

.gallery-nav a:hover,
.gallery-nav a.active,
.gallery-nav a[aria-current="page"] {
    color: #b68b42;
}

.gallery-nav a:hover::after,
.gallery-nav a.active::after,
.gallery-nav a[aria-current="page"]::after {
    width: 100%;
}


/*
=========================================================
                   HEADER BUTTON
=========================================================
*/

.gallery-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    min-height: 44px;

    padding: 12px 20px;

    background: #b68b42;
    border: 1px solid #b68b42;

    color: #ffffff;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;

    white-space: nowrap;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.gallery-header-button:hover {
    background: #222222;
    border-color: #222222;

    transform: translateY(-1px);
}


/*
=========================================================
                          HERO
=========================================================
*/

.gallery-hero {
    position: relative;

    width: 100%;
    height: 620px;

    overflow: hidden;

    background: #222222;
}

.gallery-hero > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 90% center;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 5%;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.62)
        );

    text-align: center;
}

.gallery-hero-content {
    width: 100%;
    max-width: 850px;

    color: #ffffff;
}

.gallery-hero-content span {
    display: block;

    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;

    text-transform: uppercase;
}

.gallery-hero-content h1 {
    margin: 0 0 22px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.gallery-hero-content p {
    max-width: 700px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.90);

    font-size: 16px;
    line-height: 1.8;

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.20);
}


/*
=========================================================
                   INTRODUCTION
=========================================================
*/

.gallery-intro {
    padding: 100px 5% 85px;

    background: #ffffff;

    text-align: center;
}

.gallery-intro-container {
    width: 100%;
    max-width: 820px;

    margin: 0 auto;
}

.gallery-subtitle {
    display: block;

    margin-bottom: 16px;

    color: #9a7134;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;

    text-transform: uppercase;
}

.gallery-intro h2 {
    margin: 0 0 25px;

    color: #222222;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.25;
}

.gallery-intro p {
    max-width: 750px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.9;
}


/*
=========================================================
                    TRAVEL GALLERY
=========================================================
*/

.travel-gallery {
    padding: 0 5% 110px;

    background: #ffffff;
}

.travel-gallery-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}


/*
=========================================================
                      GALLERY GRID
=========================================================
*/

.travel-gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 330px;

    gap: 18px;
}


/*
=========================================================
                      GALLERY ITEM
=========================================================
*/

.gallery-item {
    position: relative;

    width: 100%;
    height: 100%;
    min-width: 0;

    overflow: hidden;

    background: #eeeeee;
}

.gallery-item.gallery-large {
    grid-row: span 2;
}


/*
=========================================================
                      GALLERY IMAGE
=========================================================
*/

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}


/*
=========================================================
                     IMAGE OVERLAY
=========================================================
*/

.gallery-item-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    color: #ffffff;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.15) 55%,
            rgba(0, 0, 0, 0) 100%
        );

    pointer-events: none;

    transition: background 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.20) 60%,
            rgba(0, 0, 0, 0.03) 100%
        );
}


/*
=========================================================
                    GALLERY TEXT
=========================================================
*/

.gallery-item-overlay span {
    display: block;

    margin-bottom: 9px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.gallery-item-overlay h3 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.2;

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}


/*
=========================================================
                      QUOTE SECTION
=========================================================
*/

.gallery-quote {
    padding: 110px 5%;

    background: #f7f5f1;

    text-align: center;
}

.gallery-quote-container {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;
}

.gallery-quote span {
    display: block;

    margin-bottom: 20px;

    color: #9a7134;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;

    text-transform: uppercase;
}

.gallery-quote h2 {
    margin: 0 0 25px;

    color: #222222;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.3;
}

.gallery-quote p {
    max-width: 700px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.9;
}


/*
=========================================================
                           CTA
=========================================================
*/

.gallery-cta {
    padding: 110px 5%;

    background: #1d1d1b;

    color: #ffffff;

    text-align: center;
}

.gallery-cta-content {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;
}

.gallery-cta-content > span {
    display: block;

    margin-bottom: 18px;

    color: #c79a55;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;

    text-transform: uppercase;
}

.gallery-cta-content h2 {
    margin: 0 0 25px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 47px;
    font-weight: 400;
    line-height: 1.25;
}

.gallery-cta-content p {
    max-width: 680px;

    margin: 0 auto 35px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.9;
}


/*
=========================================================
                       CTA BUTTONS
=========================================================
*/

.gallery-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;
}

.gallery-whatsapp-button,
.gallery-email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 200px;
    min-height: 48px;

    padding: 14px 25px;

    border: 1px solid #ffffff;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.gallery-whatsapp-button {
    background: #ffffff;
    color: #1d1d1b;
}

.gallery-email-button {
    background: transparent;
    color: #ffffff;
}

.gallery-whatsapp-button:hover {
    background: #b68b42;
    border-color: #b68b42;
    color: #ffffff;

    transform: translateY(-2px);
}

.gallery-email-button:hover {
    background: #ffffff;
    color: #1d1d1b;

    transform: translateY(-2px);
}


/*
=========================================================
                         FOOTER
=========================================================
*/

.gallery-footer {
    padding: 65px 5% 30px;

    background: #111111;

    color: #ffffff;

    text-align: center;
}

.gallery-footer-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


/*
=========================================================
                      FOOTER BRAND
=========================================================
*/

.gallery-footer-brand a {
    display: inline-block;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
}

.gallery-footer-brand p {
    margin: 10px 0 0;

    color: rgba(255, 255, 255, 0.50);

    font-size: 12px;
    line-height: 1.7;
    letter-spacing: 0.5px;
}


/*
=========================================================
                      FOOTER LINKS
=========================================================
*/

.gallery-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px 25px;

    margin-top: 30px;
}

.gallery-footer-links a {
    color: rgba(255, 255, 255, 0.70);

    font-size: 12px;

    transition: color 0.3s ease;
}

.gallery-footer-links a:hover,
.gallery-footer-links a[aria-current="page"] {
    color: #c79a55;
}


/*
=========================================================
                     FOOTER CONTACT
=========================================================
*/

.gallery-footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px 25px;

    margin-top: 25px;
}

.gallery-footer-contact a {
    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;

    overflow-wrap: anywhere;

    transition: color 0.3s ease;
}

.gallery-footer-contact a:hover {
    color: #c79a55;
}


/*
=========================================================
                     FOOTER BOTTOM
=========================================================
*/

.gallery-footer-bottom {
    margin-top: 40px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.40);

    font-size: 10px;
}


/*
=========================================================
                 SMALL DESKTOP
=========================================================
*/

@media (max-width: 1100px) {

    .gallery-header-container {
        width: 92%;
        gap: 20px;
    }

    .gallery-nav {
        gap: 17px;
    }

    .gallery-nav a {
        font-size: 11px;
    }

    .gallery-header-button {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 10px;
    }

}


/*
=========================================================
                         TABLET
=========================================================
*/

@media (max-width: 1000px) {

    .gallery-header-container {
        width: 90%;

        min-height: auto;

        padding-top: 20px;
        padding-bottom: 20px;

        flex-wrap: wrap;
        justify-content: center;

        gap: 18px 25px;
    }

    .gallery-logo {
        width: 100%;

        text-align: center;
    }

    .gallery-nav {
        flex-wrap: wrap;

        gap: 14px 20px;
    }

    .gallery-nav a {
        padding: 5px 0;
    }

    .gallery-nav a::after {
        bottom: -3px;
    }

    .gallery-hero {
        height: 550px;
    }

    .gallery-hero-content h1 {
        font-size: 54px;
    }

    .travel-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 320px;
    }

}


/*
=========================================================
                    MOBILE
=========================================================
*/

@media (max-width: 650px) {

    /*
    HEADER
    */

    .gallery-header-container {
        width: 100%;

        padding: 20px 18px;

        gap: 17px;
    }

    .gallery-logo {
        font-size: 23px;
    }

    .gallery-nav {
        width: 100%;

        gap: 10px 15px;
    }

    .gallery-nav a {
        padding: 4px 0;

        font-size: 11px;
    }

    .gallery-header-button {
        width: 100%;
        max-width: 320px;

        min-height: 44px;

        text-align: center;
    }


    /*
    HERO
    */

    .gallery-hero {
        height: 500px;
    }

    .gallery-hero > img {
        object-position: center;
    }

    .gallery-hero-overlay {
        padding: 40px 20px;

        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.20) 0%,
                rgba(0, 0, 0, 0.35) 40%,
                rgba(0, 0, 0, 0.68) 100%
            );
    }

    .gallery-hero-content span {
        margin-bottom: 14px;

        font-size: 9px;
        letter-spacing: 2px;
    }

    .gallery-hero-content h1 {
        margin-bottom: 18px;

        font-size: 43px;
        line-height: 1.12;
    }

    .gallery-hero-content p {
        max-width: 500px;

        font-size: 14px;
        line-height: 1.7;
    }


    /*
    INTRODUCTION
    */

    .gallery-intro {
        padding: 75px 20px 65px;
    }

    .gallery-subtitle {
        margin-bottom: 13px;

        font-size: 9px;
        letter-spacing: 2.3px;
    }

    .gallery-intro h2 {
        margin-bottom: 20px;

        font-size: 35px;
        line-height: 1.25;
    }

    .gallery-intro p {
        font-size: 14px;
        line-height: 1.8;
    }


    /*
    GALLERY
    */

    .travel-gallery {
        padding: 0 18px 80px;
    }

    .travel-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;

        gap: 15px;
    }

    .gallery-item,
    .gallery-item.gallery-large {
        grid-row: auto;

        width: 100%;
        height: 380px;
    }

    .gallery-item-overlay {
        padding: 25px;

        background:
            linear-gradient(
                to top,
                rgba(0, 0, 0, 0.76) 0%,
                rgba(0, 0, 0, 0.15) 58%,
                rgba(0, 0, 0, 0) 100%
            );
    }

    .gallery-item-overlay span {
        margin-bottom: 7px;

        font-size: 8px;
        letter-spacing: 1.8px;
    }

    .gallery-item-overlay h3 {
        font-size: 25px;
    }


    /*
    QUOTE
    */

    .gallery-quote {
        padding: 80px 20px;
    }

    .gallery-quote span {
        margin-bottom: 16px;

        font-size: 9px;
        letter-spacing: 2.2px;
    }

    .gallery-quote h2 {
        margin-bottom: 20px;

        font-size: 35px;
        line-height: 1.3;
    }

    .gallery-quote p {
        font-size: 14px;
        line-height: 1.8;
    }


    /*
    CTA
    */

    .gallery-cta {
        padding: 80px 20px;
    }

    .gallery-cta-content > span {
        margin-bottom: 15px;

        font-size: 9px;
        letter-spacing: 2.2px;
    }

    .gallery-cta-content h2 {
        margin-bottom: 20px;

        font-size: 36px;
        line-height: 1.25;
    }

    .gallery-cta-content p {
        margin-bottom: 30px;

        font-size: 14px;
        line-height: 1.8;
    }

    .gallery-cta-buttons {
        flex-direction: column;

        width: 100%;
    }

    .gallery-whatsapp-button,
    .gallery-email-button {
        width: 100%;
        max-width: 340px;
    }


    /*
    FOOTER
    */

    .gallery-footer {
        padding: 55px 20px 25px;
    }

    .gallery-footer-brand a {
        font-size: 24px;
    }

    .gallery-footer-brand p {
        font-size: 11px;
    }

    .gallery-footer-links,
    .gallery-footer-contact {
        flex-direction: column;

        gap: 12px;
    }

    .gallery-footer-bottom {
        margin-top: 35px;
        padding-top: 22px;
    }

}


/*
=========================================================
                    SMALL MOBILE
=========================================================
*/

@media (max-width: 380px) {

    .gallery-header-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gallery-logo {
        font-size: 21px;
    }

    .gallery-nav {
        gap: 9px 12px;
    }

    .gallery-nav a {
        font-size: 10px;
    }

    .gallery-hero {
        height: 460px;
    }

    .gallery-hero-content h1 {
        font-size: 38px;
    }

    .gallery-hero-content p {
        font-size: 13px;
    }

    .gallery-intro h2,
    .gallery-quote h2 {
        font-size: 31px;
    }

    .gallery-item,
    .gallery-item.gallery-large {
        height: 330px;
    }

    .gallery-item-overlay {
        padding: 22px;
    }

    .gallery-item-overlay h3 {
        font-size: 23px;
    }

    .gallery-cta-content h2 {
        font-size: 32px;
    }

}


/*
=========================================================
                    ACCESSIBILITY
=========================================================
*/

.gallery-header a:focus-visible,
.gallery-cta a:focus-visible,
.gallery-footer a:focus-visible {
    outline: 2px solid #b68b42;
    outline-offset: 3px;
}


/*
=========================================================
                REDUCED MOTION SUPPORT
=========================================================
*/

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .gallery-item:hover img {
        transform: none;
    }

}


/*
=========================================================
                  END OF FINAL CSS
=========================================================
*/