/* ===================================
   Reset a základní styly
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Řemeslné zemité barvy */
    --primary-color: #2d4a35;
    --primary-dark: #1a2d21;
    --primary-light: #3d5f45;
    --secondary-color: #d4682a;
    --accent-color: #f4a261;
    --gradient-start: #2d4a35;
    --gradient-end: #d4682a;
    --success-color: #4a7c59;
    --text-dark: #2c2c2c;
    --text-light: #6b7280;
    --bg-light: #f9f7f4;
    --bg-white: #ffffff;
    --bg-dark: #2d4a35;
    --border-color: #e5ddd5;
    
    /* Fonty */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Stíny */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    
    /* Přechody */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navigace
   =================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.logo .subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--gradient-start);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* ===================================
   Hero sekce
   =================================== */
.hero {
    background: linear-gradient(135deg, #2d4a35 0%, #3d5f45 50%, #4a7c59 100%);
    color: white;
    padding: 180px 0 120px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 60px,
        rgba(255, 255, 255, 0.03) 60px,
        rgba(255, 255, 255, 0.03) 120px
    );
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
}

.stat-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-text strong {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-text span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Tlačítka
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* ===================================
   Sekce - obecné
   =================================== */
section {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(45, 74, 53, 0.08);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(45, 74, 53, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Služby
   =================================== */
.services {
    background: var(--bg-light);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background: rgba(244, 162, 97, 0.15);
    color: var(--secondary-color);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 104, 42, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 74, 53, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(45, 74, 53, 0.25);
    flex-shrink: 0;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: white;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-description p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-description li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.personal-note {
    background: rgba(244, 162, 97, 0.08);
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1.25rem;
    border-left: 4px solid var(--secondary-color);
    position: relative;
}

.personal-note p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

.service-gallery-placeholder {
    margin-top: 1.5rem;
}

.placeholder-box {
    background: rgba(244, 162, 97, 0.05);
    border: 2px dashed rgba(212, 104, 42, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.placeholder-box:hover {
    background: rgba(244, 162, 97, 0.08);
    border-color: rgba(212, 104, 42, 0.5);
}

.placeholder-emoji {
    font-size: 6rem;
    display: block;
    line-height: 1;
    transition: transform 0.3s ease;
}

.placeholder-box:hover .placeholder-emoji {
    transform: scale(1.1);
}

/* ===================================
   O mně
   =================================== */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(45, 74, 53, 0.25);
}

.feature-text h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.about-image-placeholder {
    padding: 2rem;
}

.about-image-placeholder .placeholder-box {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder .placeholder-emoji {
    font-size: 14rem;
}

/* Styly pro about-image (až budou přidané fotky) */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(45, 74, 53, 0.2);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* ===================================
   Kontakt
   =================================== */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 74, 53, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(45, 74, 53, 0.25);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-card h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.phone-link:hover {
    color: var(--primary-dark, var(--primary-color));
    text-decoration: underline;
}

.form-message {
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-message--success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 74, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 3px;
    color: #856404;
    font-size: 0.9rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 162, 97, 0.4), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer .phone-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer .phone-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* ===================================
   Responzivita
   =================================== */

/* Tablety */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
        min-width: auto;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-header {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobilní telefony */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem 1rem;
        min-width: auto;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-text strong {
        font-size: 0.9rem;
    }
    
    .stat-text span {
        font-size: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-tags {
        width: 100%;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

/* ===================================
   Animace
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:hover .service-icon {
    animation: float 1s ease-in-out;
}

.hero-badge {
    animation: pulse 3s ease-in-out infinite;
}

/* Smooth scroll offset pro navigaci */
section {
    scroll-margin-top: 80px;
}

/* ===================================
   Galerie služeb (pro budoucí fotky)
   =================================== */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(45, 74, 53, 0.2);
}

/* Responzivita pro galerie */
@media (max-width: 768px) {
    .service-gallery {
        grid-template-columns: 1fr;
    }
    
    .service-gallery img {
        height: 200px;
    }
}
