/* ============================================
   MUDr. Martina Volfová — Zubní ordinace Nusle
   Design: Clean, warm, trustworthy dental
   Colors: Soft teal + warm rose gold accents
   ============================================ */

:root {
    --primary: #3b8f9e;
    --primary-light: #5ab3c2;
    --primary-dark: #1e5f6b;
    --accent: #c28a6e;
    --accent-light: #e0b89e;
    --bg: #f8fafb;
    --bg-warm: #faf5f0;
    --bg-card: #ffffff;
    --text: #2d3748;
    --text-light: #64748b;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(59, 143, 158, 0.08);
    --shadow-lg: 0 12px 48px rgba(59, 143, 158, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--primary-light); }

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.nav-bar.scrolled { box-shadow: var(--shadow); }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
}
.logo-icon { font-size: 1.4rem; }

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-mobile-btn {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}

.mobile-menu {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px;
}
.mobile-link {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
}
.mobile-link:hover, .mobile-link.active {
    background: rgba(59,143,158,0.06);
    color: var(--primary);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, #4da3b3 80%, #5bb8c8 100%);
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
/* Decorative shapes in hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    z-index: 0;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.92);
    max-width: 560px;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(194,138,110,0.35);
}
.btn-primary:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194,138,110,0.4);
}
.btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}
.btn-outline {
    display: inline-block;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    transition: all 0.2s;
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* Trust Section */
.trust-section {
    background: var(--bg-card);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}
.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-item { text-align: center; padding: 0 20px; }
.trust-number {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 4px;
}
.trust-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* Section Styling */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text);
    margin-bottom: 12px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* Services Preview */
.services-preview-section { padding: 80px 0; background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.service-card.featured {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.service-card.featured h3 { color: white; }
.service-card.featured p { color: rgba(255,255,255,0.85); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* About Preview */
.about-preview-section { padding: 80px 0; background: var(--bg-warm); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrapper { display: flex; justify-content: center; }
.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.about-image-placeholder::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.about-image-placeholder.large {
    max-width: 360px;
    aspect-ratio: 3/4;
}
.placeholder-icon { font-size: 5rem; opacity: 0.9; position: relative; z-index: 1; }
.placeholder-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.placeholder-sub { font-size: 0.85rem; color: rgba(255,255,255,0.7); position: relative; z-index: 1; }

.about-text .section-title { text-align: left; }
.about-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    text-align: center;
}
.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 12px;
}
.page-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}
.page-header .section-tag { color: var(--accent-light); }

/* Services Detail */
.services-detail-section { padding: 60px 0; }
.service-detail-card {
    display: flex;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.service-detail-card:last-child { border-bottom: none; }
.service-detail-icon { font-size: 2.5rem; flex-shrink: 0; padding-top: 4px; }
.service-detail-content h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 12px;
}
.service-detail-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.service-detail-content ul {
    list-style: none;
    padding: 0;
}
.service-detail-content li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}
.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* About Content */
.about-content-section { padding: 60px 0; }
.about-main-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}
.about-photo-area { display: flex; justify-content: center; }
.about-bio h2 { font-size: 1.8rem; margin-bottom: 4px; }
.bio-subtitle {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.about-bio p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

/* Values */
.values-section { padding: 60px 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.value-card { text-align: center; padding: 32px 20px; }
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-light); }

/* Location */
.location-info-section { padding: 60px 0; background: var(--bg-warm); border-radius: var(--radius-lg); margin-bottom: 20px; }
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.location-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
}
.location-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.location-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 4px; }

/* Contact */
.contact-section { padding: 60px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    background: var(--bg-warm);
    border-radius: var(--radius);
    padding: 24px;
}
.contact-card.highlight {
    background: var(--primary);
    color: white;
}
.contact-card.highlight h3 { color: white; }
.contact-card.highlight .contact-main a { color: white; }
.contact-card.highlight .contact-secondary a { color: rgba(255,255,255,0.8); }
.contact-card.highlight .contact-note { color: rgba(255,255,255,0.7); }
.contact-card-icon { font-size: 1.5rem; margin-bottom: 8px; }
.contact-card h3 { font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.contact-main { font-size: 1.1rem; font-weight: 600; color: var(--primary); }
.contact-main a { color: inherit; }
.contact-secondary { font-size: 0.95rem; color: var(--text-light); margin-top: 4px; }
.contact-secondary a { color: inherit; }
.contact-note { font-size: 0.8rem; color: var(--text-light); margin-top: 6px; }

.hours-table { margin-top: 8px; }
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text);
}
.hours-row.closed { color: var(--text-light); }

/* Map */
.map-area { }
.map-title { font-size: 1.3rem; color: var(--text); margin-bottom: 16px; }
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.transport-info h4 { font-size: 1rem; margin-bottom: 8px; }
.transport-info ul { list-style: none; padding: 0; }
.transport-info li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Billing */
.billing-section {
    padding: 40px 0;
    background: var(--bg);
}
.billing-title {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 20px;
}
.billing-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.billing-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.billing-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    background: var(--accent);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 24px rgba(194,138,110,0.4);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-cta:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(194,138,110,0.5);
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
        left: 16px;
        justify-content: center;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}
.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 12px;
}
.cta-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
}
.cta-contact {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    margin-bottom: 12px;
}
.footer-desc { font-size: 0.85rem; opacity: 0.7; line-height: 1.6; }
.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 16px;
}
.footer p { font-size: 0.85rem; margin-bottom: 4px; }
.footer a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.8rem; opacity: 0.5; }

/* Responsive */
@media (max-width: 768px) {
    .trust-divider { display: none; }
    .trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-main-grid { grid-template-columns: 1fr; }
    .about-photo-area .about-image-placeholder { max-width: 240px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-section { min-height: 80vh; }
    .service-detail-card { flex-direction: column; gap: 16px; }
    .location-info-section { border-radius: 0; }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { text-align: center; }
    .cta-contact { flex-direction: column; align-items: center; }
    .billing-grid { flex-direction: column; gap: 20px; }
}
