/* ===========================================
   JUDr. Hana Vančurová — Notářská kancelář
   Design: Elegant Legal, Warm Stone & Amber
   =========================================== */

:root {
    --color-amber-800: #92400e;
    --color-stone-900: #1c1917;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Source Sans 3', system-ui, sans-serif;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
}

.font-serif {
    font-family: var(--font-serif);
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-amber-800);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Service cards hover */
.group:hover .group-hover\:bg-amber-100 {
    background-color: #fef3c7;
}

/* Selection color */
::selection {
    background-color: #d97706;
    color: white;
}

/* Smooth scroll offset for fixed nav */
[id] {
    scroll-margin-top: 80px;
}

/* Map container responsive */
iframe {
    border-radius: inherit;
}

/* Mobile improvements */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }
    
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .grid {
        gap: 1.5rem;
    }
}

/* Print styles */
@media print {
    nav, footer, iframe {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}
