/* Základné nastavenia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hlavička a Menu - VYLEPŠENÉ */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.logo img {
    max-width: 250px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px; 
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative; 
    padding: 5px 0;
}

/* Animované podčiarknutie pre menu */
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 3px;
    right: 0;
    background: #d85c8a;
    transition: width 0.3s ease;
}

.main-nav > ul > li > a:hover::after, 
.main-nav > ul > li > a.active::after {
    width: 100%;
    left: 0;
}

.main-nav a:hover, .main-nav a.active {
    color: #d85c8a;
}

/* Ikona pre mobilné menu (Hamburger) */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

/* Šípka pre dropdown */
.main-nav .dropdown > a span {
    font-size: 12px;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.main-nav .dropdown:hover > a span {
    transform: translateY(3px);
}

/* --- DROPDOWN MENU - VYLEPŠENÉ A ZVÝRAZNENÉ --- */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    
    /* FAREBNÉ ZVÝRAZNENIE POZADIA OKNA */
    background-color: #f8f9fa !important; /* Jemná pastelová ružová */
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
    
    list-style: none;
    min-width: 240px;
    padding: 8px 0 !important;
    z-index: 1000;
    border-radius: 6px;
    border-top: 3px solid #f8f9fa /* Tmavšia ružová linka navrchu */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    
    /* TOTO OPRAVUJE TIE OBROVSKÉ DIERY */
    gap: 0 !important; 
    
    max-height: 400px;
    overflow-y: auto;
}

