
/* =========================================================
   HAMPI DESTINATION PAGE
   GlobalTime.io
   File: hampi.css

   Sections:
   01. Destination Variables
   02. Hero Image
   03. Main Destination Card
   04. Destination Heading
   05. Live Clock
   06. Meta Information
   07. SEO Content
   08. Destination Features
   09. Important Places
   10. Season Cards
   11. Destination Links
   12. Travel Information
   13. Travel Tips Accordion
   14. FAQ Accordion
   15. Explore More
   16. Responsive Design
========================================================= */


/* =========================================================
   01. DESTINATION VARIABLES
========================================================= */

:root {

    --hampi-primary: #9b6637;
    --hampi-primary-dark: #79502c;
    --hampi-accent: #d5a66d;

    --hampi-border: var(--border-color, #e5e5e5);

    --hampi-card-bg: var(--card-bg, #ffffff);

    --hampi-text: var(--text-main, #252525);

    --hampi-muted: var(--text-muted, #707070);

    --hampi-soft-bg: var(--bg-secondary, #f7f5f1);

    --hampi-radius: 14px;

    --hampi-shadow:
        0 3px 14px rgba(0, 0, 0, 0.045);

}



/* =========================================================
   02. HERO IMAGE
   Center Aligned With Left & Right Spacing
========================================================= */

.destination-hero-image {

    width: calc(100% - 40px);

    max-width: 1160px;

    margin: 0 auto 24px;

    overflow: hidden;

    border-radius: var(--hampi-radius);

    background: var(--hampi-soft-bg);

}

.destination-hero-image img {

    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    aspect-ratio: auto;

    object-fit: contain;

    object-position: center;

}

/* Tablet */

@media (max-width: 1100px) {

    .destination-hero-image {

        width: calc(100% - 30px);

    }

}

/* Mobile */

@media (max-width: 600px) {

    .destination-hero-image {

        width: calc(100% - 20px);

        margin-bottom: 18px;

        border-radius: 10px;

    }

}


/* =========================================================
   03. MAIN DESTINATION CARD
========================================================= */

.info-block {

    width: 100%;

    position: relative;

}

.hero .info-block {

    box-sizing: border-box;

}

.hero .info-block * {

    box-sizing: border-box;

}


/* =========================================================
   04. DESTINATION HEADING
========================================================= */

.country-title {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;

    margin: 0 0 10px;

    color: var(--hampi-text);

}

.destination-title-icon {

    width: 62px;

    height: 62px;

    object-fit: contain;

    flex-shrink: 0;

}

.title-main {

    font-size: clamp(28px, 4vw, 40px);

    font-weight: 750;

    line-height: 1.2;

    letter-spacing: -0.6px;

}

.tz-small {

    text-align: center;

    color: var(--hampi-muted);

    font-size: 15px;

    margin-bottom: 18px;

}


/* =========================================================
   05. LIVE CLOCK
========================================================= */

.utc-row {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin: 15px auto;

}

.clock-time {

    font-size: clamp(24px, 4vw, 32px);

    font-weight: 750;

    font-variant-numeric: tabular-nums;

    letter-spacing: 1px;

    color: var(--hampi-text);

}

.clock-tz {

    font-size: 13px;

    font-weight: 700;

    color: var(--hampi-muted);

    padding: 5px 10px;

    border: 1px solid var(--hampi-border);

    border-radius: 6px;

}

.country-big-clock {

    text-align: center;

    margin: 24px auto;

    padding: 22px 15px;

    max-width: 520px;

    background: var(--hampi-soft-bg);

    border: 1px solid var(--hampi-border);

    border-radius: var(--hampi-radius);

}

.country-time-value {

    font-size: clamp(34px, 6vw, 48px);

    font-weight: 800;

    line-height: 1.2;

    font-variant-numeric: tabular-nums;

    letter-spacing: 1px;

    color: var(--hampi-primary);

}

.country-time-label {

    margin-top: 9px;

    font-size: 14px;

    color: var(--hampi-muted);

    font-weight: 600;

}

.above-clock {

    max-width: 850px;

    margin: 18px auto;

    text-align: center;

    line-height: 1.8;

}


/* =========================================================
   06. SECTION HEADINGS
========================================================= */

.hero .section-title {

    color: var(--hampi-text);

    font-size: clamp(21px, 3vw, 26px);

    font-weight: 750;

    line-height: 1.4;

    margin-bottom: 20px;

}

.hero .seo-text h2 {

    font-size: 23px;

    line-height: 1.4;

    color: var(--hampi-text);

    margin-bottom: 14px;

}

.hero .seo-text h3 {

    font-size: 18px;

    line-height: 1.5;

    color: var(--hampi-text);

    margin: 20px 0 10px;

}

.hero .seo-text p {

    color: var(--hampi-muted);

    font-size: 15px;

    line-height: 1.85;

    margin-bottom: 14px;

}

.hero .seo-text p:last-child {

    margin-bottom: 0;

}


/* =========================================================
   07. META INFORMATION
========================================================= */

.meta-row {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin: 24px 0;

}

.meta {

    padding: 13px 15px;

    background: var(--hampi-soft-bg);

    border: 1px solid var(--hampi-border);

    border-radius: 10px;

    color: var(--hampi-muted);

    font-size: 13px;

    line-height: 1.6;

}

.meta strong {

    display: block;

    margin-top: 4px;

    color: var(--hampi-text);

    font-size: 14px;

    font-weight: 700;

}


/* =========================================================
   08. SEO CONTENT CARDS
========================================================= */

.hero .seo-text {

    margin-top: 22px;

    margin-bottom: 22px;

    padding: 24px;

    background: var(--hampi-card-bg);

    border: 1px solid var(--hampi-border);

    border-radius: var(--hampi-radius);

    box-shadow: var(--hampi-shadow);

    scroll-margin-top: 90px;

}


/* =========================================================
   09. DESTINATION FEATURES
========================================================= */

.destination-section {

    margin: 22px 0;

}

.destination-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

}

.destination-feature {

    padding: 20px;

    background: var(--hampi-soft-bg);

    border: 1px solid var(--hampi-border);

    border-radius: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}

.destination-feature h3 {

    color: var(--hampi-text);

    font-size: 17px;

    font-weight: 700;

    line-height: 1.5;

    margin: 0 0 10px;

}

.destination-feature p {

    color: var(--hampi-muted);

    font-size: 14px;

    line-height: 1.8;

    margin: 0;

}

@media (hover: hover) {

    .destination-feature:hover {

        transform: translateY(-3px);

        box-shadow:
            0 6px 18px rgba(0, 0, 0, 0.07);

    }

}


/* =========================================================
   10. IMPORTANT PLACES
========================================================= */

.visitor-section {

    margin: 22px 0;

}

.facts-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 15px;

}

.fact-card {

    padding: 19px;

    background: var(--hampi-soft-bg);

    border: 1px solid var(--hampi-border);

    border-radius: 12px;

}

.fact-card h3 {

    color: var(--hampi-text);

    font-size: 17px;

    font-weight: 700;

    margin: 0 0 9px;

    line-height: 1.5;

}

.fact-card p {

    color: var(--hampi-muted);

    font-size: 14px;

    line-height: 1.8;

    margin: 0;

}


/* =========================================================
   11. SEASON CARDS
========================================================= */

.season-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 15px;

}

.season-card {

    padding: 19px;

    border: 1px solid var(--hampi-border);

    background: var(--hampi-soft-bg);

    border-radius: 12px;

}

.season-card h3 {

    font-size: 17px;

    font-weight: 750;

    color: var(--hampi-primary);

    margin: 0 0 10px;

}

.season-card p {

    color: var(--hampi-muted);

    font-size: 14px;

    line-height: 1.8;

    margin: 0;

}


/* =========================================================
   12. DESTINATION LINKS
========================================================= */

.destinations-card {

    margin: 22px 0;

}

.destinations-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 18px;

}

.destination-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    min-width: 0;

    padding: 17px;

    text-decoration: none;

    color: var(--hampi-text);

    background: var(--hampi-soft-bg);

    border: 1px solid var(--hampi-border);

    border-radius: 11px;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;

}

