/* =========================================
   STYLE.CSS - Advokátní kancelář Švarc
   Micro-site: Odškodnění dopravní nehody
   Premium Law Firm UI/UX Design
========================================= */

:root {
    --primary-color: #1a365d;    /* Navy Blue */
    --primary-hover: #2c5282;
    --accent-color: #d1b073;     /* Elegant Gold */
    --accent-hover: #b89a60;
    --cta-red: #991b1b;          /* Professional Alert Red */
    --cta-red-hover: #7f1d1d;
    --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.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 900px; /* Wider for better alignment */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--cta-red-hover);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.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.4rem 3rem;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: static !important; /* Forces static position */
    z-index: 1000;
    padding: 0.75rem 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
}

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

.navbar nav a {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.85) 100%);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(209, 176, 115, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1.2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background-color: rgba(26, 54, 93, 0.08);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

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

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.3);
    object-fit: cover;
    height: 550px;
    border: 5px solid var(--bg-white);
}

/* Content Cards & Grids */
.services-grid, .features-grid, .examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.steps-grid, .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    min-height: 4.8rem; /* Enough for 3 lines */
    display: flex;
    align-items: center;
}

.card p {
    min-height: 5.4rem; /* Ensures text starts/ends at same level */
}

.step-card {
    position: relative;
    padding-top: 4.5rem;
}

.step-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.resource-card {
    display: block;
    padding: 1.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.resource-card strong {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.resource-card span {
    display: block;
    color: var(--text-color);
}

.resource-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

details {
    margin-bottom: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

summary {
    padding: 1.5rem 2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
}

summary::after {
    content: "\e5cf"; /* Material icon chevron_right or similar */
    font-family: 'Material Symbols Outlined';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 2rem 2rem;
}

/* Footer & Subsections */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 3rem;
    /* Removed border-bottom from here to avoid double lines */
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col-main {
    flex: 2.5;
    min-width: 300px;
}

.footer h4 {
    color: #fff !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: #94a3b8;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 2rem 0;
    display: flex;
    justify-content: flex-start; /* Left aligned */
    gap: 0.8rem; /* Tighter space between elements */
    align-items: center;
    font-size: 1rem;
    color: #94a3b8;
    width: 100%;
}

.faq-content p {
    max-width: none !important;
    width: 100% !important;
    margin-right: 0 !important;
}

@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero-image { height: 400px; }
    .navbar nav { display: none; }
    .step-card {
        padding-top: 4rem;
    }
}
