/* Google Fonts - Playfair Display (serif, similar to Georgia) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. ЗМІННІ ТА КОЛЬОРОВА ПАЛІТРА (Стиль: Grey & Pastel Green)
   ========================================================================== */
:root {
    --bg-color: #F0F0F0;       /* Світло-сірий фон */
    --surface-color: #FFFFFF;  /* Чистий білий для карток та блоків */
    --accent-color: #A8C5A8;   /* Пастельний зелений акцент */
    --accent-hover: #7BA37B;   /* Темніший зелений для hover */
    --text-main: #333333;      /* Темно-сірий текст */
    --text-muted: #666666;     /* Сірий для другорядного тексту */
    --border-color: #D0D0D0;   /* Світло-сірий для ліній */
}

/* ==========================================================================
   2. БАЗОВІ СТИЛІ ТА ШРИФТИ (Типографіка: Playfair Display - елегантний serif з Google Fonts)
   ========================================================================== */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: Georgia, "Playfair Display", "Times New Roman", Times, serif;
    font-size: 18px;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: normal;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Special styles for navigation links */
.nav-links a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: normal;
}

.nav-links a:hover {
    color: var(--text-main);
    border-bottom: 1px solid var(--text-main);
}

/* Special styles for logo */
.logo {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    text-decoration: none;
    color: var(--text-main);
}

.logo i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Special styles for buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--accent-hover);
    color: #FFFFFF;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: background 0.3s ease;
    text-align: center;
}

.btn a {
    color: #FFFFFF;
    text-decoration: none;
}

.btn a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

main {
    flex-grow: 1;
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
p {
    margin-bottom: 1rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ==========================================================================
   3. НАВІГАЦІЯ ТА ШАПКА (HEADER)
   ========================================================================== */
header {
    background-color: var(--bg-color);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a.active {
    color: var(--text-main);
    border-bottom: 1px solid var(--accent-hover);
    font-weight: bold;
}

.lang-switch button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-family: inherit;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switch button.active-lang { 
    background: var(--accent-color); 
    color: var(--text-main); 
    border-color: var(--accent-color); 
}

/* ==========================================================================
   4. КОМПОНЕНТИ СТОРІНОК & КНОПКИ
   ========================================================================== */

.btn:hover {
    background-color: var(--text-main);
    text-decoration: none;
}

/* ==========================================================================
   5. ГЛОБАЛЬНІ СТИЛІ ЗАГОЛОВКІВ
   ========================================================================== */
h1 {
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-main);
}

h2 {
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--text-main);
}

h3 {
    font-size: 1.8rem;
    font-weight: normal;
    color: var(--text-main);
}

/* ==========================================================================
   6. СЕКЦІЯ HERO
   ========================================================================== */
.hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 8rem 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-radius: 0;
    margin-bottom: 0;
    color: #FFFFFF;
}

.hero h1 { 
    font-size: 3.2rem; 
    margin-bottom: 1.5rem; 
    font-weight: normal;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p { 
    font-size: 1.4rem; 
    color: #EAEAEA; 
    margin-bottom: 2.5rem; 
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    padding: 18px 40px;
    font-size: 1.15rem;
    background-color: #FFFFFF;
    color: #2C2C2C;
    font-weight: bold;
    border: 1px solid transparent;
    border-radius: 8px;
}

.hero .btn:hover {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    text-decoration: none;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFFFFF;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #EAEAEA;
    margin-top: 0.5rem;
}

/* Scroll Down Button */
.scroll-down-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-3px);
}

.scroll-arrow {
    font-size: 1.5rem;
    font-weight: bold;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Main content padding for sections except hero */
main > section:not(.hero) {
    margin: 3rem 0;
}

/* About Preview */
.about-preview {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.about-preview h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.about-preview p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features {
    padding: 4rem 0;
    text-align: center;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: normal;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mini Portfolio */
.mini-portfolio {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--surface-color);
    border-radius: 12px;
}

.mini-portfolio h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: normal;
}

.mini-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.mini-portfolio-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mini-portfolio-item img:hover {
    transform: scale(1.02);
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: normal;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-main);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: #FFFFFF;
    border-radius: 12px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background-color: #FFFFFF;
    color: var(--text-main);
}

.cta-section .btn:hover {
    background-color: var(--bg-color);
}

