/* ===================================================================
   Globtour theme - Bright modern travel
   Version: 1.0.0
   Author: Reveloni
   For: CMS 6.0.0+

   Characteristics: a fresh, bright take on travel - crisp cool white and
   pale sky over deep modern navy, a bold Plus Jakarta Sans over Inter,
   generously rounded cards, pill buttons and airy lift. The admin colour
   scheme drives a vivid accent via color-mix (a sky-blue booking-portal
   feel by default, but any scheme reads cleanly). Two travel controls in
   pure CSS: the menu is a compass, the dark-mode toggle a sun that
   becomes a moon and a star at night. Made for travel agencies, tour
   operators, booking sites and destinations.

   Changelog:
     1.0.0 - Initial release.
   =================================================================== */

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paper - crisp cool white & pale sky */
    --gt-paper: #f6fafd;
    --gt-paper-raised: #ffffff;
    --gt-paper-deep: #e8f1f7;

    /* Ink - deep modern navy */
    --gt-ink: #14293b;
    --gt-ink-soft: #4a5c6e;
    --gt-ink-faint: #8d9aa6;

    /* Vivid reactive accent (sky-blue default) + warm sun for the icon */
    --gt-accent: color-mix(in srgb, var(--accent, #1e8fd6) 92%, var(--gt-ink));
    --gt-accent-bright: var(--accent, #1e8fd6);
    --gt-accent-soft: color-mix(in srgb, var(--accent, #1e8fd6) 14%, var(--gt-paper));
    --gt-sun: #ffb43d;

    /* Cool hairlines */
    --gt-line: rgba(20, 41, 59, 0.12);
    --gt-line-soft: rgba(20, 41, 59, 0.07);
    --gt-line-strong: rgba(20, 41, 59, 0.34);

    /* Airy cool shadows with a hint of accent */
    --gt-shadow-sm: 0 2px 8px rgba(20, 41, 59, 0.06);
    --gt-shadow-md: 0 14px 34px rgba(20, 41, 59, 0.12);
    --gt-shadow-lg: 0 28px 64px rgba(20, 41, 59, 0.18);

    --gt-radius: 20px;
    --gt-radius-sm: 12px;
    --gt-transition: 0.35s cubic-bezier(0.34, 1.2, 0.5, 1);

    --font-display: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    /* Aliases the engine's inline element styles rely on */
    --text: var(--gt-ink);
    --text-light: var(--gt-ink-soft);
}

/* Midnight */
[data-theme="dark"] {
    --gt-paper: #0d1721;
    --gt-paper-raised: #14212e;
    --gt-paper-deep: #0a121a;

    --gt-ink: #eef4f9;
    --gt-ink-soft: #a8b4c0;
    --gt-ink-faint: #6f7d8a;

    --gt-accent: color-mix(in srgb, var(--accent, #46a8e8) 90%, #eef4f9);
    --gt-accent-bright: var(--accent, #46a8e8);
    --gt-accent-soft: color-mix(in srgb, var(--accent, #46a8e8) 20%, #14212e);

    --gt-line: rgba(238, 244, 249, 0.14);
    --gt-line-soft: rgba(238, 244, 249, 0.07);
    --gt-line-strong: rgba(238, 244, 249, 0.34);

    --gt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --gt-shadow-md: 0 14px 34px rgba(0, 0, 0, 0.5);
    --gt-shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.6);
}

/* === BASE === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.72;
    color: var(--gt-ink);
    background: var(--gt-paper);
    -webkit-font-smoothing: antialiased;
    transition: background var(--gt-transition), color var(--gt-transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    color: var(--gt-ink);
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.15rem;
}

a {
    color: var(--gt-accent);
    text-decoration: none;
    transition: color var(--gt-transition);
}

a:hover {
    color: var(--gt-accent-bright);
}

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

::selection {
    background: var(--gt-accent-bright);
    color: #fff;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 2rem;
}

main {
    min-height: 60vh;
}

/* === CONTENT === */
.content-section {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 0;
}

.content-section h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.4rem;
}

.content-section h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 700;
    margin: 2.6rem 0 1rem;
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 0.8rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gt-accent-bright), color-mix(in srgb, var(--gt-accent-bright) 40%, var(--gt-sun)));
}

.content-section h3 {
    font-size: 1.4rem;
    margin: 2rem 0 0.7rem;
}

.content-section ul,
.content-section ol {
    margin: 0 0 1.15rem 1.4rem;
}

.content-section ul li::marker {
    color: var(--gt-accent-bright);
}

.content-section blockquote {
    margin: 2rem 0;
    padding: 1.2rem 1.6rem;
    border-left: 4px solid var(--gt-accent-bright);
    background: var(--gt-accent-soft);
    border-radius: var(--gt-radius-sm);
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--gt-ink-soft);
}

/* === HEADER === */
header {
    background: color-mix(in srgb, var(--gt-paper) 85%, transparent);
    backdrop-filter: saturate(1.5) blur(10px);
    border-bottom: 1px solid var(--gt-line);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background var(--gt-transition), border-color var(--gt-transition);
}

header .container {
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    gap: 1.5rem;
}

.logo-container img {
    height: 80px;
    width: auto;
    display: block;
}

.site-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gt-ink);
}

/* === NAV / HAMBURGER === */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.hamburger-menu {
    position: static;
}

.hamburger-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gt-accent-bright);
    border: 1.5px solid var(--gt-accent-bright);
    border-radius: 999px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.55rem 1.25rem 0.55rem 0.9rem;
    cursor: pointer;
    box-shadow: var(--gt-shadow-sm);
    transition: transform var(--gt-transition), box-shadow var(--gt-transition), background var(--gt-transition);
}

