/* ZÁKLADNÉ NASTAVENIA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.accent-title {
    color: #cc8b59;
}

.small-title {
    color: #cc8b59;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/* HLAVIČKA A MENU */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #0a0a0a;
    border-bottom: 1px solid #1f1f1f;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-logo {
    height: 65px;
    object-fit: contain;
}

.header-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #333;
    padding-left: 20px;
    gap: 2px;
}

.header-contact a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

.header-contact a:hover {
    color: #cc8b59;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #cc8b59;
}

/* ÚVODNÁ SEKCIA */
.hero {
    padding: 160px 50px;
    background-color: #0f0f0f;
    background-image: linear-gradient(rgba(15, 15, 15, 0.6), rgba(15, 15, 15, 0.95)), url('pozadie.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #1f1f1f;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 600px;
}

/* SEKCIA O MNE */
.about {
    padding: 60px 50px;
}

.about-text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px auto;
}

.about-text-center h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text-center p {
    color: #b3b3b3;
    margin-bottom: 20px;
}

.about-split {
    display: flex;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.about-left, .about-right {
    flex: 1;
}

.about-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-left p {
    color: #b3b3b3;
    margin-bottom: 30px;
}

.about-right img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* KATALÓG (PRODUKTY) */
.products {
    padding: 80px 50px;
    background-color: #0a0a0a;
    min-height: 80vh;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #151515;
    border: 1px solid #222;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    background-color: #000;
    border-bottom: 1px solid #222;
}

.prod-info {
    padding: 25px;
}

.prod-info h4 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: #cc8b59;
    font-weight: 500;
    font-size: 15px;
}

.cart-btn {
    background-color: transparent;
    color: #cc8b59;
    border: 1px solid #cc8b59;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background-color: #cc8b59;
    color: #000;
}

/* KONTAKTNÁ SEKCIA A FORMULÁR */
.contact {
    padding: 100px 20px;
    background-color: #050505;
    text-align: center;
}

.contact-box {
    max-width: 650px;
    margin: 0 auto;
    background-color: #121212;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-box h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-box p {
    color: #b3b3b3;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Dizajn samotného formulára (toto opraví tie rozbité biele okienka) */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    text-align: left;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder, 
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #cc8b59;
    background-color: #111;
}

.main-btn {
    cursor: pointer;
    border: none;
    width: 100%;
    display: inline-block;
    background-color: #cc8b59;
    color: #0f0f0f;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.main-btn:hover {
    background-color: #e09f6d;
    transform: scale(1.05);
}

/* PÄTIČKA */
footer {
    text-align: center;
    padding: 30px;
    background-color: #050505;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #111;
}

/* --- RESPONZIVITA PRE MOBILY A TABLETY (do 768px) --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .header-left {
        flex-direction: column;
        gap: 10px;
    }

    .header-contact {
        border-left: none;
        border-top: 1px solid #333;
        padding-left: 0;
        padding-top: 10px;
        align-items: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        margin-left: 0;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about, .products, .contact {
        padding: 50px 20px;
    }

    .about-split {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text-center h2, .about-left h2, .section-header h2, .contact-box h2 {
        font-size: 1.8rem;
    }

    .contact-box {
        padding: 30px 20px;
    }
}
