/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Marck+Script&display=swap');

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

:root {
    --primary-color: #1b5e20;
    --secondary-color: #4caf50;
    --accent-color: #00897b;
    --river-blue: #0288d1;
    --forest-green: #2e7d32;
    --light-green: #c8e6c9;
    --text-dark: #1b3a26;
    --text-light: #4a6352;
    --bg-light: #f1f8e9;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(27, 94, 32, 0.15);
    --shadow-hover: 0 5px 20px rgba(27, 94, 32, 0.25);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.lang-btn:hover {
    border-color: var(--forest-green);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    background: var(--bg-light);
}

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

.lang-btn.active .flag-wave {
    filter: drop-shadow(0 2px 6px rgba(255,255,255,0.5));
}

/* Flag Wave Animation */
.flag-wave {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: wave 3s ease-in-out infinite;
    transform-origin: left center;
}

.flag-wave-small {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: left center;
}

.lang-btn:hover .flag-wave {
    animation: wave-fast 1.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: perspective(500px) rotateY(0deg) skewY(0deg);
    }
    25% {
        transform: perspective(500px) rotateY(-12deg) skewY(3deg);
    }
    50% {
        transform: perspective(500px) rotateY(0deg) skewY(0deg);
    }
    75% {
        transform: perspective(500px) rotateY(12deg) skewY(-3deg);
    }
}

@keyframes wave-fast {
    0%, 100% {
        transform: perspective(500px) rotateY(0deg) skewY(0deg);
    }
    25% {
        transform: perspective(500px) rotateY(-15deg) skewY(4deg);
    }
    50% {
        transform: perspective(500px) rotateY(0deg) skewY(0deg);
    }
    75% {
        transform: perspective(500px) rotateY(15deg) skewY(-4deg);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(27, 94, 32, 0.6), rgba(27, 94, 32, 0.6)), url('../images/monastery.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    height: 150px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    background: transparent;
}

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Marck Script', cursive;
    line-height: 1.4;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--river-blue) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0277bd 0%, #00796b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(2, 136, 209, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1b5e20 0%, #388e3c 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
}

/* Sections */
section {
    padding: 80px 20px;
}

/* Slideshow Section */
.slideshow-section {
    padding: 60px 20px;
    background: #ffffff;
    perspective: 1500px;
    position: relative;
}

.slideshow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    border-radius: 15px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.slideshow-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(27, 94, 32, 0.2), 
        rgba(76, 175, 80, 0.2),
        rgba(2, 136, 209, 0.15));
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.8;
}

.slide {
    display: block;
}

/* Slideshow styles removed */
        filter: blur(0);
    }
}

/* Navigation arrows */
.prev, .next {
    display: none;
}

/* Dots */
.dots-container {
    display: none;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 400;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, 
        #f1f8e9 0%,
        #e8f5e9 50%,
        #dcedc8 100%);
    position: relative;
}

.about::before {
    content: '🌲';
    position: absolute;
    top: 20px;
    left: 5%;
    font-size: 3rem;
    opacity: 0.1;
    animation: floatTree 6s ease-in-out infinite;
}

.about::after {
    content: '🌊';
    position: absolute;
    bottom: 20px;
    right: 5%;
    font-size: 3rem;
    opacity: 0.1;
    animation: floatWave 8s ease-in-out infinite;
}