.hamburger-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--gt-shadow-md);
    background: color-mix(in srgb, var(--gt-accent-bright) 88%, #000);
}

/* Menu icon = a COMPASS in pure CSS. Engine emits <span>glyph</span>
   <span>Menu</span>; hide the glyph, make the first span the compass
   case, put a split diamond needle (warm north half) inside. On this
   theme the button is filled, so currentColor is white. */
.hamburger-btn span:first-child {
    font-size: 0;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.hamburger-btn span:first-child::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 13px;
    transform: translate(-50%, -50%) rotate(45deg);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    background: linear-gradient(to bottom, var(--gt-sun) 0 50%, currentColor 50% 100%);
}

.hamburger-btn span:last-child {
    line-height: 1;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 2rem;
    min-width: 250px;
    max-height: 72vh;
    overflow-y: auto;
    background: var(--gt-paper-raised);
    border: 1px solid var(--gt-line);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow-lg);
    padding: 0.6rem;
    z-index: 200;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu ul {
    list-style: none;
    display: block;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1rem;
    color: var(--gt-ink);
    font-size: 0.94rem;
    font-weight: 500;
    border-radius: var(--gt-radius-sm);
    transition: background var(--gt-transition), color var(--gt-transition);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--gt-accent-soft);
    color: var(--gt-accent-bright);
}

/* === HERO === */
.hero {
    position: relative;
    background:
        radial-gradient(130% 90% at 50% -10%, var(--gt-accent-soft), transparent 55%),
        var(--gt-paper);
    border-bottom: 1px solid var(--gt-line);
    padding: clamp(3.5rem, 9vw, 7rem) 0;
    text-align: center;
}

.hero .container {
    position: relative;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 1.3rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gt-ink-soft);
    max-width: 620px;
    margin: 0 auto;
}

/* Hero with background image */
.hero--has-bg {
    padding: clamp(5rem, 15vw, 10.5rem) 0;
    overflow: hidden;
    border-bottom: none;
}

.hero--has-bg .hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero--has-bg .hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero--has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(20, 41, 59, 0.15), rgba(20, 41, 59, 0.5));
}

.hero--overlay-none::after   { background: rgba(20, 41, 59, 0.12); }
.hero--overlay-light::after  { background: linear-gradient(to bottom, rgba(20, 41, 59, 0.15), rgba(20, 41, 59, 0.4)); }
.hero--overlay-medium::after { background: linear-gradient(to bottom, rgba(20, 41, 59, 0.3), rgba(20, 41, 59, 0.58)); }
.hero--overlay-strong::after { background: linear-gradient(to bottom, rgba(20, 41, 59, 0.5), rgba(20, 41, 59, 0.74)); }

.hero--has-bg .container {
    position: relative;
    z-index: 2;
}

.hero--has-bg h1,
.hero--has-bg p {
    color: #fff;
}

.hero--has-bg p {
    color: rgba(255, 255, 255, 0.9);
}

.hero--has-bg .cta-button {
    margin-top: 1.8rem;
}

/* === BUTTONS === */
.btn,
.cta-button,
.page-card-link {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.8rem 1.9rem;
    border: 1.5px solid var(--gt-accent-bright);
    border-radius: 999px;
    background: var(--gt-accent-bright);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--gt-shadow-sm);
    transition: background var(--gt-transition), color var(--gt-transition), transform var(--gt-transition), box-shadow var(--gt-transition);
}

.btn:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--gt-shadow-md);
    background: color-mix(in srgb, var(--gt-accent-bright) 88%, #000);
    color: #fff;
}

/* === PAGE CARDS (destinations) === */
.page-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.2rem;
    padding: 3rem 0;
}