.destination-content {

    display: flex;

    flex-direction: column;

    gap: 6px;

    min-width: 0;

}

.destination-name {

    font-size: 15px;

    font-weight: 750;

    line-height: 1.5;

    color: var(--hampi-text);

}

.destination-tag {

    font-size: 12px;

    line-height: 1.5;

    color: var(--hampi-muted);

}

.destination-arrow {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: rgba(155, 102, 55, 0.10);

    color: var(--hampi-primary);

    font-size: 18px;

    transition: transform 0.2s ease;

}

@media (hover: hover) {

    .destination-card:hover {

        border-color: var(--hampi-primary);

        transform: translateY(-2px);

    }

    .destination-card:hover .destination-arrow {

        transform: translateX(4px);

    }

}

.destination-card:focus-visible {

    outline: 2px solid var(--hampi-primary);

    outline-offset: 3px;

}


/* =========================================================
   13. TRAVEL INFORMATION
========================================================= */

.facts-wrapper {

    margin: 22px 0;

}

.info-section {

    border: 1px solid var(--hampi-border);

    border-radius: 11px;

    overflow: hidden;

}

.info-toggle {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    width: 100%;

    padding: 16px 18px;

    border: none;

    background: var(--hampi-soft-bg);

    color: var(--hampi-text);

    font-size: 15px;

    font-weight: 700;

    text-align: left;

    cursor: pointer;

}