/* ==========================================================================
   6. ПОРТФОЛІО
   ========================================================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--accent-color);
    color: #FFFFFF;
    border-color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    color: #FFFFFF;
    border-color: var(--accent-color);
}

.filter-btn .lang-en {
    display: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.portfolio-item img { 
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    border-radius: 8px;
    filter: grayscale(10%);
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.3s ease;
    cursor: pointer;
    background-color: var(--bg-color);
    opacity: 0;
    animation: fadeInImage 0.5s ease forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.portfolio-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.01);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item.show {
    animation: fadeIn 0.5s ease;
}

/* Loading indicator */
.loading-indicator {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error message */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    background-color: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 40px;
    padding: 20px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    font-size: 1rem;
    z-index: 1001;
}

.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
}
    to {
        opacity: 1;
        transform: scale(1);
    }

/* ==========================================================================
   7. ЦІНИ
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.price-card {
    position: relative;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: #FFFFFF;
    padding: 8px 45px;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
    text-align: center;
    min-width: 140px;
}

.popular-badge .lang-en {
    display: none;
}

.popular-card {
    border: 2px solid var(--accent-hover) !important;
    overflow: hidden;
}

.price-card h3 { 
    font-size: 1.8rem; 
    margin-bottom: 1rem; 
    font-weight: normal;
    letter-spacing: 1px;
}

.price-card .price { 
    font-size: 2.5rem; 
    font-weight: bold; 
    margin-bottom: 2rem;
    color: var(--text-main);
}

.price-card ul { 
    list-style: none; 
    margin-bottom: 2.5rem; 
    text-align: left; 
}

.price-card ul li { 
    margin-bottom: 0.9rem; 
    padding-left: 1.5rem; 
    position: relative;
    color: var(--text-muted);
}

.price-card ul li::before { 
    content: "—"; 
    position: absolute; 
    left: 0; 
    color: var(--accent-color); 
}

/* ==========================================================================
   8. СТОРІНКА "ПРО МЕНЕ" ТА КОНТАКТНА ФОРМА
   ========================================================================== */
.about-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.about-text, .booking-form-wrapper { 
    flex: 1; 
}

.about-text h1, .booking-form-wrapper h1 { 
    margin-bottom: 1.5rem; 
    font-weight: normal; 
    font-size: 2.5rem; 
    letter-spacing: 1px;
}

.about-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 2rem auto;
    display: block;
}

.contact-details { 
    margin: 2.5rem 0; 
    list-style: none; 
}

.contact-details li { 
    margin-bottom: 0.8rem; 
    font-size: 1.15rem;
}

.contact-details strong { 
    font-weight: normal; 
    color: var(--accent-hover); 
    display: inline-block;
    padding: 0 10px;
}

.contact-details a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: normal;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group { 
    display: flex; 
    flex-direction: column; 
    gap: 0.4rem; 
}

.form-group label { 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1.05rem;
    outline: none;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus { 
    border-color: var(--accent-hover); 
}

/* ==========================================================================
   9. ФУТЕР
   ========================================================================== */
footer { 
    text-align: center; 
    padding: 2.5rem; 
    border-top: 1px solid var(--border-color); 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    margin-top: auto;
    letter-spacing: 1px;
}

footer p {
    margin: 0.5rem 0;
}

footer p a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer p a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   10. АДАПТИВНІСТЬ ТА МЕДІА-ЗАПИТИ
   ========================================================================== */

@media (max-width: 1024px) {
    .price-card {
        flex: 0 1 calc(50% - 2.5rem);
    }
    
    .about-container { 
        flex-direction: column; 
        gap: 3rem; 
    }
    
    .about-text, .booking-form-wrapper { 
        width: 100%; 
    }
}

@media (max-width: 768px) {
    .price-card {
        flex: 0 1 100%;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    header { 
        flex-direction: column; 
        gap: 1.2rem; 
        padding: 1.5rem 1rem; 
    }
    
    .nav-links { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 1rem 1.5rem; 
    }
    
    .hero {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 4rem 1rem;
    }
    
    
    
    .booking-form { 
        padding: 1.5rem; 
    }

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--accent-color);
    color: #FFFFFF;
    border-color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    color: #FFFFFF;
    border-color: var(--accent-color);
}

.filter-btn .lang-en {
    display: none;
}

.portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item img {
        height: 320px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .mini-portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .mini-portfolio-item img {
        height: 300px;
    }
    
    .about-preview,
    .mini-portfolio,
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .mini-portfolio-grid {
        padding: 0;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    
    
    .popular-badge {
        top: 15px;
        right: -30px;
        padding: 6px 35px;
        font-size: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--accent-color);
    color: #FFFFFF;
    border-color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    color: #FFFFFF;
    border-color: var(--accent-color);
}

.filter-btn .lang-en {
    display: none;
}













