/* Úprava štýlu posuvníka (Scrollbaru) pre rozbaľovacie menu */
.main-nav .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.main-nav .dropdown-menu::-webkit-scrollbar-track {
    background: #f8f9fa /* Zladené s pozadím */
}
.main-nav .dropdown-menu::-webkit-scrollbar-thumb {
    background: #d85c8a; /* Tvoja hlavná ružová farba */
    border-radius: 10px;
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-nav .dropdown-menu li {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
}

.main-nav .dropdown-menu li a {
    font-size: 14px !important;
    color: #333 !important; /* Tmavý text v základe */
    font-weight: 500 !important;
    text-transform: none !important;
    padding: 12px 20px !important; /* Výška riadku - ak chceš hustejšie, zmeň na 10px 20px */
    margin: 0 !important;
    display: block !important;
    height: auto !important; 
    line-height: 1.4 !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.main-nav .dropdown-menu li a::after {
    display: none !important; /* Vypnutie podčiarknutia z hlavného menu */
}

/* FAREBNÉ ZVÝRAZNENIE PRI PREJDENÍ MYŠOU */
.main-nav .dropdown-menu li a:hover {
    color: #fff !important; /* Biely text */
    background-color: #475569 !important; /* Sýta ružová farba pozadia */
    padding-left: 25px !important; /* Jemne sa text posunie doprava */
}

/* --- Hero sekcia --- */
.hero-section {
    position: relative; 
    height: 70vh;
    width: 100%;
    overflow: hidden; 
}

.hero-image {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
}

.hero-image.active {
    opacity: 1;
}

/* Kategórie Galérie */
.gallery-categories {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 300;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-item a:hover img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.grid-item h3 {
    margin-top: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* O mne */
.about-me {
    background-color: #f4f4f4;
    padding: 80px 0;
}

.about-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.about-image img {
    max-width: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Social a Novinky */
.social-news {
    display: flex;
    gap: 50px;
    padding: 60px 0;
}

.facebook-col, .news-col {
    flex: 1;
}

.news-item {
    margin-bottom: 20px;
}

.news-item a {
    text-decoration: none;
    color: inherit;
}

.news-item h3 {
    font-size: 18px;
    color: #d85c8a;
    font-weight: 400;
    margin-bottom: 5px;
}

.read-more {
    font-size: 14px;
    color: #888;
}

/* Had info */
.snake-info {
    background-color: #f4f4f4;
    padding: 60px 0;
    text-align: left;
}

.snake-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.snake-info h3 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* Pätka */
.main-footer {
    background-color: #222;
    color: #aaa;
    padding: 20px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scroll-to-top {
    background: #333;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 3px;
}

/* --- CENNÍK DIZAJN --- */
.pricing-section {
    padding: 60px 20px;
    position: relative;
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.pricing-image {
    width: 60%;
}

.pricing-image img {
    width: 100%;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.pricing-box {
    width: 45%;
    padding: 40px;
    color: white;
    margin-left: -5%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 2;
}

.pricing-box h2 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-box p {
    margin-bottom: 15px;
    font-size: 16px;
}

.pricing-box ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.pricing-box li {
    margin-bottom: 8px;
    font-size: 15px;
}

.more-info-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.btn-rezervovat {
    display: inline-block;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-rezervovat:hover {
    opacity: 0.8;
}

.pricing-more-btn {
    text-align: center;
    margin-top: -20px;
    position: relative;
    z-index: 3;
}

.pricing-more-btn a {
    display: inline-block;
    color: white;
    padding: 10px 40px;
    text-decoration: none;
    font-weight: 600;
}

/* --- REZERVAČNÝ FORMULÁR --- */
.reservation-page {
    padding: 60px 0;
}

.reservation-container {
    max-width: 900px;
    background: #fff;
}

.form-message {
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.form-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.reservation-form label {
    display: block;
    margin-bottom: 8px;
    color: #444;
}

.reservation-form input[type="text"],
.reservation-form input[type="email"],
.reservation-form input[type="tel"],
.reservation-form input[type="date"],
.reservation-form input[type="number"],
.reservation-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
}

.form-row-top {
    align-items: flex-start;
}

.col-left, .col-right {
    flex: 1;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.full-width {
    margin-bottom: 25px;
}

.checkboxes-bottom label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkboxes-bottom a {
    color: #e91e63;
    text-decoration: none;
}

.btn-submit {
    background-color: #e91e63;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #c2185b;
}

/* --- KONTAKTY --- */
.map-section {
    width: 100%;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.contact-info {
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
}

.contact-block h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-block p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.pink-link {
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s;
}

.pink-link:hover {
    color: #c2185b;
}

.atelier-photo {
    margin-top: 20px;
}

.atelier-photo img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* --- BLOG --- */
.blog-page {
    padding: 60px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.blog-post {
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-radius: 4px;
}

.right-column-wrap {
    display: flex;
    flex-direction: column;
}

.blog-post h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 400;
}

.blog-post h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
    text-transform: uppercase;
}

.blog-post h4 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.blog-post p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.blog-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 25px;
}

.blog-list li {
    margin-bottom: 8px;
}

.blog-list-numbered {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 25px;
}

.blog-list-numbered li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.yellow-hl {
    background-color: yellow;
    font-weight: bold;
    padding: 0 5px;
}

.highlight-underline {
    text-decoration: underline;
    font-weight: bold;
}

/* --- INFO STRÁNKA --- */
.info-page {
    padding: 60px 20px;
    max-width: 800px;
}

.info-content h1 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 300;
}

.info-section {
    margin-bottom: 40px;
}

.info-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #e91e63;
    text-transform: uppercase;
}

.info-section p, .info-section ul {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.info-section ul {
    padding-left: 20px;
}

/* --- TLAČIDLO DOWNLOAD --- */
.btn-download {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-download:hover {
    background-color: #d85c8a;
}

/* --- FOTOGALÉRIA V PODSTRÁNKACH --- */
.gallery-grid-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.gallery-grid-photos img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-grid-photos img:hover {
    transform: scale(1.03);
}

/* =========================================
   VYLEPŠENÁ RESPONZIVITA (Mobily a Tablety)
========================================= */

@media (max-width: 1024px) {
    .main-header {
        padding: 15px 20px;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 kategórie na tablet */
    }
}

@media (max-width: 768px) {
    /* 1. HLAVIČKA A MENU PRE MOBIL */
    .menu-toggle {
        display: block; /* Zobrazí hamburger ikonu */
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: none; /* Skryje menu kým sa naň neklikne */
        max-height: 80vh; /* Menu nevytečie z obrazovky mobilu */
        overflow-y: auto; /* Dovolí rolovať samotné menu na mobile */
    }
    
    .main-nav.active {
        display: block; /* Otvorenie menu cez JS */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav > ul > li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    .main-nav > ul > li > a {
        display: block;
        padding: 18px 20px;
        display: flex;
        justify-content: space-between; /* Šípka pekne napravo */
        align-items: center;
    }
    
    /* Zrušenie PC efektov na mobile */
    .main-nav > ul > li > a::after {
        display: none; 
    }

    /* SPRÁVNE ROZBAĽOVANIE NA MOBILE (Akordeón) */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f9f9f9;
        display: none; /* Štandardne skryté pod-menu na mobile */
        opacity: 1;
        visibility: visible;
        max-height: none;
    }
    
    /* Keď na mobile klikneme a pridá sa trieda 'open' z JS */
    .main-nav .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 20px 12px 40px !important; /* Odsadené podkategórie */
        border-bottom: 1px solid #eaeaea;
    }
    
    /* 2. ZALOMENIE OBSAHU PRE MOBIL */
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .social-news {
        flex-direction: column; 
    }
    
    .pricing-container {
        flex-direction: column;
    }
    
    .pricing-image {
        width: 100%;
    }
    
    .pricing-box {
        width: 90%;
        margin-left: 0;
        margin-top: -30px; 
    }

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

    .contact-grid, .blog-grid {
        grid-template-columns: 1fr; 
    }
    
    .gallery-grid-photos {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
}

@media (max-width: 480px) {
    /* Úplne malé displeje */
    .grid-container {
        grid-template-columns: 1fr; 
    }
    
    .gallery-grid-photos {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-photos img {
        height: 250px;
    }
    
    .hero-section {
        height: 50vh; 
    }
}

/* Plávajúce tlačidlo Späť Hore */
#backToTopBtn {
    display: none; /* Štandardne skryté, ukáže ho až JavaScript */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-size: 22px;
    border: none;
    outline: none;
    background-color: #333; /* Tmavosivá farba pozadia */
    color: white;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    line-height: 45px;
}

/* Efekt pri prejdení myšou */
#backToTopBtn:hover {
    background-color: #555; /* O čosi svetlejšia sivá */
    transform: scale(1.1); /* Jemné zväčšenie */
}

/* Prispôsobenie pre menšie mobily */
@media (max-width: 768px) {
    #backToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}