/* ===================================
   GLOBAL STYLES & VARIABLES
   =================================== */

:root {
    --color-primary: #4a7c9e;      /* Prírodná modrá */
    --color-secondary: #6b9b7d;    /* Prírodná zelená */
    --color-accent: #c9a876;       /* Béžová */
    --color-light-bg: #f9f8f5;     /* Off-white */
    --color-sand: #faf7f2;         /* Piesková */
    --color-grey-light: #f0ede8;   /* Veľmi svetlá sivá */
    --color-text: #333333;         /* Tmavý text */
    --color-text-light: #666666;   /* Svetlejší text */
    --color-white: #ffffff;
    --font-size-base: 18px;        /* Väčšie písmo pre komfort */
    --font-size-large: 24px;
    --font-size-xl: 32px;
    --font-size-xxl: 48px;
    --spacing-unit: 1.5rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-light-bg);
    font-size: var(--font-size-base);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary,
.btn-large,
.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
}

.btn-large {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    font-size: var(--font-size-large);
    margin-top: 1.5rem;
}

.btn-large:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(74, 124, 158, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.85rem 2.5rem;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background-color: var(--color-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.menu a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 16px;
}

.menu a:hover {
    color: var(--color-primary);
}

/* Mobile menu */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--color-light-bg) 0%, var(--color-sand) 100%);
    padding: 6rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 60px);
}

.hero-content h1 {
    font-size: var(--font-size-xxl);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-weight: 700;
}

.hero-subtitle {
    font-size: var(--font-size-large);
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-image {
    background-color: var(--color-grey-light);
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 400px;
}

.image-placeholder {
    text-align: center;
    color: var(--color-text-light);
    font-size: 18px;
    padding: 2rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-image {
        min-height: 300px;
    }
}

/* ===================================
   SECTIONS
   =================================== */

section {
    padding: 5rem 0;
}

section h2 {
    font-size: var(--font-size-xxl);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text);
}

section h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: var(--font-size-large);
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   SECTION: TARGET AUDIENCE
   =================================== */

.section-target-audience {
    background-color: var(--color-grey-light);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.audience-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.audience-card h3 {
    color: var(--color-primary);
    font-size: 32px;
    margin-bottom: 1.5rem;
}

.audience-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audience-card li {
    font-size: var(--font-size-base);
    color: var(--color-text);
    padding-left: 1.5rem;
    position: relative;
}

.audience-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SECTION: WHY STUDY
   =================================== */

.section-why-study {
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: var(--color-light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h4 {
    font-size: 20px;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.benefit-card p {
    color: var(--color-text-light);
    font-size: 16px;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SECTION: PROGRAMS
   =================================== */

.section-programs-30 {
    background-color: var(--color-light-bg);
}

.section-programs-50 {
    background-color: var(--color-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.program-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.program-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--color-text-light);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   DESTINATIONS LIST
   =================================== */

.destinations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.destination-tag {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
}

/* ===================================
   SECTION: FEATURES LIST
   =================================== */

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background-color: var(--color-light-bg);
    border-radius: 12px;
}

.feature-number {
    font-size: 24px;
    color: var(--color-secondary);
    font-weight: bold;
    flex-shrink: 0;
}

.feature h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--color-text-light);
}

/* ===================================
   SECTION: DESTINATIONS
   =================================== */

.section-destinations {
    background-color: var(--color-light-bg);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.destination-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.destination-image {
    background-color: var(--color-grey-light);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 18px;
    font-style: italic;
}

.destination-card h3 {
    color: var(--color-primary);
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.destination-card p {
    padding: 0 1.5rem;
    color: var(--color-text-light);
    font-size: 16px;
}

.destination-card a {
    display: inline-block;
    padding: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.destination-card a:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SECTION: HOW IT WORKS
   =================================== */

.section-how-it-works {
    background-color: var(--color-white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background-color: var(--color-light-bg);
    padding: 2rem;
    border-radius: 12px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--color-text-light);
    font-size: 16px;
}

.step-arrow {
    font-size: 24px;
    color: var(--color-accent);
    display: none;
}

@media (max-width: 1024px) {
    .step-arrow {
        display: none;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
    }
}

/* ===================================
   SECTION: TESTIMONIALS
   =================================== */

.section-testimonials {
    background-color: var(--color-sand);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--color-secondary);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SECTION: CONSULTATION
   =================================== */

.section-consultation {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 4rem 0;
}

.consultation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.consultation-text h2 {
    color: var(--color-white);
    text-align: left;
    margin-bottom: 1rem;
}

.consultation-text p {
    color: var(--color-white);
    font-size: var(--font-size-large);
    margin-bottom: 1rem;
}

.consultation-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-top: 1rem;
}

.consultation-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 124, 158, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.consultation-form .btn-large {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .consultation-container {
        grid-template-columns: 1fr;
    }
    
    .consultation-text h2 {
        font-size: 32px;
    }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #2c3e50;
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   RESPONSIVENESS
   =================================== */

@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
        --font-size-large: 20px;
        --font-size-xl: 28px;
        --font-size-xxl: 36px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .menu li {
        width: 100%;
    }
}

/* ===================================
   GALÉRIA A LIGHTBOX
   =================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(74, 124, 158, 0.3);
}

.gallery-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 124, 158, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.lightbox-image {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #333;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #666;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.3s ease;
    z-index: 10;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: #333;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Video wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover iframe {
    opacity: 0.95;
}

/* Improved grid layout */
.gallery-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.gallery-showcase-main {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-showcase-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-showcase-main:hover img {
    transform: scale(1.05);
}

.gallery-showcase-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(74, 124, 158, 0.3);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-showcase {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    :root {
        --font-size-base: 16px;
        --font-size-large: 18px;
        --font-size-xl: 24px;
        --font-size-xxl: 28px;
    }
}
