/* ==========================================================================
   Palivové dřevo Zlín - Custom Styles
   ========================================================================== */

:root {
    /* Color Palette - Warm & Natural */
    --primary-color: #8B4513;        /* Saddle Brown - hlavní */
    --primary-dark: #654321;         /* Dark Brown */
    --primary-light: #A0522D;        /* Sienna */
    --accent-color: #D2691E;         /* Chocolate - akcent */
    --accent-light: #CD853F;         /* Peru */
    
    --success-color: #228B22;        /* Forest Green */
    --warning-color: #FF8C00;        /* Dark Orange */
    
    --text-dark: #2C1810;            /* Velmi tmavá hnědá */
    --text-light: #6B5D54;           /* Světlejší hnědá */
    --text-muted: #8B7D74;
    
    --bg-light: #FAF8F6;             /* Světlé teplé pozadí */
    --bg-cream: #F5F1ED;
    
    --white: #FFFFFF;
    --black: #1A1A1A;
    
    /* Typography */
    --font-heading: 'Bitter', serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --section-padding-sm: 60px 0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(139, 69, 19, 0.08);
    --shadow-md: 0 4px 16px rgba(139, 69, 19, 0.12);
    --shadow-lg: 0 8px 32px rgba(139, 69, 19, 0.16);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: var(--section-padding);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    padding: 1rem 0;
    background-color: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #2C1810 0%, #654321 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 24, 16, 0.75);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(210, 105, 30, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-stats {
    animation: fadeInUp 1s ease 1s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================================================
   Section Headings
   ========================================================================== */

.section-label {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   O nás Section
   ========================================================================== */

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.benefit-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.image-stack {
    position: relative;
    height: 500px;
}

.image-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.image-card-back {
    width: 70%;
    height: 400px;
    top: 50px;
    left: 0;
    z-index: 1;
}

.image-card-front {
    width: 70%;
    height: 400px;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.image-card:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Nabídka Section
   ========================================================================== */

.offer-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

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

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.offer-icon.soft-wood {
    background: linear-gradient(135deg, var(--success-color), #32CD32);
}

.offer-icon i {
    font-size: 2rem;
    color: var(--white);
}

.offer-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.offer-price {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.offer-price .price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.offer-price .price-unit {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.offer-price .price-note {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.offer-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.wood-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wood-type-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-cream);
    border-radius: 8px;
    transition: var(--transition);
}

.wood-type-item:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.wood-type-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.wood-type-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.wood-type-item span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.offer-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-cream);
}

.offer-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.offer-specs i {
    color: var(--accent-color);
}

/* Heating Table */
.heating-table {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.heating-table h4 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.heating-table h4 i {
    color: var(--accent-color);
}

.heating-table .table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.heating-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.heating-table th {
    padding: 1rem;
    font-weight: 600;
    border: none;
}

.heating-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--bg-cream);
}

.heating-table tbody tr:hover {
    background: var(--bg-light);
}

/* ==========================================================================
   Jak to funguje Section
   ========================================================================== */

.process-step {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.step-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.process-step:hover .step-icon i {
    color: var(--white);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-light);
    margin: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.cta-box h3 {
    color: var(--white);
    font-size: 1.75rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-box .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-box .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
}

/* ==========================================================================
   Informace Section
   ========================================================================== */

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--accent-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.info-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.info-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* FAQ */
.faq-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
}

.faq-section h3 {
    margin-bottom: 2rem;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--white);
    color: var(--text-light);
}

/* ==========================================================================
   Oblast dovozu Section
   ========================================================================== */

.delivery-map {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.location-badge {
    background: var(--bg-cream);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.location-badge:hover {
    background: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.location-badge i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* ==========================================================================
   Kontakt Section
   ========================================================================== */

.contact-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><rect width="100" height="100" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.contact-section .container {
    position: relative;
    z-index: 10;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--accent-light);
}

.contact-item strong {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item a,
.contact-item span {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h4 {
    color: var(--text-dark);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--bg-cream);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.15);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title i {
    color: var(--accent-color);
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .image-stack {
        height: 400px;
        margin-top: 3rem;
    }
    
    .navbar-collapse {
        background: rgba(44, 24, 16, 0.98);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .offer-card,
    .info-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .cta-box {
        padding: 2rem;
        text-align: center;
    }
    
    .image-card-back,
    .image-card-front {
        width: 100%;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Smooth Scroll Offset */
section {
    scroll-margin-top: 80px;
}