.page-card {
    position: relative;
    background: var(--gt-paper-raised);
    border: 1px solid var(--gt-line);
    border-radius: var(--gt-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--gt-shadow-sm);
    transition: transform var(--gt-transition), box-shadow var(--gt-transition), border-color var(--gt-transition);
}

.page-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--gt-shadow-lg);
    border-color: color-mix(in srgb, var(--gt-accent-bright) 40%, var(--gt-line));
}

.page-card > picture {
    display: block;
    overflow: hidden;
}

img.page-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform var(--gt-transition);
}

.page-card:hover img.page-card-image {
    transform: scale(1.07);
}

/* Placeholder: sky tile with a compass mark */
.page-card-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gt-paper-deep);
    border-bottom: 1px solid var(--gt-line);
    position: relative;
}

.page-card-placeholder span {
    display: none;
}

.page-card-placeholder::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 2px solid var(--gt-line-strong);
    border-radius: 50%;
}

.page-card-placeholder::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 20px;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    background: linear-gradient(to bottom, var(--gt-accent-bright) 0 50%, var(--gt-line-strong) 50% 100%);
    transform: rotate(45deg);
}

.page-card-content {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.page-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
    color: var(--gt-ink);
}

.page-card-excerpt {
    font-size: 0.96rem;
    color: var(--gt-ink-soft);
    line-height: 1.65;
    margin-bottom: 1.3rem;
    flex: 1;
}

.page-card-link {
    align-self: flex-start;
    padding: 0.55rem 1.35rem;
    font-size: 0.86rem;
}

/* Price tag - a bright trip-price pill */
.price-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    padding: 0.35rem 0.95rem;
    background: var(--gt-accent-bright);
    border-radius: 999px;
    margin-bottom: 1rem;
    align-self: flex-start;
    box-shadow: var(--gt-shadow-sm);
}

a.price-tag:hover {
    background: color-mix(in srgb, var(--gt-accent-bright) 88%, #000);
    color: #fff;
}

/* === GALLERY (postcard wall) === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
    padding: 2.5rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gt-line);
    border-radius: var(--gt-radius-sm);
    cursor: pointer;
    background: var(--gt-paper-deep);
    box-shadow: var(--gt-shadow-sm);
    transition: transform var(--gt-transition), box-shadow var(--gt-transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--gt-shadow-md);
}

.gallery-item > img,
.gallery-item > picture img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--gt-transition);
}

.gallery-item > picture {
    display: block;
}

.gallery-item source {
    display: none;
}

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

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 18, 26, 0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--gt-radius-sm);
    box-shadow: var(--gt-shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity var(--gt-transition);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background var(--gt-transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.26);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    opacity: 0.85;
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2.5rem 0;
}

.testimonial-card {
    position: relative;
    background: var(--gt-paper-raised);
    border: 1px solid var(--gt-line);
    border-radius: var(--gt-radius);
    padding: 2.4rem 1.9rem 1.9rem;
    box-shadow: var(--gt-shadow-sm);
    transition: transform var(--gt-transition), box-shadow var(--gt-transition);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.6rem;
    left: 1.4rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--gt-accent-bright);
    opacity: 0.35;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gt-shadow-md);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gt-ink);
    margin-bottom: 1.3rem;
    position: relative;
    z-index: 1;
}

.testimonial-rating {
    color: var(--gt-sun);
    letter-spacing: 0.15em;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.testimonial-author {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gt-ink-soft);
    padding-left: 2.2rem;
    position: relative;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--gt-accent-bright);
}

/* === CONTACT FORM === */
.contact-form {
    max-width: 680px;
    margin: 3rem auto;
    padding: 3rem 0;
}

.contact-form h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.contact-form h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 0.8rem auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gt-accent-bright), color-mix(in srgb, var(--gt-accent-bright) 40%, var(--gt-sun)));
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gt-ink-soft);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gt-ink);
    background: var(--gt-paper-raised);
    border: 1.5px solid var(--gt-line-strong);
    border-radius: var(--gt-radius-sm);
    padding: 0.8rem 1rem;
    transition: border-color var(--gt-transition), box-shadow var(--gt-transition);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gt-accent-bright);
    box-shadow: 0 0 0 3px var(--gt-accent-soft);
}

