:root {
    --primary-color: #1a3c1e;
    --primary-light: #2d5a33;
    --primary-dark: #0f2412;
    --secondary-color: #c5a028;
    --secondary-light: #e6c355;
    --accent: #e67e22;
    --text-color: #2c2c2c;
    --text-light: #666;
    --bg-light: #f5f5f0;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Roboto', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.2);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(26, 60, 30, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

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

.main-header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent));
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateX(5px);
}

.logo img {
    height: 60px;
    margin-right: 15px;
    background: transparent;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.05);
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::before {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
}

.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(26, 60, 30, 0.6), rgba(15, 36, 18, 0.7)), url('Photos/DJI_0291.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c5a028' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 900px;
    animation: heroFadeIn 1.5s ease-out;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--white), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent));
    color: var(--white);
    border: none;
    box-shadow: 0 10px 40px rgba(197, 160, 40, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(197, 160, 40, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.section-padding {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.bg-light {
    background: linear-gradient(180deg, var(--bg-light), var(--white));
}

.feature-section {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.feature-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 40, 0.1) 0%, transparent 70%);
    top: 10%;
    left: -100px;
    pointer-events: none;
}

.feature-section:nth-child(even) {
    flex-direction: row-reverse;
    background: linear-gradient(180deg, var(--bg-light), var(--white));
}

.feature-content {
    flex: 1;
    padding: 80px 100px 80px 80px;
}

.feature-section:nth-child(even) .feature-content {
    padding: 80px 80px 80px 100px;
}

.feature-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.feature-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.feature-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.9;
}

.feature-image {
    flex: 1;
    height: 650px;
    background-size: cover;
    background-position: center;
    position: relative;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.feature-section:hover .feature-image {
    transform: scale(1.05);
}

.feature-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 80%, rgba(26, 60, 30, 0.1));
}

.feature-section:nth-child(even) .feature-image::after {
    background: linear-gradient(to left, transparent 80%, rgba(26, 60, 30, 0.1));
}

.rent-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 120px 40px;
    text-align: center;
    background-image: url('Photos/DJI_0157 - Copy - Copy.JPG');
    background-size: cover;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.rent-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(197, 160, 40, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.rent-content {
    max-width: 850px;
    margin: 0 auto;
    border: 2px solid var(--secondary-color);
    padding: 70px 80px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: var(--shadow-strong), inset 0 0 60px rgba(197, 160, 40, 0.05);
    position: relative;
    z-index: 1;
}

.rent-content h2 {
    color: var(--secondary-light);
    margin-bottom: 40px;
    font-size: 3rem;
    letter-spacing: 3px;
}

.rent-details {
    font-size: 1.25rem;
    line-height: 2;
}

.rent-details strong {
    color: var(--secondary-light);
}

#weather {
    background: #1a3a5c;
    position: relative;
}

#weather .section-title {
    color: #fff;
}

#weather .section-title::after {
    background: linear-gradient(90deg, #ffc832, #ff8c00);
}

.weather-location {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: -50px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.weather-timestamp {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: 40px;
}

.weather-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 0;
    color: rgba(255, 255, 255, 0.6);
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #ffc832;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.weather-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
    padding: 20px 0 40px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.weather-grid::-webkit-scrollbar {
    height: 6px;
}

.weather-grid::-webkit-scrollbar-track {
    background: transparent;
}

.weather-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.weather-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 14px;
    width: 130px;
    min-width: 130px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.weather-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.weather-card.today {
    background: rgba(255, 200, 50, 0.12);
    border-color: rgba(255, 200, 50, 0.3);
}

.weather-card.today::after {
    content: 'ДНЕС';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #ffc832;
    background: rgba(255, 200, 50, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 1px;
}

.weather-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    text-transform: capitalize;
}

.weather-icon-main {
    font-size: 2.5rem;
    margin: 6px 0 10px;
}

.rain-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(52, 152, 219, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.rain-icon {
    font-size: 0.9rem;
}

.rain-text {
    font-weight: 600;
}

.rain-time {
    font-size: 0.7rem;
    opacity: 0.7;
}

.rain-low {
    opacity: 0.4;
    background: rgba(255, 255, 255, 0.05);
}

.weather-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 16px auto;
}

.weather-temps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.temp-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.temp-icon-small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.temp-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.temp-day {
    color: #ffb347;
}

.temp-night {
    color: #74b9ff;
}

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

.gallery-item {
    height: 320px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 60, 30, 0.8), transparent 60%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

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

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 25px;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    border-radius: 12px;
    overflow: hidden;
}

.price-table td {
    padding: 22px 30px;
    border-bottom: 1px solid var(--border-color);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover {
    background-color: #fafaf8;
}

.price-table td:first-child {
    font-weight: 500;
}

.price-table td:last-child {
    text-align: right;
}

.price-table td:last-child strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.main-footer {
    background: linear-gradient(180deg, #0d0d0d, #1a1a1a);
    color: #bbb;
    padding: 120px 0 50px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent));
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 35px;
    font-size: 1.6rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-col p {
    line-height: 2.2;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    line-height: 1;
    background: none;
    border: none;
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, background 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 15px 18px;
    z-index: 10;
    border-radius: 50%;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        height: 60px;
        padding: 0 16px;
    }

    .logo img {
        height: 40px;
        margin-right: 8px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2.5px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

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

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

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

    .main-nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .main-nav ul.active {
        max-height: 300px;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .main-nav a {
        display: block;
        padding: 16px 20px;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .main-nav a::before {
        display: none;
    }

    .hero {
        min-height: 500px;
        height: 80vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .btn {
        padding: 14px 36px;
        font-size: 0.85rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: -12px;
    }

    .feature-section,
    .feature-section:nth-child(even) {
        flex-direction: column;
    }

    .feature-image {
        width: 100%;
        height: 250px;
    }

    .feature-content,
    .feature-section:nth-child(even) .feature-content {
        padding: 30px 16px;
    }

    .feature-content h2 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .feature-content p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .rent-section {
        padding: 50px 16px;
    }

    .rent-content {
        padding: 30px 20px;
    }

    .rent-content h2 {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }

    .rent-details {
        font-size: 0.95rem;
        line-height: 2;
    }

    .weather-grid {
        gap: 8px;
        padding: 10px 12px 30px;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .weather-card {
        width: 75px;
        min-width: 75px;
        padding: 10px 5px;
        border-radius: 12px;
        scroll-snap-align: start;
    }

    .weather-card.today::after {
        top: 5px;
        right: 5px;
        font-size: 0.45rem;
        padding: 2px 5px;
    }

    .weather-icon-main {
        font-size: 1.4rem;
        margin: 3px 0 5px;
    }

    .weather-date {
        font-size: 0.55rem;
        margin-bottom: 6px;
    }

    .rain-info {
        font-size: 0.6rem;
        padding: 3px 6px;
        margin: 6px 0;
    }

    .weather-divider {
        margin: 8px auto;
        width: 30px;
    }

    .weather-temps {
        gap: 8px;
    }

    .temp-value {
        font-size: 0.85rem;
    }

    .temp-icon-small {
        font-size: 0.6rem;
    }

    .weather-location {
        font-size: 0.85rem;
        margin-top: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 12px;
    }

    .gallery-item {
        height: 160px;
        border-radius: 8px;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 2;
        height: 200px;
    }

    #holidays .container > div {
        padding: 0 16px;
    }

    #holidays p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .main-footer {
        padding: 50px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px 24px;
    }

    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .footer-col p {
        font-size: 0.85rem;
        line-height: 1.8;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 12px 14px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 2rem;
    }
}

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