/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Colors */
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --text: #111827;
    --text-light: #4b5563;
    --text-lighter: #9ca3af;
    --primary: #111827; /* Deep Black/Blue */
    --accent: #2563eb; /* Refined Blue */
    --border: #e5e7eb;
    
    /* Spacing */
    --container: 1200px;
    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 4rem;
    --gap-xl: 8rem;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

a { color: inherit; text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--gap-lg) 0;
}

.section-title {
    margin-bottom: var(--gap-md);
    position: relative;
    display: inline-block;
}

/* Header / Nav */
.site-header {
    padding: 2rem 0;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}
.site-header.scrolled {
    padding: 1rem 0;
    border-color: var(--border);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.main-nav { display: flex; gap: 2rem; }
.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
}
.hero-content { max-width: 800px; animation: fadeIn 1s ease; }
.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}
.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 99px; /* Pill shape */
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--primary);
}
.btn:hover {
    background: transparent;
    color: var(--primary);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    padding: 4rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

/* Anim */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .mobile-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .main-nav.active { display: flex; }
    h1 { font-size: 2.5rem; }
}