.success,
.error {
    padding: 1rem 1.25rem;
    border-radius: var(--gt-radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    border: 1px solid;
}

.success {
    color: #1f7a52;
    background: color-mix(in srgb, #1f7a52 9%, var(--gt-paper));
    border-color: color-mix(in srgb, #1f7a52 30%, transparent);
}

.error {
    color: #b23b3b;
    background: color-mix(in srgb, #b23b3b 9%, var(--gt-paper));
    border-color: color-mix(in srgb, #b23b3b 30%, transparent);
}

/* === BREADCRUMBS === */
.breadcrumbs {
    border-bottom: 1px solid var(--gt-line);
    background: var(--gt-paper);
}

.breadcrumbs .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--gt-ink-soft);
}

.breadcrumbs a:hover {
    color: var(--gt-accent-bright);
}

.breadcrumbs span {
    color: var(--gt-line-strong);
    margin: 0 0.5rem;
}

.breadcrumbs strong {
    color: var(--gt-ink);
    font-weight: 700;
}

/* === FOOTER === */
footer {
    background: var(--gt-paper-deep);
    border-top: 1px solid var(--gt-line);
    padding: 3.5rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gt-ink);
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.94rem;
    color: var(--gt-ink-soft);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gt-ink-soft);
}

.footer-section a:hover {
    color: var(--gt-accent-bright);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    font-size: 0.94rem;
    color: var(--gt-ink-soft);
}

.footer-menu a:hover {
    color: var(--gt-accent-bright);
}

.social-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gt-paper-raised);
    border: 1px solid var(--gt-line-strong);
    border-radius: 50%;
    color: var(--gt-ink);
    transition: background var(--gt-transition), color var(--gt-transition), transform var(--gt-transition);
}

.social-links a:hover {
    background: var(--gt-accent-bright);
    color: #fff;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--gt-ink-faint);
    padding-top: 1.8rem;
    border-top: 1px solid var(--gt-line);
}

/* === DARK-MODE TOGGLE ===
   Light: a sun (disc + eight ray-dots) over a horizon line.
   Dark : the disc becomes a crescent moon and a star appears.
   Engine emits <button class="dark-mode-toggle">moon-glyph</button>; the
   glyph is hidden and everything is drawn on ::before (body) and ::after
   (horizon / star). */
.dark-mode-toggle {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    width: 50px;
    height: 50px;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gt-paper-raised);
    border: 1px solid var(--gt-line-strong);
    border-radius: 50%;
    cursor: pointer;
    z-index: 300;
    box-shadow: var(--gt-shadow-md);
    transition: background var(--gt-transition), border-color var(--gt-transition), transform var(--gt-transition);
}

.dark-mode-toggle:hover {
    transform: translateY(-2px) rotate(-8deg);
    border-color: var(--gt-accent-bright);
}

/* Sun disc + ray-dots */
.dark-mode-toggle::before {
    content: '';
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gt-sun);
    box-shadow:
        0 -10px 0 -5px var(--gt-sun),
        0 10px 0 -5px var(--gt-sun),
        -10px 0 0 -5px var(--gt-sun),
        10px 0 0 -5px var(--gt-sun),
        -7px -7px 0 -5px var(--gt-sun),
        7px 7px 0 -5px var(--gt-sun),
        -7px 7px 0 -5px var(--gt-sun),
        7px -7px 0 -5px var(--gt-sun);
    transition: box-shadow var(--gt-transition), background var(--gt-transition);
}

/* Horizon line under the sun */
.dark-mode-toggle::after {
    content: '';
    position: absolute;
    bottom: 13px;
    left: 50%;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--gt-accent-bright);
    transform: translateX(-50%);
    transition: all var(--gt-transition);
}

/* Night: crescent moon + star */
html[data-theme="dark"] .dark-mode-toggle::before {
    background: #eef4f9;
    box-shadow: inset -5px -2px 0 0 var(--gt-paper-raised);
    transform: rotate(18deg);
}

html[data-theme="dark"] .dark-mode-toggle::after {
    bottom: auto;
    top: 13px;
    left: 31px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gt-sun);
    box-shadow: -2px 6px 0 -1px var(--gt-sun);
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(var(--animation-offset, 20px));
    transition: opacity 0.7s cubic-bezier(0.34, 1.2, 0.5, 1),
                transform 0.7s cubic-bezier(0.34, 1.2, 0.5, 1);
}

body.js-ready[data-animations-enabled="true"] .animate-on-scroll.animated {
    opacity: 1;
    transform: none;
}

body:not([data-animations-enabled="true"]) .animate-on-scroll {
    opacity: 1;
    transform: none;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .container {
        padding: 0 1.4rem;
    }

    .content-section {
        padding: 3rem 0;
    }
}

@media (max-width: 640px) {
    .logo-container img {
        height: 56px;
    }

    .site-title {
        font-size: 1.35rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .dropdown-menu {
        right: 1.4rem;
        left: 1.4rem;
        min-width: 0;
    }

    .dark-mode-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 46px;
        height: 46px;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* === KEYBOARD FOCUS === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gt-accent-bright);
    outline-offset: 3px;
}

/* === PRINT === */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    header,
    footer,
    .dark-mode-toggle,
    .hamburger-btn,
    .hamburger-menu,
    .lightbox {
        display: none !important;
    }

    .content-section,
    .contact-form,
    .testimonial-card,
    .page-card {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}