@keyframes floatTree {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatWave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Monastery Section */
.monastery-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Reservation Form */
.reservation {
    background: linear-gradient(rgba(8,34,10,0.45), rgba(8,34,10,0.45)), url('../images/дърво2.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.reservation .section-header h2 {
    color: #fff;
}

.reservation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(160, 105, 48, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: ripple 15s ease-in-out infinite;
}

@keyframes ripple {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.reservation-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.reservation-form button {
    width: 100%;
    margin-top: 20px;
}

/* Page Header */
.page-header {
    background: url("../images/magia-logo .jpg") center/contain no-repeat;
    background-color: #ffffff;
    color: var(--text-color);
    padding: 80px 20px;
}

.page-header .container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: end;
    justify-items: end;
    gap: 40px;
}

.page-header-logo {
    flex-shrink: 0;
    animation: fadeInDown 1s ease;
    justify-self: start;
}

.page-header-logo img {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: transparent;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: right;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.page-header p {
    font-size: 1.2rem;
    text-align: right;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

/* Hotel Section */
.hotel-info {
    position: relative;
    background: #ffffff;
    padding: 80px 20px 80px;
}

.hotel-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: url('../images/дърво.jpg') center/cover no-repeat;
    z-index: 0;
}

.hotel-info .container {
    position: relative;
    z-index: 1;
}

.hotel-info .section-header {
    position: relative;
    top: -80px; /* raise the header by 80px */
    background: #ffffff; /* keep header area white */
    padding: 20px 0;
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    z-index: 2;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.hotel-info .section-header h2 {
    color: var(--primary-color);
}

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

.room-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.room-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.room-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

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

.room-gallery-section {
    margin: 20px 0 30px;
    text-align: left;
}

.room-gallery-section h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.room-gallery-intro {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.room-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    content-visibility: auto;
}

.room-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f0f0;
    box-shadow: var(--shadow);
    contain: layout style paint;
}

.room-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease, filter 0.3s ease;
    background: #f0f0f0;
}

.room-gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

@media (max-width: 900px) {
    .room-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .room-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.room-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

.room-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.room-lightbox-content {
    position: relative;
    max-width: min(90vw, 1000px);
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
}

.room-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: contain;
    background: #000;
}

.room-lightbox-caption {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    color: #f5f5f5;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    max-width: 90%;
    text-align: center;
}

.room-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.room-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.room-lightbox-nav {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.room-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.room-lightbox-prev,
.room-lightbox-next {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .room-lightbox-content {
        padding: 10px 12px;
    }
    .room-lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .room-lightbox-caption {
        font-size: 0.9rem;
        bottom: 8px;
    }
}

.amenities {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.amenities li {
    padding: 8px 0;
    color: var(--text-dark);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 20px 0;
}

.hotel-features {
    margin-top: 60px;
}

.hotel-features h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.feature h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.event-contact {
    text-align: center;
    max-width: 600px;
    margin: 80px auto 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.event-contact h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.event-contact > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.event-contact-info {
    margin-bottom: 30px;
}

.event-contact-info p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 12px 0;
    line-height: 1.8;
}

.event-contact .btn {
    margin-top: 10px;
}

/* Restaurant Section */
.restaurant-info {
    padding: 80px 20px;
}

.restaurant-info .section-header {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/дърво.jpg') center/cover no-repeat;
    height: 150px;
    width: 1500px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.restaurant-info .section-header h2 {
    color: #fff;
}

.restaurant-info .section-header p {
    color: #fff;
}

.restaurant-content {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.restaurant-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.events-section {
    margin-bottom: 60px;
}

.events-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.event-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-card p {
    color: var(--text-light);
}

.restaurant-features {
    max-width: 800px;
    margin: 0 auto;
}

.restaurant-features h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.feature-item span {
    font-size: 2rem;
}

.feature-item p {
    color: var(--text-dark);
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 20px;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

.gallery-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Contacts Section */
.contacts-section {
    padding: 80px 20px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/дърво2.jpg') center/cover no-repeat;
    width: 500px;
    height: 670px;
    max-width: 100%;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.contact-info h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-info .info-item h3 {
    color: #fff;
    margin-bottom: 5px;
}

.contact-info .info-item p {
    color: #fff;
    line-height: 1.6;
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-info .info-icon {
    color: #fff;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.map-section {
    margin-top: 60px;
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.map-container {
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

.map-info {
    background: var(--bg-light);
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.map-placeholder {
    height: 400px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.map-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.map-placeholder p {
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.8;
}

/* Footer */
/* Footer */
footer {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/дърво.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 60px 20px 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #a06930;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    line-height: 1.8;
}

.price-list {
    list-style: none;
}

.price-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
/* Large tablets and small desktops (1024px and below) */
@media (max-width: 1024px) {
    .logo img {
        height: 55px;
    }
    
    .slideshow-section {
        perspective: 800px;
    }
    
    .slideshow-container {
        max-width: 90%;
    }
    
    .slideshow-section {
        padding: 30px 15px;
    }

    .hotel-info::before {
        height: 200px;
    }

    .hotel-info .section-header {
        top: -60px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .logo img {
        height: 45px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .language-selector {
        margin-left: 0;
        position: absolute;
        right: 60px;
        gap: 0.3rem;
    }
    
    .lang-btn {
        padding: 0.35rem 0.5rem;
        border-width: 1.5px;
    }
    
    .flag-wave {
        width: 36px;
        height: 24px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .hero-logo img {
        height: 100px;
        max-width: 280px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .slideshow-section {
        perspective: 600px;
        padding: 25px 10px;
    }

    .slideshow-container {
        max-width: 95%;
        border-radius: 8px;
    }
    
    .slideshow-container:hover {
        transform: rotateY(1deg) rotateX(-1deg);
    }
    
    .slide img {
        aspect-ratio: 4/3;
        transform: translateZ(30px);
    }
    
    .slideshow-container:hover .slide img {
        transform: translateZ(50px) scale(1.01);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hotel-info::before {
        height: 160px;
    }

    .hotel-info .section-header {
        top: -40px;
        padding: 16px 0;
    }

    .restaurant-info .section-header {
        height: auto;
        padding: 16px 12px;
    }
    
    .page-header-logo img {
        height: 80px;
        max-width: 280px;
    }
    
    .page-header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .page-header h1,
    .page-header p {
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .contact-info {
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

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

    section {
        padding: 60px 20px;
    }

    .map-container iframe {
        height: 350px;
    }

    .map-info {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .logo img {
        height: 45px;
        max-width: 180px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero-logo img {
        height: 70px;
        max-width: 200px;
    }

    .slideshow-section {
        perspective: 500px;
        padding: 20px 5px;
    }

    .slideshow-container {
        max-width: 100%;
        border-radius: 5px;
    }
    
    .slideshow-container:hover {
        transform: none;
    }
    
    .slide img {
        aspect-ratio: 1/1;
        transform: translateZ(20px);
    }
    
    .slideshow-container:hover .slide img {
        transform: translateZ(30px);
    }

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .page-header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .page-header h1,
    .page-header p {
        text-align: center;
    }
    
    .page-header-logo img {
        height: 60px;
        max-width: 200px;
    }

    .reservation-form {
        padding: 20px;
    }

    .hotel-info::before {
        height: 130px;
    }

    .hotel-info .section-header {
        top: -20px;
        padding: 12px 0;
    }

    .restaurant-info .section-header {
        padding: 12px 10px;
    }
}