.info-toggle svg {

    width: 18px;

    height: 18px;

    flex-shrink: 0;

    transition: transform 0.2s ease;

}

.info-section.active .info-toggle svg {

    transform: rotate(180deg);

}

.info-content {

    overflow: hidden;

    transition: max-height 0.3s ease;

}

.info-content ul {

    margin: 0;

    padding: 18px 22px 18px 42px;

    color: var(--hampi-muted);

}

.info-content li {

    padding-left: 4px;

    margin-bottom: 12px;

    font-size: 14px;

    line-height: 1.8;

}

.info-content li:last-child {

    margin-bottom: 0;

}

.info-toggle:focus-visible {

    outline: 2px solid var(--hampi-primary);

    outline-offset: -3px;

}


/* =========================================================
   14. FAQ ACCORDION
========================================================= */

.faq-section {

    margin: 22px 0;

}

.faq-wrapper {

    display: flex;

    flex-direction: column;

    gap: 11px;

}

.faq-item {

    overflow: hidden;

    border: 1px solid var(--hampi-border);

    border-radius: 11px;

    background: var(--hampi-card-bg);

}

.faq-toggle {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    width: 100%;

    padding: 17px 18px;

    border: none;

    background: var(--hampi-soft-bg);

    color: var(--hampi-text);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.6;

    text-align: left;

    cursor: pointer;

}

.faq-toggle span {

    min-width: 0;

}

.faq-toggle svg {

    width: 18px;

    height: 18px;

    flex-shrink: 0;

    transition: transform 0.2s ease;

}

.faq-item.active .faq-toggle svg {

    transform: rotate(180deg);

}

.faq-content {

    overflow: hidden;

    transition: max-height 0.3s ease;

}

.faq-content p {

    padding: 15px 18px 18px;

    margin: 0;

    color: var(--hampi-muted);

    font-size: 14px;

    line-height: 1.8;

}

.faq-toggle:focus-visible {

    outline: 2px solid var(--hampi-primary);

    outline-offset: -3px;

}


/* =========================================================
   15. EXPLORE MORE
========================================================= */

