CSS

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fdfdfd;
}

/* --- Navigation Header --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #0b1325; /* Deep, professional navy */
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Cinzel', serif; /* Elegant, editorial serif for legal branding */
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links .btn-primary {
    background-color: #1e3a8a;
    padding: 8px 16px;
    border-radius: 4px;
    color: #fff;
}

.nav-links .btn-primary:hover {
    background-color: #2563eb;
}

/* --- Hero Section (with Optics Lab Background) --- */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    /* Placeholder image path - replace with your actual image file */
    background-image: url('photo-optics-01.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Semi-transparent dark overlay to make text highly readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 37, 0.4); /* Deep navy tint */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/*.hero-content .tagline {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #e2e8f0;
}*/
.hero-content .tagline {
    font-size: 1.35rem;
    font-weight: 400; /* Bumped to 400 so the outline looks cleaner on the letters */
    margin-bottom: 40px;
    line-height: 1.8;
    color: #ffffff; /* Crisp white for the core text filling */
    
    /* 8-way text shadow grid using your signature gold/yellow tone */
    text-shadow: 
        -1px -1px 0 #d4af37,  1px -1px 0 #d4af37, -1px  1px 0 #d4af37,  1px  1px 0 #d4af37,
        -1px  0px 0 #d4af37,  1px  0px 0 #d4af37,  0px -1px 0 #d4af37,  0px  1px 0 #d4af37;
     
    /* Native stroke rendering */
    /*-webkit-text-stroke: 1px #d4af37;*/
}


.btn-action {
    background-color: #d4af37; /* Clean gold accent color */
    color: #0b1325;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-action:hover {
    background-color: #f3cf5b;
}

/* --- Practice Areas Section --- */
.services-section {
    padding: 80px 40px;
    text-align: center;
    background-color: #fff;
}

.services-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0b1325;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    border-radius: 6px;
    flex: 1;
    min-width: 280px;
    text-align: left;
    border-top: 4px solid #1e3a8a;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #0b1325;
    font-size: 1.25rem;
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 40px;
    background-color: #0b1325;
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-section p {
    color: #94a3b8;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #334155;
    background-color: #1e293b;
    color: #fff;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.contact-form input::placeholder, 
.contact-form textarea::placeholder {
    color: #64748b;
}

.btn-submit {
    background-color: #d4af37;
    color: #0b1325;
    border: none;
    padding: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #f3cf5b;
}

/* --- Footer --- */
.main-footer {
    background-color: #020617;
    color: #64748b;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    border-top: 1px solid #1e293b;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content .tagline {
        font-size: 1.1rem;
    }
    .main-header {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- Premium Biography Section --- */
.bio-section-premium {
    position: relative;
    padding: 100px 40px;
    /* Replace with your second lab photo filename if different */
    background-image: url('photo-optics-02.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: gives a nice parallax scrolling effect */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Semi-transparent dark container to house the text securely */
.bio-glass-panel {
    background: rgba(11, 19, 37, 0.92); /* Deep navy tint matching header */
    border: 1px solid rgba(212, 175, 55, 0.2); /* Subtle gold border edge */
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    padding: 60px 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    color: #e2e8f0; /* Crisp off-white text for readability */
    line-height: 1.8;
}

.bio-glass-panel h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #d4af37; /* Antique Gold Title */
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 2px;
}

.bio-lead {
    font-size: 1.2rem;
    color: #f8fafc;
    margin-bottom: 25px;
}

.bio-lead strong {
    color: #d4af37; /* Pops the name out in gold */
}

/* Grid Layout for the Credentials */
.bio-highlights-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.highlight-card {
    background: rgba(15, 23, 42, 0.6); /* Slightly darker box contrast */
    border-left: 4px solid #d4af37; /* Gold accent pillar */
    padding: 25px;
    border-radius: 0 8px 8px 0;
}

.highlight-card h3 {
    font-family: 'Inter', sans-serif;
    color: #d4af37;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
}

.bio-footer-premium {
    font-weight: 400;
    font-size: 1.1rem;
    color: #f3cf5b; /* Soft gold signature conclusion */
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
}

/* Responsive fixes for mobile devices */
@media (max-width: 768px) {
    .bio-section-premium {
        padding: 40px 20px;
    }
    .bio-glass-panel {
        padding: 30px 20px;
    }
    .bio-glass-panel h2 {
        font-size: 1.8rem;
    }
    .bio-highlights-premium {
        grid-template-columns: 1fr;
    }
}