@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff4500;
    --secondary-color: #E91E63;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f5f5;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--light);
}

.onlymob {
    display: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.nav-info {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--light);
}

.nav-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.nav-date::before {
    content: "📅";
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.register-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.button-center {
    text-align: center;
}

.register-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

/* Hero Section */
.hero {
    margin-top: 80px; /* отступ для фиксированного хедера */
    background: #ffffff;
}

.hero-banner {
    width: 100%;
    height: 700px;
    /* Замени 'path/to/your/image.jpg' на путь к твоему изображению */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%), url("./img/slide1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-text-mobile {display: none;}

.hero-text {
    position: absolute;
    bottom: 40px;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
}

.hero-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-info-item {
    display: flex
;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

 

.hero-info-item:nth-child(1)::before {
    content: "📅";
}

.hero-info-item::before {
    font-size: 24px;
}

.hero-info-item:nth-child(2)::before {
    content: "📍";
}
 

.hero-info-item:nth-child(3)::before {
    content: "🎯";
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    padding: 60px 0;
    text-align: center;
}

.hero-cta {
    margin-bottom: 60px;
}

.register-btn {
    background: linear-gradient(135deg, #ff4500, #E91E63);
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #f5f5f5;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.benefit-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}













/* Speakers Section - ФИНАЛЬНАЯ ВЕРСИЯ с JS */
.speakers {
    padding: 100px 0;
    background: #f5f5f5;
}

.speakers-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.speakers-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.speakers-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.speakers-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.speaker-card {
    width: 380px;
    min-width: 380px;
    flex: 0 0 380px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    z-index: 100;
}

.speaker-photo {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.3s ease;
}

/* Скрываем оригинальное изображение при hover */
.speaker-card.hovering .speaker-photo img {
    opacity: 0.3;
}

/* Стили для клонированного изображения */
.speaker-photo-clone {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform-origin: center center;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 200;
}

.speaker-photo-clone.active {
    transform: scale(1.15) translateY(-30px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.speaker-content {
    padding: 30px;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.speaker-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.speaker-position {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.speaker-topics h4 {
    font-size: 16px;
    color: #FF4500;
    margin-bottom: 10px;
}

.speaker-topics ul {
    list-style: none;
}

.speaker-topics li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.speaker-topics li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF4500;
    font-weight: bold;
}

.carousel-btn {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #FF4500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #FF4500;
}

.carousel-btn:hover {
    background: #FF4500;
    color: #ffffff;
    transform: scale(1.1);
}



















/* Program Section */
.program {
    padding: 100px 0;
    background: #ffffff;
}

.program-table {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    background: #2c2c2c;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.table-header .table-cell {
    padding: 25px 20px;
    font-size: 18px;
}

.table-row {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: #f8f8f8;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 20px;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.6;
    border-right: 1px solid #e5e5e5;
        flex-direction: column;
}

.table-cell:last-child {
    border-right: none;
}

.table-cell strong {
    color: #FF4500;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.time {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
    justify-content: center;
    text-align: center;
}

.time-header {
    background: #FF4500;
}

/* Объединенные ячейки */
.table-cell.colspan {
    grid-column: 2 / 4;
    text-align: center;
    justify-content: center;
    font-weight: 600;
    background: #f9f9f9;
}

.table-cell.coffee {
    background: #fff3e0;
    color: #FF6B00;
}

.table-cell.lunch {
    background: #e8f5e9;
    color: #2e7d32;
}

.table-cell.empty {
    color: #ccc;
    justify-content: center;
}

/* BBQ строка */
.table-row.bbq {
    background: linear-gradient(135deg, #FF4500, #E91E63);
    color: #ffffff;
}

.table-row.bbq .table-cell {
    border-color: rgba(255,255,255,0.2);
}

.table-row.bbq .time {
    background: rgba(0,0,0,0.2);
    color: #ffffff;
}

.table-row.bbq strong {
    color: #ffffff;
}

 
/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255,69,0,0.05), rgba(255,165,0,0.05));
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 2px solid #FF4500;
}

.pricing-card.featured::before {
    content: 'ВИГІДНІШЕ';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #FF4500;
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    color: #FF4500;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

.pricing-features li.highlight {
    color: #FF4500;
    font-weight: 600;
}

.pricing-features li.highlight::before {
    color: #FF4500;
}

.pricing-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #fff3e0;
    border-radius: 15px;
    border-left: 4px solid #FF4500;
}

.pricing-note p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.pricing-note strong {
    color: #FF4500;
}

 





/* Hotel Section */
.hotel {
    padding: 100px 0;
    background: #f5f5f5;
}

.hotel-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.hotel-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hotel-image {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-image:hover img {
    transform: scale(1.1);
}

.hotel-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #ffffff;
    padding: 20px 15px 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.hotel-image:hover .hotel-image-caption {
    background: linear-gradient(to top, rgba(255,69,0,0.9), transparent);
}

/* Альтернативный вариант с overlay эффектом */
.hotel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
}

.hotel-image:hover::after {
    background: rgba(255,69,0,0.2);
}

.hotel-description h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #1a1a1a;
    line-height: 1.3;
}

.hotel-description p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.hotel-description p.highlight {
    color: #FF4500;
    font-weight: 500;
    font-size: 18px;
}

.hotel-description em {
    font-style: italic;
    color: #666;
}

.hotel-subtitle {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.room-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.room-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

/* Опциональный оверлей с названием номера на фото */
.room-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-card:hover .room-image::after {
    opacity: 1;
}

.room-info {
    padding: 30px;
}

.room-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.room-price {
    font-size: 32px;
    font-weight: 800;
    color: #FF4500;
    margin-bottom: 20px;
}

.room-features {
    list-style: none;
    margin-bottom: 25px;
}

.room-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.room-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

 

.additional-info {
    text-align: center;
    padding: 30px;
    background: #fff3e0;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.additional-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.additional-info strong {
    color: #FF4500;
}

 


/* Map Section */
.map-section {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    color: #ffffff;
    max-width: 350px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.map-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FF4500;
}

.map-info p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #FF4500, #E91E63);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,69,0,0.4);
}




/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF4500, #E91E63, #FF4500);
}

.footer-content {
    text-align: center;
}

.footer-header {
    margin-bottom: 50px;
}

.footer-header h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FF4500, #E91E63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-header p {
    font-size: 18px;
    color: #aaa;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 140px;
}

.social-link:hover {
    background: rgba(255,69,0,0.2);
    border-color: #FF4500;
    transform: translateY(-5px);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF4500, #E91E63);   
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255,69,0,0.5);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.social-name {
    font-size: 14px;
    text-align: center;
}

.footer-contact {
    margin-bottom: 40px;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-phone:hover {
    color: #FF4500;
}

.footer-phone svg {
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #666;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-header h3 {
        font-size: 26px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        min-width: 120px;
        padding: 15px 10px;
    }
    
    .footer-phone {
        font-size: 20px;
    }
}











/* Footer additions */
.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.contact-item svg {
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(255,69,0,0.2);
    border-radius: 50%;
    color: #FF4500;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FF4500;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
}

.contact-item .footer-phone {
    color: #ccc;
    font-size: 16px;
    font-weight: 400;
}

.contact-item .footer-phone:hover {
    color: #FF4500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .map-overlay {
        position: static;
        transform: none;
        max-width: 100%;
        margin: 20px;
        left: 0;
    }
    
    .map-section {
        height: auto;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .footer-contacts {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}
/* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .modal.show {
            display: flex;
            opacity: 1;
        }
        
        .modal-content {
            background: var(--light);
            padding: 40px;
            border-radius: 20px;
            max-width: 500px;
            width: 90%;
            position: relative;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .modal.show .modal-content {
            transform: scale(1);
        }
        
        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 30px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .modal-close:hover {
            transform: rotate(90deg);
        }
        
        /* Success Modal Styles */
        .success-content {
            text-align: center;
            max-width: 450px;
            padding: 50px 40px 40px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }
        
        .success-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
            color: white;
            border-radius: 50%;
            font-size: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            animation: successPulse 0.6s ease;
            box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
            position: relative;
        }
        
        .success-icon::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 3px solid #4CAF50;
            animation: successRipple 1.5s ease-out infinite;
        }
        
        @keyframes successPulse {
            0% {
                transform: scale(0) rotate(-180deg);
                opacity: 0;
            }
            50% {
                transform: scale(1.1) rotate(10deg);
            }
            100% {
                transform: scale(1) rotate(0deg);
                opacity: 1;
            }
        }
        
        @keyframes successRipple {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            100% {
                transform: scale(1.3);
                opacity: 0;
            }
        }
        
        .success-content h3 {
            font-size: 28px;
            margin-bottom: 20px;
            color: #1a1a1a;
            font-weight: 700;
            letter-spacing: -0.5px;
        }
        
        .success-content p {
            font-size: 17px;
            color: #555;
            margin-bottom: 35px;
            line-height: 1.6;
            font-weight: 400;
        }
        
        .success-content .register-btn {
            background: linear-gradient(135deg, #FF4500, #E91E63);
            padding: 14px 50px;
            font-size: 16px;
            box-shadow: 0 5px 20px rgba(255, 69, 0, 0.3);
        }
        
        .success-content .register-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(255, 69, 0, 0.4);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }
        
        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 20px;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
            transform: scale(1.02);
        }
        
        .form-submit {
            width: 100%;
            margin-top: 30px;
        }



/* Emotion Section с улучшенным слайдером */
.emotion {
    padding: 100px 0;
    background: linear-gradient(135deg, rgb(252 64 13), rgb(37 37 37));
    color: var(--light);
    text-align: center;
}

.emotion-content {
    max-width: 800px;
    margin: 0 auto;
}

.emotion h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.emotion p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Обновленный слайдер */
.photo-slider {
    margin: 60px 0;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    height: 400px;
    background: rgba(0,0,0,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.photo-slider-track {
    display: flex;
    width: fit-content;
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slide-photo {
    width: 600px;
    height: 400px;
    margin-right: 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.slide-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover эффект на фото */
.slide-photo:hover img {
    transform: scale(1.05);
}

/* Градиент по краям слайдера */
.photo-slider::before,
.photo-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.photo-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(26,26,26,0.8), transparent);
}

.photo-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(26,26,26,0.8), transparent);
}

/* Пауза при наведении */
.photo-slider:hover .photo-slider-track {
    animation-play-state: paused;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .slide-photo {
        width: 500px;
    }
    
    .photo-slider {
        height: 350px;
    }
    
    .slide-photo {
        height: 350px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .emotion {
        padding: 60px 0;
    }
    
    .emotion h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .emotion p {
        font-size: 16px;
        margin-bottom: 15px;
        padding: 0 20px;
    }
    
    .photo-slider {
        margin: 40px 0;
        height: 250px;
        border-radius: 15px;
    }
    
    .slide-photo {
        width: 350px;
        height: 250px;
        margin-right: 15px;
    }
    
    .photo-slider-track {
        animation-duration: 45s; /* Быстрее на мобильных */
    }
    
    /* Уменьшаем градиенты на мобильных */
    .photo-slider::before,
    .photo-slider::after {
        width: 50px;
    }
}

/* Для маленьких экранов */
@media (max-width: 480px) {
    .slide-photo {
        width: 280px;
        height: 200px;
        margin-right: 10px;
    }
    
    .photo-slider {
        height: 200px;
    }
    
    .photo-slider-track {
        animation-duration: 40s;
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}