:root {
    --color-primary: #222222;
    --color-blue: #1f4d76;
    --color-gold-dark: #a88b55;
    --color-white: #ffffff;
    --color-light-bg: #f8f8f8;
    --color-dark-menu: #1a1a1a;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-primary);
}

h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 40px; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }

.section-padding { padding: 80px 0; }
.section-title { text-align: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.margin-top-20 { margin-top: 20px; }
.margin-top-40 { margin-top: 40px; }
.bg-light { background-color: var(--color-light-bg); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-gold {
    background-color: var(--color-blue);
    color: var(--color-white);
}
.btn-gold:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

#main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.4s ease;
    background-color: rgba(250,250,250,0.5);
    color: var(--color-dark-menu); 
    border-bottom: 1px solid rgba(255,255,255,0.1);
	backdrop-filter: blur(10px);
}

#main-header.scrolled {
    background-color: rgba(250,250,250,0.5);
    color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    letter-spacing: 2px;
    z-index: 1002;
}

.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li { margin-left: 30px; }
.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.nav-links a:hover, 
.nav-links a.active {
    color: var(--color-blue) !important;
}
.header-btn { margin-left: 30px; }

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 2px;
    background-color: var(--color-dark-menu);
    margin: 6px;
    transition: all 0.4s ease;
}

#main-header.scrolled .hamburger div {
    background-color: var(--color-primary);
}

#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    margin-top: 0;
    background-image: url('images/header-01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.6);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 800px; padding: 20px;
}
.hero-subtitle {
    font-size: 1.2rem; margin-bottom: 30px; font-weight: 300;
}

.subpage-hero {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/605692826_1437088694772347_8662921391867506685_n.jpg');
    background-size: cover;
    background-position: center;
}

.subpage-hero-portfolio {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/611656320_1440011847813365_883524183672649526_n.jpg');
    background-size: cover;
    background-position: center;
}

.subpage-hero-services {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/svatby.jpg');
    background-size: cover;
    background-position: center;
}

.subpage-hero-contact {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/contact.jpg');
    background-size: cover;
    background-position: center;
}

.subpage-hero-product {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/product.jpg');
    background-size: cover;
    background-position: center;
}

.subpage-hero-events {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/akce.jpg');
    background-size: cover;
    background-position: center;
}

.subpage-hero-portrety {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/portrety.jpg');
    background-size: cover;
    background-position: center;
}

.subpage-hero-intext {
    position: relative;
    height: 50vh;
	min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-dark-menu);
    background-image: url('images/int-ext.jpg');
    background-size: cover;
    background-position: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.item-tall { grid-row: span 2; }
.item-wide { grid-column: span 2; }

.grid-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.image-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(34, 34, 34, 0.7); color: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: 1.5rem;
    opacity: 0; transition: opacity 0.3s ease;
}
.grid-item:hover img { transform: scale(1.05); }
.grid-item:hover .image-overlay { opacity: 1; }

.split-layout { display: flex; align-items: center; gap: 60px; }
.split-text { flex: 1; }
.split-text p { margin-bottom: 20px; font-size: 1.1rem; color: #555; }
.signature { margin-top: 30px; color: var(--color-blue); }
.split-image { flex: 1; height: 600px; }
.split-image img {
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(31, 77, 118, 0.2);
}

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    padding: 40px; background: var(--color-white); text-align: center;
    border: 1px solid #eee; transition: all 0.3s ease;
}
.service-card:hover {
    border-color: var(--color-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transform: translateY(-5px);
}
.service-card h3 { margin-bottom: 20px; }
.service-card p { margin-bottom: 30px; color: #666; }
.price {
    display: block; font-family: var(--font-heading);
    color: var(--color-blue); font-size: 1.2rem; font-weight: 700;
}

.faq-container { max-width: 800px; margin: 0 auto; }
details {
    background: var(--color-white); margin-bottom: 15px;
    border: 1px solid #eee; padding: 20px; cursor: pointer; transition: all 0.3s ease;
}
details:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
summary {
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; outline: none;
}
details p {
    margin-top: 20px; color: #666; padding-left: 20px;
    border-left: 3px solid var(--color-blue);
}

.contact-layout { display: flex; gap: 60px; }
.contact-info { flex: 1; }
.contact-form-wrapper { flex: 1.5; background: var(--color-light-bg); padding: 40px; border-radius: 4px; }
.detail-item { margin-bottom: 25px; }
.detail-item h3 { font-size: 1.1rem; margin-bottom: 5px; color: var(--color-blue); }
.detail-item a { color: var(--color-primary); text-decoration: none; transition: color 0.3s; }
.detail-item a:hover { color: var(--color-blue); }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 500; font-size: 0.95rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%; padding: 15px; border: 1px solid #ddd;
    background: var(--color-white); font-family: var(--font-body);
    font-size: 1rem; transition: border-color 0.3s; border-radius: 0;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--color-blue);
}

footer { background: var(--color-dark-menu); color: #aaa; padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-col h3, .footer-col h4 { color: var(--color-white); margin-bottom: 20px; }
.footer-col p { margin-bottom: 10px; }
.footer-col a { color: #aaa; text-decoration: none; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--color-blue); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid #333; font-size: 0.9rem; }

.fade-in, .fade-in-left, .fade-in-right { opacity: 0; transition: all 0.8s ease-out; }
.fade-in { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }
.visible { opacity: 1; transform: translate(0) translateY(0); }

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .item-wide { grid-column: span 1; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hamburger {
        display: block;
        z-index: 1002;
    }

    .header-btn { display: none; }

    .nav-links {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        width: 100%;
        background-color: var(--color-dark-menu);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1001;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-links li { margin: 25px 0; opacity: 0;}
    .nav-links a { color: var(--color-white); font-size: 1.5rem; }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--color-white) !important;
    }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--color-white) !important;
    }

    .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
    .item-tall { grid-row: span 1; }
    .split-layout, .contact-layout { flex-direction: column; }
    .split-image { height: 400px; order: -1; }
    .split-image img { box-shadow: 10px 10px 0px rgba(195, 163, 104, 0.2); }
    .services-grid, .footer-content { grid-template-columns: 1fr; }
    .footer-content { text-align: center; }
    .subpage-hero h1 { font-size: 2.5rem; }
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0px); }
}