:root {
    --bg-dark: #0b1623;
    --bg-darker: #050b11;
    --text-light: #f5f5f5;
    --text-muted: #a0aab5;
    --gold: #c5a059;
    --gold-hover: #d4b06a;
    --white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-ui: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Helpers */
.highlight {
    color: var(--gold);
}

.section-tag {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.center {
    text-align: center;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 5px;
}

.line {
    width: 0;
    height: 1px;
    background: var(--gold);
    margin-top: 10px;
    animation: loadLine 1.5s ease-in-out forwards;
}

@keyframes loadLine {
    to { width: 100%; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--bg-dark);
}

.btn-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.5rem;
}

.btn-gold:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(11, 22, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar .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(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo .icon {
    color: var(--gold);
}

.logo .thin {
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
}

.nav-links a:not(.btn-gold)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-gold):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?ixlib=rb-4.0.3&auto=format&fit=crop&w=2400&q=80'); /* Legal/Architecture Background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 22, 35, 0.9) 0%, rgba(11, 22, 35, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.subtitle {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero .title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 1px solid var(--white);
    border-radius: 13px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 1px;
    animation: scrollMouse 2s infinite;
}

.scroll-indicator span {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Intro Section */
.intro-section {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.intro-text h2 em {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--gold);
}

.intro-text .lead {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.intro-text p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.signature {
    margin-top: 2rem;
}

.signature span {
    font-family: 'Great Vibes', cursive; /* Assuming fallback or use standard cursive */
    font-size: 2rem;
    color: var(--gold);
}

.signature p {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-left: 1px solid var(--border-color);
    padding-left: 3rem;
}

.stat-item .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

/* Practice Areas */
.practice-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.practice-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: var(--gold);
    transition: height 0.4s ease;
}

.practice-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.practice-card:hover::before {
    height: 100%;
}

.icon-box {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.practice-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.read-more {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.practice-card:hover .read-more i {
    transform: translateX(5px);
}

/* Quote Section */
.quote-section {
    padding: 10rem 0;
    background-image: url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?ixlib=rb-4.0.3&auto=format&fit=crop&w=2400&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.quote-section .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 22, 35, 0.85);
}

.quote-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-content blockquote {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 2rem;
}

.quote-content cite {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-style: normal;
}

/* Team Section */
.team-section {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-card {
    group: relative;
}

.image-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.team-card:hover .placeholder-img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--gold);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-card:hover .social-links {
    transform: translateY(0);
}

.social-links a {
    color: var(--bg-dark);
    font-size: 1.2rem;
}

.team-card .info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card .info .role {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-list .item {
    display: flex;
    gap: 1.5rem;
}

.info-list i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 0.3rem;
}

.info-list h4 {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-list p {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-form-wrapper {
    background-color: var(--bg-dark);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* Footer */
footer {
    background-color: #020406;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.link-col h4 {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.link-col ul li {
    margin-bottom: 0.8rem;
}

.link-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.link-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p,
.footer-bottom a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a:hover {
    color: var(--white);
}

/* Scroll Animation Classes */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header (Inner Pages) */
.page-header {
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 22, 35, 0.95) 0%, rgba(11, 22, 35, 0.7) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--white);
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--gold);
}

/* Inner Page Content */
.page-content {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.content-block {
    margin-bottom: 4rem;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Sidebar (for Practice Areas/Blog) */
.sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.sidebar-widget {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
}

.widget-title {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--gold);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.sidebar-links li {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}

.sidebar-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-links a {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

.sidebar-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
    }

    .hero .title {
        font-size: 3rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-stats {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 2rem;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
