@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #FFC107;
    /* Slunečná žlutá */
    --primary-dark: #FF9800;
    /* Tmavší žlutá/oranžová */
    --secondary-color: #0D47A1;
    /* Tmavě modrá */
    --secondary-light: #1976D2;
    /* Světlejší modrá */
    --text-color: #333333;
    --text-light: #777777;
    #--bg-color: #F8F9FA;
    --bg-color: #f5f0e6;
    --white: #FFFFFF;
    --bezova: #f5f0e6;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Navigation */
header {
    background-color: var(--bezova);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.03);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, -0.6);
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    # text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-shadow: 5px 5px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

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

/* Destinations Grid (Home) */
.destinations {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-btn {
    display: inline-block;
    color: var(--secondary-light);
    font-weight: 600;
    transition: var(--transition);
}

.card-btn:hover {
    color: var(--primary-dark);
}

/* Destination Pages Specific */
.dest-page {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.dest-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dest-header h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.dest-desc {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
    margin-top: 4rem;
}

/* Modal Popup styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(13, 71, 161, 0.15);
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 2.5rem;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
}

.modal-close:hover {
    color: var(--secondary-color);
    background: var(--primary-color);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary-light);
    background: rgba(25, 118, 210, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
}

.modal-meta-item i {
    color: var(--primary-dark);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-body h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-top: 0.5rem;
}

.program-timeline {
    position: relative;
    border-left: 2px solid rgba(25, 118, 210, 0.2);
    padding-left: 2rem;
    margin-left: 10px;
    margin-top: 1.5rem;
}

.program-day {
    position: relative;
    margin-bottom: 2rem;
}

.program-day:last-child {
    margin-bottom: 0;
}

.program-day::before {
    content: '';
    position: absolute;
    left: calc(-2rem - 7px);
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary-light);
    transition: var(--transition);
}

.program-day:hover::before {
    background-color: var(--secondary-color);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.program-day h4 {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.program-day p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.modal-footer {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 2px solid var(--bg-color);
    padding-top: 1.5rem;
}

/* Prevent scrolling when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Form styles inside modal */
.inquiry-form {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-intro {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid rgba(13, 71, 161, 0.15);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    width: 100%;
}

.form-group input[readonly] {
    background-color: rgba(25, 118, 210, 0.05);
    border-color: rgba(25, 118, 210, 0.1);
    color: var(--secondary-color);
    font-weight: 600;
    cursor: not-allowed;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-light);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
    border-top: 2px solid var(--bg-color);
    padding-top: 1.5rem;
}

.btn-secondary {
    background-color: transparent !important;
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-secondary:hover {
    background-color: var(--bg-color) !important;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* Hamburger Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
        opacity 0.3s ease,
        background-color 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary-dark);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary-dark);
}

body.menu-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(245, 240, 230, 0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links a {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--secondary-color);
        padding: 10px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .modal-container {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }

    .modal-meta {
        gap: 0.8rem;
    }

    .modal-meta-item {
        font-size: 0.9rem;
        padding: 4px 12px;
    }
}

/* Destination actions layout */
.dest-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-gallery {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    border-color: var(--secondary-color) !important;
}

.btn-gallery:hover {
    background-color: transparent !important;
    color: var(--secondary-color) !important;
}

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-caption {
    color: var(--white);
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 3100;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.lightbox-prev {
    left: 2rem;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
}

.lightbox-next {
    right: 2rem;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
}

/* Responsive lightbox controls for smaller screens */
@media (max-width: 768px) {
    .lightbox-prev {
        left: 0.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-next {
        right: 0.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Program highlights list */
.program-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1rem;
    padding-left: 0;
}

.program-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.55;
}

.program-highlights li i {
    color: var(--primary-dark);
    margin-top: 4px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Pricing Info styling (Included / Excluded) */
.price-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.8rem;
}

.price-info-box {
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.price-info-box.included {
    border-left: 5px solid #2e7d32;
    /* Rich Green */
}

.price-info-box.excluded {
    border-left: 5px solid #d32f2f;
    /* Rich Red */
}

.price-info-box h4 {
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-info-box.included h4 i {
    color: #2e7d32;
}

.price-info-box.excluded h4 i {
    color: #d32f2f;
}

.price-info-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
}

.price-info-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.price-info-box ul li i {
    margin-top: 3px;
    font-size: 1rem;
    flex-shrink: 0;
}

.price-info-box.included ul li i {
    color: #2e7d32;
}

.price-info-box.excluded ul li i {
    color: #d32f2f;
}

@media (max-width: 650px) {
    .price-info-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}