/* =========================
   Design Tokens
   Update these values later to match the final reference palette.
   ========================= */
:root {
    --primary-color: #4A2E1E;
    --secondary-color: #B87333;
    --gold-color: #c89b3c;
    --topbar-bg: #A67C52;
    --header-bg: #F7F2EC;
    --footer-bg: #0f0f0f;
    --text-dark: #4A2E1E;
    --text-light: #FFFFFF;
    --bg-light: #fbfbfb;
    --bg-cream: #F7F2EC;
    --bg-white: #FFFFFF;
    --border-color: #e0d6cc;
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.06);
    --container-width: 1160px;
    --topbar-height: 42px;
    --nav-height: 76px;
    --header-height: calc(var(--topbar-height) + var(--nav-height));
    --transition: 220ms ease;
}

/* =========================
   Base Reset
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    color: var(--text-dark);
    background: var(--bg-white);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.7;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* Shared layout utility for consistent horizontal rhythm. */
.container {
    width: min(100% - 40px, var(--container-width));
    margin: 0 auto;
}

.section {
    padding: 96px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--gold-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.hero-content h1 {
    margin: 0;
    color: var(--primary-color);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.12;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.section-heading p {
    margin: 16px auto 0;
    color: rgba(74, 46, 30, 0.76);
    font-size: 1rem;
}

/* =========================
   Buttons
   ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary,
.btn-submit {
    color: var(--text-light);
    background: var(--gold-color);
    box-shadow: 0 14px 32px rgba(200, 155, 60, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-submit:hover,
.btn-submit:focus-visible {
    background: #a67c2a;
}

/* =========================
   Header and Navigation
   ========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.topbar {
    min-height: var(--topbar-height);
    color: var(--text-light);
    background: var(--topbar-bg);
    font-size: 0.88rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-height);
    gap: 18px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.94);
}

.topbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #5b3a24;
    background: var(--bg-white);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 40px, var(--container-width));
    height: var(--nav-height);
    margin: 0 auto;
}

.logo {
    color: var(--primary-color);
    font-family: "Yatra One", "Playfair Display", Georgia, serif;
    font-size: clamp(1.2rem, 4vw, 1.58rem);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--secondary-color);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--primary-color);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Hero
   ========================= */
.hero-section {
    position: relative;
    display: grid;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    color: var(--text-light);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(74, 46, 30, 0.28) 44%, rgba(0, 0, 0, 0.72) 100%),
        url("3.jpeg") center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: min(100% - 40px, 1240px);
    padding: 80px 0;
}

.hero-copy {
    width: min(100%, 540px);
    transform: translateX(clamp(0px, calc((100vw - 1320px) * 0.35), 84px));
}

.hero-content h1 {
    max-width: 720px;
    color: var(--text-light);
    font-family: "Yatra One", "Playfair Display", Georgia, serif;
    font-size: clamp(2.55rem, 6vw, 4.75rem);
}

.hero-subtitle {
    max-width: 620px;
    margin: 24px 0 34px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.hero-copy .btn {
    width: auto;
}

/* =========================
   Services
   ========================= */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    overflow: hidden;
    min-height: 360px;
    padding: 0 0 26px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
    border-color: rgba(200, 155, 60, 0.65);
    box-shadow: var(--shadow-soft);
    transform: translateY(-6px);
}

.service-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bg-cream);
}

.service-card:nth-child(1) .service-image {
    object-position: center 100%;
}

.service-card:nth-child(5) .service-image {
    object-position: center 20%;
}

.service-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin: -28px 24px 18px;
    position: relative;
    z-index: 1;
    place-items: center;
    border-radius: 8px;
    color: var(--gold-color);
    background: var(--bg-white);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    font-size: 1.45rem;
}

.service-card h3 {
    margin: 0 24px 12px;
    color: var(--primary-color);
    font-size: 1.08rem;
    line-height: 1.35;
}

.service-card p {
    margin: 0 24px;
    color: rgba(74, 46, 30, 0.74);
    font-size: 0.95rem;
}

/* =========================
   Contact
   ========================= */
.contact-section {
    background: var(--bg-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 36px;
    align-items: start;
}

.contact-form,
.contact-details {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 34px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    background: var(--bg-white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input,
.form-row select {
    height: 52px;
    padding: 0 16px;
}

.form-row textarea {
    min-height: 140px;
    padding: 14px 16px;
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.14);
}

.btn-submit {
    justify-self: start;
    min-width: 172px;
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-details {
    padding: 34px;
}

.profile-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border-color);
}

.profile-image {
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    border: 3px solid rgba(200, 155, 60, 0.34);
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-light);
}

.profile-card h3 {
    margin: 0 0 6px;
    color: var(--primary-color);
    font-size: 1.25rem;
    line-height: 1.25;
}

.profile-card p,
.contact-note p {
    margin: 0;
    color: rgba(74, 46, 30, 0.74);
}

.details-list {
    display: grid;
    gap: 18px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.details-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.details-list i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: var(--gold-color);
    background: rgba(200, 155, 60, 0.12);
}

.details-list a {
    overflow-wrap: anywhere;
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition);
}

.details-list a:hover,
.details-list a:focus-visible {
    color: var(--secondary-color);
}

.contact-note {
    padding: 18px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    background: var(--bg-light);
}

/* =========================
   Footer
   ========================= */
.site-footer {
    padding: 28px 0;
    color: rgba(255, 255, 255, 0.8);
    background: var(--footer-bg);
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.92rem;
}

/* =========================
   Responsive Layout
   ========================= */
@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    :root {
        --topbar-height: 0px;
        --nav-height: 70px;
        --header-height: var(--nav-height);
    }

    .section {
        padding: 76px 0;
    }

    .topbar {
        display: none;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: 20px;
        left: 20px;
        display: grid;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--bg-white);
        box-shadow: var(--shadow-soft);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity var(--transition), transform var(--transition);
    }

    .nav-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        padding: 14px 12px;
    }

    .nav-link::after {
        display: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container,
    .navbar {
        width: min(100% - 28px, var(--container-width));
    }

    .hero-section {
        min-height: 680px;
        background-position: 36% center;
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(74, 46, 30, 0.36)),
            url("3.jpeg");
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-copy {
        transform: none;
    }

    .hero-content {
        padding: 72px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .contact-form,
    .contact-details {
        padding: 24px;
    }

    .profile-card {
        align-items: flex-start;
    }
}

@media (max-width: 460px) {
    .btn,
    .btn-submit {
        width: 100%;
    }

    .profile-card {
        display: grid;
    }

    .details-list li {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .details-list i {
        width: 36px;
        height: 36px;
    }
}