.destinations-card .info-text {

    color: var(--hampi-muted);

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   16. RESPONSIVE DESIGN
========================================================= */


/* ---------- TABLET ---------- */

@media (max-width: 900px) {

    .meta-row {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

    .destination-grid,
    .facts-grid,
    .season-grid,
    .destinations-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

   
}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

    .destination-hero-image {

        margin-bottom: 14px;

        border-radius: 10px;

    }


    .country-title {

        gap: 9px;

    }

    .destination-title-icon {

        width: 45px;

        height: 45px;

    }

    .title-main {

        font-size: 29px;

    }

    .tz-small {

        font-size: 13px;

        margin-bottom: 14px;

    }

    .utc-row {

        gap: 9px;

    }

    .clock-time {

        font-size: 25px;

    }

    .country-big-clock {

        margin: 18px auto;

        padding: 19px 12px;

    }

    .country-time-value {

        font-size: 35px;

    }

    .country-time-label {

        font-size: 12px;

        line-height: 1.6;

    }

    .above-clock {

        font-size: 14px;

        line-height: 1.75;

    }

    .hero .section-title {

        font-size: 21px;

    }

    .hero .seo-text {

        padding: 18px;

        margin-top: 17px;

        margin-bottom: 17px;

        border-radius: 11px;

    }

    .hero .seo-text h2 {

        font-size: 20px;

    }

    .hero .seo-text h3 {

        font-size: 17px;

    }

    .hero .seo-text p {

        font-size: 14px;

        line-height: 1.8;

    }

    .meta-row {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 9px;

        margin: 18px 0;

    }

    .meta {

        padding: 11px;

        font-size: 12px;

    }

    .meta strong {

        font-size: 13px;

    }

    .destination-grid,
    .facts-grid,
    .season-grid,
    .destinations-grid {

        grid-template-columns: 1fr;

        gap: 11px;

    }

    .destination-feature,
    .fact-card,
    .season-card {

        padding: 16px;

    }

    .destination-feature h3,
    .fact-card h3,
    .season-card h3 {

        font-size: 16px;

    }

    .destination-feature p,
    .fact-card p,
    .season-card p {

        font-size: 13px;

    }

    .destination-card {

        padding: 14px;

    }

    .destination-name {

        font-size: 14px;

    }

    .destination-tag {

        font-size: 11px;

    }

    .info-toggle,
    .faq-toggle {

        padding: 14px;

        font-size: 14px;

    }

    .info-content ul {

        padding: 15px 15px 15px 35px;

    }

    .info-content li {

        font-size: 13px;

        line-height: 1.75;

    }

    .faq-content p {

        padding: 13px 14px 16px;

        font-size: 13px;

    }

}


/* ---------- SMALL MOBILE ---------- */

@media (max-width: 380px) {

    .title-main {

        font-size: 25px;

    }

    .destination-title-icon {

        width: 39px;

        height: 39px;

    }

    .country-time-value {

        font-size: 30px;

    }

    .clock-time {

        font-size: 22px;

    }

    .meta-row {

        grid-template-columns: 1fr;

    }

}


/* =========================================================
   17. DARK MODE SUPPORT
========================================================= */

[data-theme="dark"] {

    --hampi-border: var(--border-color, #353535);

    --hampi-card-bg: var(--card-bg, #202020);

    --hampi-text: var(--text-main, #f1f1f1);

    --hampi-muted: var(--text-muted, #b5b5b5);

    --hampi-soft-bg: var(--bg-secondary, #292929);

}

.dark-mode {

    --hampi-border: var(--border-color, #353535);

    --hampi-card-bg: var(--card-bg, #202020);

    --hampi-text: var(--text-main, #f1f1f1);

    --hampi-muted: var(--text-muted, #b5b5b5);

    --hampi-soft-bg: var(--bg-secondary, #292929);

}



/* =========================================================
   HAMPI PAGE - DESKTOP SIDE AD LAYOUT
   Similar centered content layout to Bodh Gaya
========================================================= */

.destination-page-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 160px)
        minmax(0, 1240px)
        minmax(0, 160px);

    justify-content: center;

    align-items: start;

    column-gap: 24px;

    width: 100%;

    max-width: 1640px;

    margin: 0 auto;

    padding: 24px 16px;

    box-sizing: border-box;

}

/* Main content */

.destination-page-layout > .hero {

    width: 100%;

    min-width: 0;

    margin: 0;

    padding: 0 0 50px;

    box-sizing: border-box;

}

/* Side advertisement columns */

.destination-side-ad {

    display: flex;

    justify-content: center;

    align-items: flex-start;

    width: 100%;

    min-width: 0;

    min-height: 600px;

    padding-top: 20px;

    box-sizing: border-box;

}

/* Ad container */

.destination-ad-slot {

    width: 160px;

    min-width: 160px;

    min-height: 600px;

    display: block;

}

/* =========================================================
   TABLET - HIDE SIDE ADS
========================================================= */

@media (max-width: 1100px) {

    .destination-page-layout {

        display: block;

        padding: 15px 12px;

    }

    .destination-side-ad {

        display: none;

    }

    .destination-page-layout > .hero {

        width: 100%;

    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .destination-page-layout {

        padding: 10px 8px;

    }

}

