:root {
    --primary: #1a2a3a;
    --secondary: #d4b375;
    --light: #f9f7f2;
    --white: #ffffff;
    --sectiomc: #f8f7f2;
    --transition: all 0.3s ease;
    --gold: #c5a059; /* Definované pre lineblock */
}

html { 
    scrollbar-gutter: stable; /* Opravený preklep z gutterl */
    scroll-behavior: smooth; 
}

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

a:hover { 
    color: var(--secondary); 
}

/* Pridané pre dostupnosť - vizuálna odozva pri ovládaní klávesnicou */
a:focus, button:focus, li:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

* { 
    box-sizing: border-box; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    margin: 0; 
    background: var(--light); 
    color: #333; 
    overflow-x: hidden; 
}

h1, h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem; 
    margin: 0; 
}

.page { 
    display: none; 
    opacity: 0; 
    transition: opacity 0.4s ease-in-out; 
    animation: fadeIn 0.5s ease;
}

.page.active { 
    display: block; 
    opacity: 1; 
}
  /* Živý zlatý gradient pre deliace čiary a efekty */
  .lineblock { 
            height: 3px; 
            background: linear-gradient(90deg, 0%, #c5a059, #E1B16A, #c5a059, 100%); 
            border: none;     }



.idcopy {font:cambria 4px;padding:3px;display:wrap;font-size:smaller;}



/* TOP BAR */
.top-bar { background: var(--primary); color: white; padding: 10px 10%; font-size: 0.65rem; display:flex ; justify-content: space-between; }
 .top-row { background: var(--primary); color: white; padding: 5px 10%; font-size: 0.65rem; display: flex; justify-content: space-between; }



@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

/* HEADER */
header { 
    background: var(--light); 
    padding: 15px 10%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.logo { 
    cursor: pointer; 
    line-height: 1.2; 
}


  /* Jemné doladenie loga */
        .logo strong { color: var(--primary); }
        .logo small { color: navy; letter-spacing: 1px; }

.logo strong { 
    font-size: 1.5rem; 
    color: var(--primary); 
    text-transform: none; 
}


/* NAV PRE PC */
nav ul { 
    list-style: none; 
    display: flex; 
    margin: 0; 
    padding: 0; 
}

nav li {
    margin-left: 15px; /* Upravené pre lepšie rozloženie pri väčšom paddingu */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 12px 15px; /* Zväčšená plocha pre Lighthouse Accessibility */			 
    display: flex;
    justify-content: center;
    align-content: left;
    flex-wrap: wrap;
    min-width: 44px; /* Google odporúča min 44-48px pre dotyk */
   background-color:transparent!important;
}

nav li:hover { 
    border-bottom:2px solid var(--primary);
   
}

nav li.ctive { border-bottom:2px solid navy;}

/* CAROUSEL */
.carousel-container { 
    position: relative; 
    width: 100%; 
    height: 300px; 
    overflow: hidden; 
    background: var(--primary); 
}

.carousel { 
    display: flex; 
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); 
}

.carousel-item { 
    min-width: 100%; 
    height: 300px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    color: white; 
    text-align: center; 
}

.carousel-item::after { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
}

.carousel-content { 
    position: relative; 
    z-index: 2; 
    padding: 20px; 
}

.carousel-content h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.95rem; 
    margin: 0; 
}

.carousel-control { 
    position: absolute; 
    top: 56%; 
    transform: translateY(-56%); 
    background: rgba(0,0,0,0.2); 
    border: none; 
    color: white; 
    font-size: 1.5rem; 
    cursor: pointer; 
    z-index: 10; 
    padding: 5px; 
    transition: 0.3s; 
    border-radius: 50%; 
    width: 50px; 
    height: 50px;
    margin: 0 20px;
}

.carousel-control:hover { 
    background: rgba(0,0,0,0.6);
    font-weight: bold; 
}

.next { right: 0; } 
.prev { left: 0; }

/* SEKCIE */
.section { 
    padding: 35px 10%; 
    background: var(--sectiomc); 
}

.sectioncenter { 
    text-align: center; 
    max-width: 800px; 
    margin: auto; 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 20px; 
}

.card { 
    background: white; 
    padding: 40px; 
    text-align: center; 
    border-radius: 10px; 
    border: 1px solid #e0e0e0; 
    transition: 0.3s;
    box-shadow: 4px 4px 17px 0px rgba(0, 0, 0, 0.3);
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
}

.card i { 
    font-size: 2.5rem; 
    color: var(--secondary); 
    margin-bottom: 20px; 
}

/* MOBILNÉ MENU */
.menu-icon, .close-menu { 
    display: none; 
    cursor: pointer; 
}

#overlay { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.6); 
    z-index: 1050; /* Zvýšené, aby bolo nad headerom */
}

.google-profile-btn { 
    display: inline-block; 
    padding: 12px 25px; 
    background-color: white; 
    border: 2px solid var(--primary); 
    border-radius: 5px; 
    color: #333; 
    font-weight: 600;
    text-decoration: none; 
    transition: all 0.3s ease;
}

.google-profile-btn:hover { 
    background-color: #fcf6ba; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3); 
}

