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

:root {
    --primary: #0a192f;
    --primary-light: #172a45;
    --secondary: #8b0000;
    --secondary-light: #a52a2a;
    --accent: #d4af37;
    --bg-light: #fdfbf7;
    --bg-dark: #020c1b;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #e6f1ff;
    --border-color: #e0dcd3;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600; }

p { margin-bottom: var(--spacing-sm); font-size: 1.125rem; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }
.font-serif { font-family: var(--font-heading); }
.drop-cap::first-letter {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary);
    float: left;
    margin-right: 0.5rem;
    line-height: 1;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}
header.scrolled .logo { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}
header.scrolled .nav-links a { color: var(--primary); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-light);
    margin: 6px 0;
    transition: var(--transition);
}
header.scrolled .menu-toggle span { background: var(--primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn-primary {
    background: var(--secondary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary);
    color: white;
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

section.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
section.bg-dark h2, section.bg-dark h3 { color: white; }
section.bg-dark p { color: var(--text-light); }
section.bg-accent { background-color: var(--accent); color: var(--primary); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10,25,47,0.9) 0%, rgba(10,25,47,0.5) 100%);
    z-index: -1;
}
.hero-content {
    max-width: 800px;
    color: white;
}
.hero-content h1 { color: white; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.25rem; margin-bottom: 2.5rem; color: #e6f1ff; }

/* Grids & Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md); }

/* Editorial Block */
.editorial-block {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.editorial-block.reverse { flex-direction: column-reverse; }
@media (min-width: 992px) {
    .editorial-block { flex-direction: row; align-items: center; }
    .editorial-block.reverse { flex-direction: row-reverse; }
    .editorial-content, .editorial-image { flex: 1; }
    .editorial-content { padding: 0 var(--spacing-md); }
}
.editorial-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* Service Cards (Niche Specific) */
.service-card {
    background: white;
    border-top: 4px solid var(--primary);
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top-color: var(--secondary);
}
.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.service-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.service-card p { flex-grow: 1; color: var(--text-muted); font-size: 1rem; }
.service-link {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}
.service-card:hover .service-link::after { transform: translateX(5px); }

/* Statistics/Fact Section */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 4rem 0; }
.stat-item h4 { font-size: 3.5rem; color: var(--secondary); margin-bottom: 0.5rem; }
.stat-item p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 700; color: var(--text-main); }

/* Footer */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--spacing-lg); margin-bottom: var(--spacing-lg); }
footer h4 { color: white; font-size: 1.2rem; margin-bottom: 1.5rem; }
footer p { color: #a8b2d1; font-size: 0.95rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: #a8b2d1; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: #a8b2d1; font-size: 0.85rem; }
.footer-bottom a { color: #a8b2d1; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Mobile Responsiveness */
@media (max-width: 991px) {
    :root {
        --spacing-lg: 2.5rem;
        --spacing-xl: 4rem;
    }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .nav-links a { color: white; font-size: 1.5rem; }
    header.scrolled .menu-toggle span { background: var(--primary); }
    .hero-content { text-align: center; padding: 0 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
