/* =========================================
   STYLE.CSS - Advokátní kancelář Švarc
   Micro-site: Rozvod Nový Jičín
   Premium UI/UX Design (Law firm)
========================================= */

:root {
    --primary-color: #1a365d;    /* Navy Blue */
    --primary-hover: #2c5282;
    --accent-color: #d1b073;     /* Elegant Gold */
    --accent-hover: #b89a60;
    --text-color: #334155;       /* Slate 700 */
    --heading-color: #0f172a;    /* Slate 900 */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

p {
    margin-bottom: 1.2rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: 5rem 0;
}

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

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

.text-white {
    color: var(--bg-white) !important;
}

.text-center {
    text-align: center;
}

/* Typography Utilities */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bg-dark .section-subtitle {
    color: #cbd5e1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #991b1b;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #7f1d1d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo strong {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo span {
    font-size: 0.85rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar nav a {
    color: var(--heading-color);
    font-weight: 500;
}

.navbar nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 500px;
    border: 4px solid var(--bg-white);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-details h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-details p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: var(--bg-white);
    color: var(--primary-color);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.faq-content {
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-left: 3px solid var(--accent-color);
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Why Us */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.benefit-icon {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    opacity: 0.9;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: #fff;
    min-height: 3.5rem; /* Zajišťuje fixní výšku pro nadpis, aby text pod ním začínal ve stejné rovině */
    margin-bottom: 0.3rem;
}

.benefit-item p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-top: 0;
}

/* CTA Bottom */
.cta-bottom {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Zarovnání dolů, aby to lícovalo */
    border-bottom: 1px solid #1e293b;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col p {
    margin-bottom: 0;
}

.footer-col:last-child {
    text-align: right;
}

.footer-col strong {
    color: #fff;
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.footer-col a {
    color: #991b1b;
    font-weight: 500;
}

.footer-col a:hover {
    color: #7f1d1d;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .navbar nav {
        display: none; /* simple mobile hide for now */
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