@media (max-width: 768px) {
    .menu-icon { display: block; font-size: 1.8rem; }
    nav {
        position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
        background: var(--white); z-index: 1100; transition: 0.4s ease;
        padding: 80px 30px;
    }
    nav.open { right: 0; }
    nav ul { flex-direction: column; }
    nav li { 
        margin: 0 0 25px 0; 
        font-size: 1.2rem; 
        border-bottom: 2px solid #eee; 
        padding: 15px 10px; 
        background-color: transparent !important; 
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    nav li:hover { 
        color: var(--primary); 
        background-color: color-mix(in srgb, var(--primary), transparent 90%) !important; 
        justify-content: center;
    }
}
    .close-menu { 
        display:none; 
        position: absolute; 
        top: 20px; 
        right: 25px; 
        font-size: 2.5rem; 
    }
    #overlay.active { display: block; }
    .carousel-item { height: 300px; }
    .carousel-content h1 { font-size: 1.8rem;color:white; }
}

/* FOOTER */
footer { 
    background: var(--primary); 
    color: white; 
    padding: 25px 10% 20px; 
    text-align: center; 
}

.footer-icons { 
    margin-bottom: 25px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 15px; 
    flex-wrap: wrap; 
}

.footer-icons a { 
    width: 35px; /* Zväčšené z 35px pre lepšiu dostupnosť na dotyk */
    height: 35px; 
    border: 1px solid var(--secondary); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: white; 
    font-size: 1.2rem; 
    transition: 0.3s; 
    text-decoration: none;
}

.footer-icons a:hover { 
    background: var(--secondary); 
    color: var(--primary);
   
}

/* --- TABS --- */
.tabs { 
    display: flex; 
    overflow-x: auto; 
    gap: 8px; 
    margin-bottom: 20px; 
    padding-bottom: 5px; 
    -webkit-overflow-scrolling: touch; 
}

.tab-btn { 
    flex: 0 0 auto; 
    padding: 12px 20px; 
    border: none; 
    background: #ddd; 
    cursor: pointer; 
    font-weight: bold; 
    border-radius: 6px; 
    transition: 0.2s; 
    min-height: 44px;
}

.tab-btn.active { 
    background: var(--primary); 
    color: white; 
}

/* --- FILTERS --- */
.filters { 
    background: var(--white); 
    padding: 15px; 
    border-radius: 10px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    margin-bottom: 25px; 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
}

select, input { 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    flex: 1; 
    min-width: 150px; 
    font-size: 16px; 
    outline: none; 
}

input:focus, select:focus { 
    border-color: var(--secondary); 
    box-shadow: 0 0 5px rgba(197, 160, 89, 0.5);
}

/* --- PRODUCT GRID --- */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 20px; 
}

.product-card { 
    background: var(--white); 
    border-radius: 10px; 
    padding: 15px; 
    border-bottom: 4px solid var(--gold); 
    position: relative; 
    box-shadow: 0 3px 6px rgba(0,0,0,0.05); 
    display: flex; 
    flex-direction: column;
}

.badge { 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    padding: 4px 10px; 
    font-size: 11px; 
    color: white; 
    border-radius: 15px; 
    font-weight: bold; 
    text-transform: uppercase; 
}

.badge.akcia { background: #d9534f; }
.badge.novinka { background: #5cb85c; }
.badge.doporucene { background: var(--primary); }

/* --- DETAIL --- */
.detail-card { 
    background: var(--white); 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    margin-top: 10px; 
}

.image-box { 
    width: 100%; 
    height: 250px; 
    background: #eee; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary); 
}

.detail-body { padding: 25px; }

.size-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    margin-top: 10px; 
}

.size-btn { 
    padding: 12px; 
    border: 2px solid #ddd; 
    background: white; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: 0.2s; 
    min-height: 44px;
}

.size-btn.active { 
    border-color: var(--primary); 
    background: var(--primary); 
    color: white; 
}

.price-box { 
    background: var(--light); 
    padding: 20px; 
    border-radius: 10px; 
    margin-top: 25px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.buy-btn { 
    background: var(--gold); 
    color: white; 
    border: none; 
    padding: 15px 30px; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer; 
    font-size: 18px; 
    transition: var(--transition);
}

.buy-btn:hover {
    background: var(--primary);
}

/* --- PAGINATION --- */
.pagination { 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
    margin: 30px 0; 
}

.page-btn { 
    padding: 10px 18px; 
    border: 1px solid var(--primary); 
    background: white; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: bold; 
    color: var(--primary); 
    min-width: 44px;
    min-height: 44px;
}

.page-btn.active { 
    background: var(--primary); 
    color: white; 
}

/* KONTAKT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    align-items: start;
}

.contact-block {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-block h3 {
    color: var(--primary);
    margin-top: 0;
    border-bottom: 3px solid var(--secondary);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.contact-form textarea { resize: none; }

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 5px rgba(197, 160, 89, 0.3);
}

.btn-send {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    min-height: 48px;
}

.btn-send:hover {
    background: var(--secondary);
    color: var(--primary);
}

@media (max-width: 750px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-block { padding: 20px; } /* Zvýšené z 10px pre lepší vzhľad */
    .close-menu{display:block;}
}

.map-container {
    width: 100%;
    height: 400px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100% !important;
    height: 100%;
    border: 0;
    display: block;
}




i svg {
    width: 1em;
    height: 1em;
    fill: #c5a059;
    vertical-align: middle;
    display: inline-flex;
    justify-content:center;
    position: relative;
    
}

.card i svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.footer-icons a i svg {
    width: 20px;
    height: 20px;
    margin: 0 10px;
    transition: transform 0.2s ease;
}

.footer-icons a:hover i svg {
    transform: scale(1);
    fill: #ffffff;
}

.menu-icon svg {
    width: 30px;
    height: 30px;
    color:var(--primary);
}



@media (min-width: 600px) { 
    .size-grid { grid-template-columns: repeat(4, 1fr); } 
}
