:root {
    --primary-teal: #199499;
    --primary-teal-dark: #127a7e;
    --rich-black: #1A1A1A;
    --clean-white: #FFFFFF;
    --off-white: #f9f9f9;
    --gray-light: #e0e0e0;
    --text-gray: #4a4a4a;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-logo: 'Cinzel', serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    color: var(--rich-black);
    background-color: var(--clean-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--off-white);
}

.bg-white {
    background-color: var(--clean-white);
}

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

/* Header */
.site-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.monogram-svg {
    width: 100%;
    height: 100%;
}

.monogram-svg .frame {
    fill: none;
    stroke: var(--primary-teal);
    stroke-width: 3;
}

.monogram-svg .monogram-text {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 40px;
    fill: var(--rich-black);
    dominant-baseline: middle;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rich-black);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tagline {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--primary-teal);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.btn-cta {
    padding: 10px 25px;
    border: 1px solid var(--primary-teal);
    color: var(--primary-teal) !important;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--primary-teal);
    color: white !important;
}

.btn-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/hero-bg.jpg'); /* Need to handle missing image */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0; /* Header is fixed, but let's handle overlap */
}

/* Fallback background if image missing */
.hero-section {
    background-color: #f0f4f4; 
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Light overlay for high-end feel */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--rich-black);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: white;
    border: 1px solid var(--primary-teal);
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: var(--primary-teal-dark);
    border-color: var(--primary-teal-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--rich-black);
    border: 1px solid var(--rich-black);
}

.btn-outline:hover {
    background-color: var(--rich-black);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary-teal);
    border: 1px solid white;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

/* About Section */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.align-items-center {
    align-items: center;
}

.col-text, .col-image {
    flex: 1;
    min-width: 300px;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-teal);
}

.text-center .section-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--rich-black);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.text-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-teal);
    font-weight: 600;
    border-bottom: 1px solid var(--primary-teal);
}

.image-frame {
    border: 1px solid var(--primary-teal);
    padding: 15px;
    position: relative;
}

.placeholder-img {
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
}

/* Practice Grid */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: var(--spacing-md);
}

.card {
    background: white;
    padding: 40px 30px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-teal);
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-teal);
    padding: var(--spacing-lg) 0;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 10px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--rich-black);
    color: white;
    padding: var(--spacing-lg) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.logo-serif {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-list li, .footer-links li {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--rich-black);
        position: absolute;
        transition: 0.3s;
    }
    
    .mobile-menu-toggle span:nth-child(1) { top: 0; }
    .mobile-menu-toggle span:nth-child(2) { top: 9px; }
    .mobile-menu-toggle span:nth-child(3) { top: 18px; }
    
    .main-nav .nav-list {
        display: none; /* Hide for now, requires JS toggle */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .main-nav.active .nav-list {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Practice Pages */
.practice-item {
    margin-bottom: 60px;
    scroll-margin-top: 100px; /* Offset for sticky header */
}

.practice-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.practice-content {
    font-size: 1.05rem;
    color: var(--text-gray);
}

.service-list {
    margin-top: 20px;
    list-style: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-list li::before {
    content: '•';
    color: var(--primary-teal);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.divider {
    border: 0;
    height: 1px;
    background-color: var(--gray-light);
    margin: 60px 0;
}

/* Team Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border: 1px solid var(--gray-light);
    padding: 40px;
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.member-info h3 {
    color: var(--primary-teal);
    margin-bottom: 5px;
}

.member-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rich-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-gray);
    text-align: justify;
}

/* Contact Page */
.contact-details {
    margin-top: 30px;
}

.contact-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-light);
}

.contact-block:last-child {
    border-bottom: none;
}

.contact-block h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-block p {
    margin-bottom: 8px;
    color: var(--text-gray);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.map-section {
    width: 100%;
    margin-bottom: -5px; /* Remove gap before footer */
}
