/* styles.css - Moderní vzdušný design pro stomatologickou ordinaci */

:root {
    --primary: #0d9488;          /* Tyrkysová / teal */
    --primary-light: #f0fdfa;    /* Světlé pozadí pro sekce */
    --primary-hover: #0f766e;
    --primary-rgb: 13, 148, 136;
    
    --secondary: #0f172a;        /* Tmavě břidlicová */
    
    --text-main: #334155;        /* Břidlicová pro čtení */
    --text-dark: #0f172a;        /* Téměř černá pro nadpisy */
    --text-muted: #64748b;       /* Tlumená šedá */
    
    --bg-base: #fdfefe;          /* Zářivě bílá pro vzdušný vzhled */
    --bg-card: #ffffff;
    
    --border: #f1f5f9;
    --border-dark: #cbd5e1;
    
    --accent-red: #ef4444;       /* Pro dovolené a upozornění */
    --accent-red-light: #fef2f2;
    
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.02), 0 8px 10px -6px rgb(0 0 0 / 0.02);
    
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset a základní styly */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Globální kontejnery */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hlavička s glassmorphismem */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
}

.logo svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

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

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    padding: 6px 12px;
    border-radius: 8px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-menu a.active {
    font-weight: 700;
}

/* Tlačítka */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(13, 148, 136, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Announcement Banner */
.announcement-banner {
    background-color: var(--primary-light);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    color: var(--primary-hover);
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* Hero sekce */
.hero {
    padding: 80px 0 120px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-alert {
    margin-top: 32px;
    padding: 12px 18px;
    border-radius: 12px;
    background-color: var(--accent-red-light);
    border: 1px solid #fee2e2;
    color: #991b1b;
    font-size: 14.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-wrap: wrap;
}

.hero-alert:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.hero-alert a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.hero-alert a:hover {
    color: var(--primary-hover);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Sekce Obecně */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--primary-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header .tag {
    display: inline-block;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

/* Služby - grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.15);
}

.service-icon {
    width: 54px;
    height: 54px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-hover);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Ceník */
.pricing-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item:hover {
    background-color: var(--primary-light);
}

.price-name {
    font-weight: 600;
    color: var(--text-dark);
}

.price-value {
    font-weight: 700;
    color: var(--primary);
}

/* Aktuality */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.news-card.vacation {
    background-color: var(--accent-red-light);
    border-color: rgba(239, 68, 68, 0.15);
}

.news-card.vacation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 6px;
    background-color: var(--accent-red);
}

.news-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.news-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.news-card.vacation h3 {
    color: #991b1b;
}

.news-content {
    font-size: 15px;
    color: var(--text-main);
}

.news-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px dashed var(--primary);
}

.news-content a:hover {
    color: var(--primary-hover);
    border-bottom-style: solid;
}

.news-content p {
    margin-bottom: 10px;
}
.news-content p:last-child {
    margin-bottom: 0;
}

/* Kontakty a Mapka */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 15px;
    color: var(--text-muted);
}

.map-navigation-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
    align-items: center;
}

.map-navigation-links span {
    color: var(--text-muted);
    font-weight: 500;
}

.map-nav-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.map-nav-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}


/* Otevírací doba styl */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 12px 0;
    font-size: 15px;
}

.hours-day {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-time {
    text-align: right;
    color: var(--text-muted);
}

/* Mapka */
.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: #94a3b8;
    padding: 60px 0;
    font-size: 15px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo svg {
    width: 26px;
    height: 26px;
    fill: var(--primary);
}

/* Mobilní responzivita */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        height: 350px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 16px 0;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .hero {
        padding: 40px 0 80px 0;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
