/* --- ZÁKLADNÍ NASTAVENÍ --- */
:root {
    --dark: #1a1a1a;
    --light: #f9f9f9;
    --accent: #d4a373;
    --white: #ffffff;
    --text-muted: #888;
    --nav-height: 90px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

section[id] {
    scroll-margin-top: var(--nav-height);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light); }

/* --- NAVIGACE --- */
header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo span { font-weight: bold; color: var(--accent); }

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- HERO SEKCE --- */
.hero {
    height: calc(100vh - var(--nav-height));
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-text h1 { font-size: clamp(2.5rem, 8vw, 4rem); }

/* --- TLAČÍTKA --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--dark);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-top: 25px;
    transition: 0.3s;
    border: 1px solid var(--dark);
    cursor: pointer;
}

.btn:hover { 
    background: var(--accent); 
    border-color: var(--accent); 
    color: white;
}

/* --- SEKCE O MNĚ --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img img {
    width: 100%;
    height: auto;
    box-shadow: 20px 20px 0px var(--light);
}

/* --- PORTFOLIO --- */
.subtitle {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 60px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden; 
    border-radius: 4px;
    transition: 0.3s;
}

.portfolio-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.portfolio-link {
    display: block;
    text-align: center;
    padding: 18px;
    background: #fff;
    color: var(--dark);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: bold;
    border: 1px solid #eee;
    border-top: none;
    transition: 0.3s;
}

.portfolio-item:hover img { transform: scale(1.05); }

.portfolio-item:hover .portfolio-link {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* --- CENÍK --- */
.section-title-container {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
    text-align: center;
}

.pricing-single-box {
    max-width: 400px;
    margin: 0 auto 80px auto;
}

.wedding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pricing-card {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.pricing-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.pricing-card .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark);
    margin: 15px 0;
    font-family: 'Montserrat', sans-serif;
}

.pricing-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 45px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.8;
    text-align: left;
    margin-top: auto;
}

.card-featured { border-top: 4px solid var(--dark); }
.card-maxi { background: #fafafa; border: 2px solid var(--dark); }

/* --- RECENZE --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eee;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

/* --- KONTAKT A INFO --- */
.section-footer {
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-box { max-width: 850px; margin: 0 auto; text-align: center; }

form { margin-bottom: 50px; }

form input, form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.info-item strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 5px;
}

.ico { font-size: 0.75rem; color: var(--text-muted); margin-top: 5px; }

.social-links { margin-top: 40px; }

.social-links a {
    display: inline-block;
    margin: 0 15px;
    font-size: 1.5rem;
    color: var(--dark);
    transition: 0.3s;
}

.social-links a:hover { color: var(--accent); }

/* --- PATIČKA --- */
footer { padding: 80px 0; text-align: center; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid #eee; }

/* --- RESPONSIVITA --- */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-info { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .container { padding: 80px 20px; }
    .portfolio-grid { grid-template-columns: 1fr; }

    /* Oprava loga pro mobilní zobrazení */
    .logo img {
        height: 80px !important; 
        top: 5px !important;    
        left: 15px !important;  
        position: relative !important; 
    }

    /* Úprava hero sekce a odstranění stínu u fotky pro mobily */
    .hero {
        min-height: 60vh !important;
    }
    .about-img img {
        box-shadow: none !important;
    }
}

/* --- STYLY PRO GALERII (Podstránky) --- */
.back-link {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.back-link:hover { color: var(--accent); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); 
    gap: 10px;
    margin-top: 40px;
}

.gallery-grid a {
    display: block;
    height: 250px;
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 5px;
    }
    .gallery-grid a { height: 120px; }
}