/* main.css - Premium, clean styling for Balatoni Nyaralók */
:root {
    --primary: #ffab00;
    --primary-hover: #e09600;
    --bg-light: #f9fbfd;
    --text-main: #374151;
    --text-heading: #111827;
    --card-bg: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Ratings Section */
.ratings-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.rating-card {
    background: white;
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.rating-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
    font-family: var(--font-secondary);
}

.rating-stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 10px;
}

.rating-source {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    font-style: italic;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card p {
    margin: 0;
}

.rating-source svg {
    width: 20px;
    height: 20px;
}

.rating-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px dashed var(--secondary);
}

.rating-link:hover {
    border-bottom-style: solid;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.5px; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* Header & Navigation */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 0 0 10px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo img { height: 90px; width: auto; object-fit: contain; transition: var(--transition); }
.logo-text { display: flex; flex-direction: column; }
.site-title { font-size: 1.4rem; color: var(--text-heading); margin-bottom: 0; }
.site-description { font-size: 0.8rem; color: #6b7280; max-width: 250px; line-height: 1.3; }

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--primary);
    border-radius: 2px;
    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); }
.nav-links .btn:hover, .nav-links .btn.active { color: #fff !important; }

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}
.burger-menu div {
    width: 30px; height: 3px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(255, 171, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}
.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 171, 0, 0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Sections */
.section-padding { padding: 50px 0; }

.hero {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: var(--radius-lg);
    margin: 20px;
    overflow: hidden;
    min-height: 80vh;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 800px;
    color: #fff;
    margin-right: auto;
    margin-left: 5%;
}
.hero h1 { color: #fff; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: rgba(255,255,255,0.1) !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}
.btn-outline:hover {
    background: #fff !important;
    color: var(--primary) !important;
}

/* Sections */
.hero-center .hero-content {
    text-align: center;
    margin: 0 auto;
}
.hero-center::before {
    background: transparent;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.gallery-item:hover img {
    transform: scale(1.08);
}

/* Feature Cards */
.card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--primary); transform: scaleX(0); transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 70px; height: 70px;
    background: rgba(255, 171, 0, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.card-icon svg { width: 32px; height: 32px; }

/* Icon Lists properly styled */
.feature-list { display: flex; flex-direction: column; gap: 15px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}
.feature-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 24px; height: 24px;
    filter: drop-shadow(0 2px 4px rgba(255,171,0,0.3));
}

/* Beautiful Text Blocks */
.content-box {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--primary);
}

/* Footer (keeping the design we made but moving it here) */
.modern-footer {
    background-color: #1a1a1a;
    color: #e5e7eb;
    padding: 80px 0 30px;
    border-top: 5px solid var(--primary);
    margin-top: 60px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px;
}
.modern-footer h3 { color: var(--primary); font-size: 1.8rem; }
.modern-footer h4 { color: #fff; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a {
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.05); color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1); transition: var(--transition);
}
.social-icons a:hover {
    background: var(--primary); color: #111; border-color: var(--primary);
    transform: translateY(-5px);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 15px; margin-bottom: 20px; color: #9ca3af; }
.footer-contact svg { width: 22px; height: 22px; color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; font-size: 0.9rem; }
.footer-creator { text-align: center; margin-top: 25px; font-size: 0.7rem; opacity: 0.5; }
.footer-creator a { color: inherit; text-decoration: underline; transition: var(--transition); }
.footer-creator a:hover { opacity: 1; color: var(--primary); }

/* Responsive Base */
@media (max-width: 1024px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero { margin: 10px; padding: 80px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-container { position: relative; }
    .nav-links {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column; padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        text-align: center; margin-top: 15px;
    }
    .nav-links.active { display: flex; animation: slideDown 0.3s ease forwards; }
    .burger-menu { display: flex; }
    .burger-menu.active div:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger-menu.active div:nth-child(2) { opacity: 0; }
    .burger-menu.active div:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero { min-height: 40vh; padding: 40px 0; margin: 5px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
    .logo-text { display: none; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animations */
.fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calendar Styles */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 1400px) {
    .calendar-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
.calendar-month {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}
.calendar-month h4 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 4px;
    color: #333;
    background: #f0f0f0;
}
.cal-day.active { font-weight: 500; }
.cal-day-free { background: #e6f4ea; color: #1e8e3e; border: 1px solid #ceead6; }
.cal-day-booked { background: #fce8e6; color: #d93025; border: 1px solid #fad2cf; }
.cal-day-checkin { background: linear-gradient(135deg, #e6f4ea 50%, #fce8e6 50%); border: 1px solid #ccc; color: #d93025; }
.cal-day-checkout { background: linear-gradient(135deg, #fce8e6 50%, #e6f4ea 50%); border: 1px solid #ccc; color: #1e8e3e; }
.cal-day-today { font-weight: bold; text-decoration: underline; }
.cal-day-empty { visibility: hidden; }
