@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Fira+Code:wght@400;500&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── User Defined Color Palette ── */
    --bg:             #FAF7F5; /* Warm Ivory (Main background) */
    --bg-alt:         #F3E8E8; /* Soft Rose (Navbar / sections) */
    --bg-subtle:      #EAE0E1;
    --surface:        #FFFFFF; /* Cards */
    --surface-hover:  #FFFFFF;

    /* ── Typography Colors ── */
    --text-title:     #3B2434; /* Deep Plum (Primary content/title) */
    --text:           #332F32; /* Charcoal (Normal text) */
    --text-sub:       #756C70; /* Muted Gray (Secondary text) */
    --text-muted:     #968C91;

    /* ── Accents & Buttons ── */
    --accent:         #9A6A7A; /* Dusty Mauve (Main accent) */
    --accent-hover:   #8A596B; /* Mauve (Button hover) */
    --accent-vibrant: #C58C9B; /* Muted Rose (Secondary accent) */
    --accent-light:   rgba(154, 106, 122, 0.10);
    --accent-glow:    rgba(154, 106, 122, 0.25);
    
    --secondary-accent: #C58C9B; /* Muted Rose */
    --secondary-light:  rgba(197, 140, 155, 0.12);

    /* ── Buttons ── */
    --btn-bg:         #3B2434; /* Deep Plum */
    --btn-hover:      #8A596B; /* Mauve */
    --btn-text:       #FFFFFF;

    /* ── Gradients ── */
    --grad-primary:   linear-gradient(135deg, #3B2434 0%, #9A6A7A 50%, #C58C9B 100%);
    --grad-accent:    linear-gradient(135deg, #9A6A7A 0%, #C58C9B 100%);
    --grad-surface:   linear-gradient(180deg, #FFFFFF 0%, #FAF7F5 100%);
    --grad-text:      linear-gradient(135deg, #3B2434 20%, #9A6A7A 100%);

    /* ── Borders ── */
    --border:         #E4D9DA; /* Soft Taupe */
    --border-h:       #C58C9B; /* Hover border */
    --border-focus:   #9A6A7A;

    /* ── Radius & Shadows ── */
    --radius-sm:      6px;
    --radius:         10px;
    --radius-lg:      16px;
    --radius-xl:      24px;

    --shadow-sm:      0 1px 3px rgba(59, 36, 52, 0.04), 0 1px 2px rgba(59, 36, 52, 0.02);
    --shadow:         0 4px 20px -2px rgba(59, 36, 52, 0.06), 0 2px 6px -1px rgba(59, 36, 52, 0.03);
    --shadow-h:       0 20px 35px -4px rgba(59, 36, 52, 0.09), 0 10px 15px -3px rgba(59, 36, 52, 0.04);
    --shadow-glow:    0 8px 30px rgba(154, 106, 122, 0.20);

    /* ── Spacing ── */
    --section-pad:    75px 8%;
    --max-w:          1120px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.65;
}

section {
    padding: var(--section-pad);
    position: relative;
}

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

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

/* ── Section Label ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ── Heading Styles ── */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-title);
}

.heading-line {
    width: 100%;
    height: 3px;
    background: var(--grad-accent);
    border-radius: 3px;
    margin-top: 0.75rem;
}

h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--text-title);
    letter-spacing: -0.5px;
}

/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
