/* ============================================================
   GOOGLE FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* ============================================================
   GLOBAL DESIGN SYSTEM — ROOT VARIABLES
============================================================ */

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey-light: #f4f4f4;
    --color-grey-mid: #e8e8e8;
    --color-grey-dark: #8e8e8e;
    --color-purple: #4a1c60;
    --color-gold: #bd9869;

    --font-h1: clamp(32px, 4vw, 45px);
    --font-h2: clamp(26px, 3vw, 36px);
    --font-h3: clamp(20px, 2.4vw, 28px);
    --font-h4: clamp(18px, 2vw, 22px);

    --font-body: clamp(16px, 0.7vw, 18px);
    --font-small: clamp(13px, 1.2vw, 16px);

    --lh-tight: 1.2;
    --lh-normal: 1.4;
    --lh-relaxed: 1.6;

    --font-heading: "Merriweather", serif;
    --font-body-family: "Open Sans", sans-serif;

    --space-xxs: clamp(4px, 0.5vw, 10px);
    --space-xs:  clamp(8px, 1vw, 14px);
    --space-sm:  clamp(14px, 1.5vw, 22px);
    --space-md:  clamp(20px, 2.5vw, 40px);
    --space-lg:  clamp(40px, 4vw, 80px);
    --space-xl:  clamp(60px, 6vw, 120px);

    --section-padding-y: clamp(40px, 6vw, 80px);
    --section-padding-x: clamp(20px, 4vw, 40px);

    --container-max-width: 1400px;
    --container-narrow: 900px;
}

/* ============================================================
   GLOBAL RESET
============================================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body-family);
    background: var(--color-white);
    color: var(--color-black);
    font-size: var(--font-body);
    line-height: var(--lh-relaxed);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.25s ease;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: var(--font-h1);
    line-height: var(--lh-tight);
    color: var(--color-gold);
}

h2 {
    font-size: var(--font-h2);
    line-height: var(--lh-tight);
    color: var(--color-gold);
}

h3 {
    font-size: var(--font-h3);
    line-height: var(--lh-normal);
    color: var(--color-purple);
}

h4 {
    font-size: var(--font-h4);
    line-height: var(--lh-normal);
    color: var(--color-purple);
}

p {
    font-size: var(--font-body);
    margin-bottom: var(--space-sm);
}

/* ============================================================
   CONTAINERS & SECTION WRAPPER
============================================================ */

