/* ==========================================
   GLOBAL DESIGN SYSTEM
   Dr Puneet Premium Medical Website
   ========================================== */

:root {
    /* Brand colours */
    --brand-navy: #10243A;
    --brand-navy-deep: #0B1B2B;
    --brand-navy-light: #193752;
    --brand-gold: #C5A46D;
    --brand-gold-light: #D9BF91;
    --brand-white: #FFFFFF;
    /* Text colours */
    --text-primary: #243447;
    --text-secondary: #687789;
    --text-light: #F4F6F8;
    /* Backgrounds */
    --surface-white: #FFFFFF;
    --surface-light: #F5F7F9;
    --surface-dark: #10243A;
    /* Borders */
    --border-subtle: rgba(16, 36, 58, 0.12);
    /* Layout */
    --content-width: 1440px;
    --page-gutter: 18px;
    /* Shapes */
    --radius-small: 6px;
    --radius-card: 12px;
    --radius-pill: 999px;
    /* Shadows */
    --shadow-soft: 0 8px 28px rgba(11, 27, 43, 0.10);
    --shadow-navigation: 0 8px 30px rgba(0, 0, 0, 0.16);
    /* Animation */
    --transition-standard: 220ms ease;
    --font-heading: 'Outfit', Arial, sans-serif;
    --font-body: 'Outfit', Arial, sans-serif;
}


/* Global reset */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}


body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--surface-white);
    line-height: 1.6;
}


    /* Prevent background scrolling when drawer is open */

    body.menu-open {
        overflow: hidden;
    }


/* Shared container */

.container {
    width: min( calc(100% - (2 * var(--page-gutter))), var(--content-width) );
    margin-inline: auto;
}


/* Shared section spacing */

.section-padding {
    padding-block: 80px;
}


/* Shared heading colour */

.heading-primary {
    color: var(--brand-navy);
}


/* Shared muted text */

.text-muted {
    color: var(--text-secondary);
}


/* Shared gold accent */

.text-accent {
    color: var(--brand-gold);
}


/* Responsive section spacing */

@media (max-width: 768px) {

    .section-padding {
        padding-block: 55px;
    }
}


/* Accessibility */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 4px;
}


/* Respect reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}



/* ==========================================
   PAGE SECTION TEST LAYOUT
   ========================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

.page-section {
    min-height: 100vh;
    padding: 100px 0% 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 100px;
}

.section-placeholder {
    width: 100%;
    max-width: 1100px;
    min-height: 65vh;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(197, 164, 109, 0.35);
    border-radius: 24px;
    background: #f8f9fb;
}

.section-placeholder > span {
    color: #C5A46D;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.section-placeholder h1,
.section-placeholder h2 {
    color: #142D4E;
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 54px);
    margin-bottom: 16px;
}

.section-placeholder p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
    max-width: 600px;
}

/* Alternate section backgrounds */

#home,
#treatments,
#faqs,
#appointment {
    background: #ffffff;
}

#about,
#clinics,
#contact {
    background: #f1f4f8;
}

/* Mobile adjustments */

@media (max-width: 600px) {

    .page-section {
        padding: 83px 4px 15px;
    }

    .section-placeholder {
        min-height: 70vh;
        padding: 40px 20px;
    }

}
