/* ============================================
   The Luminous Smile — Refined Dental Practice
   Classic & Elegant Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy-deep: #0a1628;
    --navy: #132744;
    --navy-light: #1e3a5f;
    --navy-muted: #2a4a72;
    
    --gold: #c9a84c;
    --gold-light: #d4b76a;
    --gold-dark: #b08d3a;
    --gold-muted: rgba(201, 168, 76, 0.15);
    
    --cream: #f8f6f1;
    --cream-light: #fdfcfa;
    --cream-dark: #efe9dd;
    --warm-gray: #8a8578;
    --warm-gray-light: #b5aea3;
    
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-body: #3a3a3a;
    --text-muted: #6b6b6b;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.12);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--cream-light);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 400;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy-deep);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

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

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a:not(.btn):hover {
    color: var(--white);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-deep);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        var(--navy-deep) 0%,
        var(--navy) 40%,
        rgba(19, 39, 68, 0.85) 60%,
        transparent 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content {
    max-width: 580px;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-tagline::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream-light);
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    background: var(--gold-muted);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content .lead {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--navy);
    font-weight: 400;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-tag {
    color: var(--gold);
}

.section-header .section-title {
    color: var(--white);
}

.section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    color: var(--gold);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-sm);
    color: var(--gold-dark);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-item a {
    color: var(--gold-dark);
}

/* --- Form --- */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-dark);
}

.contact-form-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--gold);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location {
    padding: 100px 0;
    background: var(--cream-light);
    text-align: center;
}

.location-content {
    max-width: 600px;
    margin: 0 auto;
}

.location-content .section-tag {
    justify-content: center;
    display: inline-flex;
    padding-left: 32px;
}

.location-content .section-title {
    margin-bottom: 20px;
}

.location-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.location-content .btn {
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-deep);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo-text {
    font-size: 1.6rem;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-tagline {
        justify-content: center;
    }
    
    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-image img {
        height: 450px;
    }
    
    .hero-image::before {
        display: none;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}