.container,
.content-wrap {
    max-width: var(--container-max-width);
    margin: auto;
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

section,
.block-section,
.section-wrapper {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

/* ============================================================
   UTILITIES
============================================================ */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.max-width-narrow { max-width: var(--container-narrow); margin: auto; }

/* ============================================================
   CTA BUTTON SYSTEM (CLEAN – NO NAV ICONS AFFECTED)
============================================================ */

.button,
.cta-button,
a.button,
a.cta-button,
input[type="submit"],
input[type="button"],
.contact-us__button,
.features__button {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    color: var(--color-purple);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.25s ease;
    text-align: center;
}

/* Hover */
.button:hover,
.cta-button:hover,
a.button:hover,
a.cta-button:hover,
input[type="submit"]:hover,
.contact-us__button:hover,
.features__button:hover {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

/* DO NOT STYLE NAV BUTTONS */
/* SAFE VERSION — ONLY TARGETS ACTUAL FORM BUTTONS INSIDE NAV */
nav button[type="submit"],
nav button[type="button"] {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* Remove focus outlines globally except text fields */
:focus { outline: none !important; }

/* ============================================================
   GRID + FLEX
============================================================ */

.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-column { display: flex; flex-direction: column; }

.grid { display: grid; }
.grid-center { display: grid; place-items: center; }

/* ============================================================
   RESPONSIVE OVERRIDES (Optimised & Clean)
============================================================ */

@media (max-width: 1024px) {
    .container,
    .content-wrap { max-width: 900px; }

    h1, h2 { text-align: center; }
}

@media (max-width: 768px) {
    .container,
    .content-wrap {
        max-width: 92%;
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .grid,
    .flex { grid-template-columns: 1fr !important; flex-direction: column; }
}

@media (max-width: 480px) {
    html { font-size: 90%; }

    section { padding-left: var(--space-sm); padding-right: var(--space-sm); }

    button,
    .button,
    .cta-button { width: 100%; max-width: 260px; margin: auto; }
}

/* ============================================================
   GLOBAL CTA BUTTON SYSTEM (with responsive font sizes)
============================================================ */

.button,
.cta-button,
a.button,
a.cta-button,
input[type="submit"],
input[type="button"],
.contact-us__button,
.features__button,
.developments-grid__content .btn {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    color: var(--color-purple);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.25s ease;
    text-align: center;
}


/* Hover */
.button:hover,
.cta-button:hover,
a.button:hover,
a.cta-button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.contact-us__button:hover,
.features__button:hover {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

/* Tablet + Mobile CTA font size */
@media (max-width: 1024px) {
    .button,
    .cta-button,
    a.button,
    a.cta-button,
    input[type="submit"],
    input[type="button"],
    .contact-us__button,
    .features__button {
        font-size: 14px;
    }
}

/* ============================================================
   CTA BUTTON UNIFICATION
   (Desktop: 16px, Tablet/Mobile: 14px)
============================================================ */

/* All CTA-like buttons */
:where(
    .button,
    .cta-button,
    a.button,
    a.cta-button,
    .btn,
    [class$="__button"],
    input[type="submit"],
    input[type="button"]
) {
    font-size: 16px;
}

/* Tablet + Mobile CTA size */
@media (max-width: 1024px) {
    :where(
        .button,
        .cta-button,
        a.button,
        a.cta-button,
        .btn,
        input[type="submit"],
        input[type="button"]
    ) {
        font-size: 14px;
    }
}

.nav-toggle {
    all: unset !important;
    position: absolute !important;
    right: 40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 30px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ============================================================
   GLOBAL CTA BUTTON SYSTEM — UNIVERSAL BASE STYLE
============================================================ */

.cta,
.button,
a.button,
.cta-button,
input[type="submit"],
input[type="button"],
[class$="__button"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    /* Global spacing baseline */
    padding: 14px 28px;  /* Desktop default */
    
    /* Global typography */
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    /* Global look */
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    color: var(--color-purple);

    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;

    white-space: nowrap;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
}

/* Hover (global) */
.cta:hover,
.button:hover,
a.button:hover,
.cta-button:hover,
[class$="__button"]:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

/* TABLET + MOBILE */
@media (max-width: 1024px) {
    .cta,
    .button,
    a.button,
    .cta-button,
    input[type="submit"],
    [class$="__button"] {
        font-size: 14px;
        padding: 12px 22px;
    }
}

@media (max-width: 767px) {
    .cta,
    .button,
    a.button,
    .cta-button,
    input[type="submit"],
    [class$="__button"] {
        padding: 10px 20px;
    }
}

/* ============================================
   HEADER NAV TYPOGRAPHY — GLOBAL-ALIGNED
============================================ */

.nav-menu a {
    font-family: var(--font-heading) !important;
    font-size: var(--font-small) !important;
    line-height: var(--lh-normal) !important;
    font-weight: 700 !important;
    color: var(--color-gold);
}

@media (max-width: 1024px) {
    .nav-menu a {
        font-size: var(--font-small) !important;
        text-align: center !important;
    }
}

/* ============================================
   FOOTER TYPOGRAPHY — GLOBAL ALIGNMENT
============================================ */

/* Footer body text */
.site-footer p,
.site-footer a,
.footer-bottom {
    font-family: var(--font-body-family) !important;
    font-size: var(--font-body) !important;
    line-height: var(--lh-relaxed) !important;
}

/* Footer headings (e.g. “Kuber Projects”) */
.site-footer .title,
.site-footer .title strong {
    font-family: var(--font-heading) !important;
    font-size: var(--font-h4) !important;
    font-weight: 700 !important;
    line-height: var(--lh-tight) !important;
    color: var(--color-gold) !important;
}

/* Footer menu links */
.footer-menu a {
    font-family: var(--font-heading) !important;
    font-size: var(--font-small) !important;
    line-height: var(--lh-normal) !important;
    font-weight: 700 !important;
    color: #fff !important;
}

@media (max-width: 1024px) {
    .site-footer p,
    .site-footer a,
    .footer-bottom {
        font-size: var(--font-small) !important;
        line-height: var(--lh-normal) !important;
        text-align: center !important;
    }

    .site-footer .title strong {
        text-align: center !important;
    }
}

/* ============================================================
   MOBILE TYPOGRAPHY FIX — HEADER NAV + FOOTER
   Increase size to global body font for better legibility
============================================================ */
@media (max-width: 767px) {

    /* Mobile nav menu links */
    .nav-menu a {
        font-size: var(--font-body) !important;
        line-height: var(--lh-normal) !important;
    }

    /* Footer body text + links */
    .site-footer p,
    .site-footer a,
    .footer-bottom {
        font-size: var(--font-body) !important;
        line-height: var(--lh-relaxed) !important;
    }

    /* Footer headings (e.g. “Kuber Projects”) */
    .site-footer .title,
    .site-footer .title strong {
        font-size: var(--font-h4) !important;
        line-height: var(--lh-tight) !important;
        text-align: center !important;
        display: block;
    }

    /* Footer menu links */
    .footer-menu a {
        font-size: var(--font-body) !important;
        line-height: var(--lh-normal) !important;
    }
}

/* ============================================
   FIX NAV LINK SIZE ON TABLET + MOBILE
   Force 14px, ignore clamp(), override safely
============================================ */
@media (max-width: 1024px) {
    .nav-menu a {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 768px) {
    .nav-menu a {
        font-size: 14px !important; /* stays 14px on mobile */
        line-height: 1.4 !important;
    }
}

/* FOOTER LINKS — GOLD HOVER (no underline) */
.site-footer a:hover,
.footer-menu a:hover,
.footer-bottom a:hover {
    color: var(--color-gold) !important;
    text-decoration: none !important;
}

/* STACK FOOTER EARLIER — BEFORE 1130px */
@media (max-width: 1200px) {
    .footer-grid {
        display: block !important;
    }

    .footer-col,
    .footer-col-logo-col,
    .footer-col-text-col {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 40px !important;
        text-align: center !important;
    }

    .footer-menu {
        text-align: center !important;
    }
}

/* Center footer logo + copyright on stacked layout */
@media (max-width: 1200px) {

    /* Center the LOGO column */
    .footer-col-logo-col,
    .footer-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Center the COPYRIGHT line */
    .footer-bottom,
    .footer-bottom p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .nav-menu a {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 768px) {
    .nav-menu a {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}

/* ============================================================
   GLOBAL PURPLE SECTION HEADING — CONSISTENT TYPOGRAPHY ONLY
   Matches Content + Image Split H2 heading
   ❗ No text-align included
============================================================ */

.section-heading,
.approach-block__heading,
.team-feature__heading,
.content-image-split__eyebrow, 
.content-image-clean__heading {
    font-family: var(--font-heading);
    font-size: var(--font-h2);
    font-weight: 700;
    color: var(--color-purple);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-md);
}

