:root {
    /* Colors */
    --clr-bg-start: #FFFFFF;
    --clr-bg-end: #F2E8FA; /* pearl-light lavender */
    --clr-accent-orange: #FF6B35;
    --clr-accent-wine: #7A1C31;
    --clr-text-main: #1A1A1A;
    --clr-text-muted: #4A4A4A;
    --clr-white: #FFFFFF;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --spacing-section: 100px;
}

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

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background: linear-gradient(135deg, var(--clr-bg-start) 0%, var(--clr-bg-end) 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--spacing-section) 0;
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--clr-accent-orange);
    color: var(--clr-white);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-text-main);
    border: 1px solid rgba(26, 26, 26, 0.2);
}

.btn-outline:hover {
    border-color: var(--clr-text-main);
    background-color: rgba(0, 0, 0, 0.03);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.subtitle {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-accent-wine);
    margin-bottom: 20px;
    font-weight: 600;
}

.title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 40px;
}

.title span {
    color: var(--clr-accent-orange);
    font-style: italic;
}

.title span.wine {
    color: var(--clr-accent-wine);
}

.hero-visual {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.statue-img {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    mix-blend-mode: multiply; /* Will help blend into the gradient backgound beautifully */
}

/* Clouds Animation */
.hero-clouds {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
    animation: float 20s infinite ease-in-out alternate;
}

.cloud-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #FFFFFF 0%, rgba(255,255,255,0) 70%);
    top: -10%;
    left: -10%;
}

.cloud-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230,220,250,0.8) 0%, rgba(230,220,250,0) 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Shared Section Styles */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--clr-text-main);
}

/* Block 2: About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.about-card p {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

/* Block 3: Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

.bento-icon {
    font-size: 2.5rem;
    position: absolute;
    top: 30px;
    left: 30px;
}

.bento-item h3 {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 500;
    z-index: 2;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-large h3 {
    font-size: 1.8rem;
}

.bento-wide {
    grid-column: span 2;
}

.tint-wine {
    background: linear-gradient(135deg, white, rgba(122, 28, 49, 0.1));
}

.tint-orange {
    background: linear-gradient(135deg, white, rgba(255, 107, 53, 0.1));
}

/* Block 5: Location */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    font-size: 2.5rem;
}

.info-block h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Block 6: Registration */
.container-sm {
    max-width: 800px;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border-radius: 30px;
    padding: 60px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-weight: 500;
    color: var(--clr-text-main);
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.9);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--clr-text-main);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--clr-accent-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.submit-btn {
    margin-top: 10px;
    width: 100%;
}

.form-status {
    text-align: center;
    font-weight: 500;
    min-height: 24px;
}
.form-status.success {
    color: #27ae60;
}
.form-status.error {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-visual {
        height: 50vh;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    .title {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.1;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .hero {
        padding-top: 100px;
    }
    .navbar {
        padding: 10px 0;
    }
    .hero-container {
        padding-top: 10px;
        gap: 20px;
    }
    .hero-visual {
        height: auto;
        width: 100%;
        padding: 20px 0;
    }
    .statue-img {
        max-height: 40vh;
        height: auto;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        margin-bottom: 40px;
        font-size: 2rem;
    }
}

.directions {
    background: linear-gradient(135deg, #f9f0f5 0%, #e8e1f0 100%);
}

.directions .section-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: #6b2c4e; /* wine/purple */
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 1px;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.direction-card {
    position: relative;
    height: 320px; /* або clamp(280px, 35vw, 380px) для адаптиву */
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.direction-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 32px 24px;
    text-align: center;
}

.card-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    line-height: 1.2;
}

/* Для більших карток (якщо хочеш) */
.direction-card.wide {
    grid-column: span 2;
    height: 325px;
}

.direction-card.wide .card-overlay h3 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

/* Адаптив */
@media (max-width: 768px) {
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .direction-card {
        height: 280px;
    }
    .direction-card.wide {
        height: 320px;
        grid-column: span 1;
    }
}
.direction-card {
    background-size: cover !important;          /* заповнює всю картку, обрізає краї якщо треба */
    background-position: center center !important; /* ідеальний центр */
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

/* Якщо хочеш, щоб картинка була трохи світліша і м'якша */
.direction-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Оверлей робимо м'якшим (тільки знизу, текст добре читається) */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 70%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 24px;
    z-index: 2;
}

.card-overlay h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    margin: 0;
}

/* ФІКСИ ДЛЯ КНОПОК ТА ПІДПИСУ (Додано в кінець) */
.hero-actions .btn {
    min-width: 330px; /* Робить кнопки однакової ширини */
    text-align: center;
}

.hero-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-note {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    font-weight: 400;
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-actions .btn {
        min-width: 100%;
        width: 100%;
    }
}