/* MahleMD.com - Sophisticated High-End Design */
/* Premium aesthetic worthy of top Silicon Valley venture companies */

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

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #2a2a2a;
    font-weight: 400;
}

/* Sophisticated Color Palette */
:root {
    --primary-dark: #0a0a0a;
    --primary-charcoal: #1a1a1a;
    --secondary-gray: #2a2a2a;
    --accent-platinum: #e8e8e8;
    --background-pearl: #fafafa;
    --background-silver: #f5f5f5;
    --border-light: #e0e0e0;
    --shadow-subtle: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-strong: rgba(0, 0, 0, 0.16);
}

/* Container and Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section {
    padding: 6rem 0;
}

/* Premium Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    color: var(--primary-charcoal);
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Sophisticated Navigation Styling */
.nav-link {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: var(--primary-charcoal);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px var(--shadow-subtle);
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-medium);
    border-color: var(--primary-dark);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-charcoal) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px var(--shadow-medium);
}

/* Luxurious Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, var(--background-pearl) 50%, var(--background-silver) 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 32px 64px var(--shadow-strong);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.hero-image:hover img {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 40px 80px var(--shadow-strong);
}

/* Premium Content Sections */
.content-section {
    background: #ffffff;
    margin: 3rem 0;
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--shadow-subtle);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.content-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px var(--shadow-medium);
}

.content-inner {
    padding: 4rem;
}

/* Elegant Office Gallery */
.office-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.office-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.office-photo:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 24px 60px var(--shadow-strong);
}

.office-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sophisticated FAQ Styling */
.faq-item {
    background: linear-gradient(135deg, #ffffff 0%, var(--background-pearl) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: #ffffff;
    transform: translateX(8px);
    box-shadow: 0 8px 32px var(--shadow-subtle);
}

.faq-item:hover::before {
    width: 6px;
}

.faq-question {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.faq-answer {
    color: var(--secondary-gray);
    line-height: 1.8;
    font-weight: 400;
}

/* Premium Contact Form */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, var(--background-pearl) 100%);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 16px 48px var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

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

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-charcoal);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.25rem 1.75rem;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    color: var(--primary-charcoal);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-charcoal);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 100%);
    color: white;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px var(--shadow-medium);
    letter-spacing: 0.01em;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px var(--shadow-strong);
    background: linear-gradient(135deg, var(--primary-charcoal) 0%, var(--primary-dark) 100%);
}

/* Luxurious Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 100%);
    color: white;
    padding: 4rem;
    border-radius: 24px;
    margin-bottom: 4rem;
    box-shadow: 0 16px 48px var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.contact-info h3 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-detail strong {
    min-width: 100px;
    color: var(--accent-platinum);
    font-weight: 600;
}

/* Premium Call-to-Action Buttons */
.cta-button {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px var(--shadow-medium);
    margin: 0.75rem;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px var(--shadow-strong);
    background: linear-gradient(135deg, var(--primary-charcoal) 0%, var(--primary-dark) 100%);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #ffffff 0%, var(--background-pearl) 100%);
    color: var(--primary-dark);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 16px var(--shadow-subtle);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, var(--background-pearl) 0%, var(--background-silver) 100%);
    box-shadow: 0 8px 32px var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-container {
        padding: 1.25rem 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .nav-link {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .content-inner {
        padding: 3rem;
    }
    
    .office-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 3rem;
    }
    
    .contact-info {
        padding: 3rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        text-align: center;
        padding: 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .content-inner {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .cta-button {
        display: block;
        text-align: center;
        margin: 0.5rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Premium Focus Styles */
.nav-link:focus,
.form-input:focus,
.form-textarea:focus,
.submit-btn:focus,
.cta-button:focus {
    outline: 2px solid var(--primary-charcoal);
    outline-offset: 2px;
}

/* Footer Styling */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

footer p {
    color: var(--accent-platinum);
    margin-bottom: 0.5rem;
}

