/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background-color: #FF69B4;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-list a:hover {
    opacity: 0.8;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация превращения бургер-меню в крестик */
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

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

/* Hero Section Styles */
.hero {
    background: linear-gradient(135deg, #1E6F5C 0%, #2E6A4E 100%);
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #A0E632;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #FF69B4;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    color: white;
}

.section-orange {
    background-color: #FFA500;
    color: white;
}

.section-light {
    background-color: #F8F8F8;
    color: #333;
}

.section-dark {
    background: linear-gradient(135deg, #1E6F5C 0%, #2E6A4E 100%);
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    color: white;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card h3 {
    color: #1E6F5C;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #FF69B4;
}

.btn-secondary:hover {
    background-color: #E55A9F;
}

.btn-success {
    background-color: #A0E632;
    color: #1E6F5C;
}

.btn-success:hover {
    background-color: #8BC826;
}

/* Ticket-style CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1E6F5C 0%, #2E6A4E 100%);
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
    padding: 60px 0;
    margin: 40px 0;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background: #FFA500;
    background-image: 
        radial-gradient(circle at 10px 10px, rgba(0,0,0,0.2) 1px, transparent 1px);
    background-size: 20px 20px;
}

.cta-section::before {
    top: -10px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.cta-section::after {
    bottom: -10px;
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #A0E632;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-content .btn {
    background-color: #FF69B4;
    padding: 20px 40px;
    font-size: 18px;
}

/* Footer Styles */
.footer {
    background-color: #1A1A2E;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 3rem;
    color: #FF69B4;
    margin-bottom: 20px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #FF69B4;
}

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

.footer-bottom-content p {
    color: #999;
    margin-bottom: 5px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label:not(:has(input[type="checkbox"])) {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007BFF;
}

/* Checkbox Styles */
/* Fallback for browsers that don't support :has() */
.form-group label.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.form-group label.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    transform: scale(1.2);
    accent-color: #FF69B4;
}

/* Modern browsers with :has() support */
.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.form-group label:has(input[type="checkbox"]) input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    transform: scale(1.2);
    accent-color: #FF69B4;
}

.form-group label a {
    color: #FF69B4;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.form-group label a:hover {
    color: #E55A9F;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

/* Image Styles */
.img-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    margin-bottom: 20px;
}

.img-placeholder.large {
    height: 300px;
}

/* Responsive Design */
/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo a {
        margin-right: 40px;
    }
    
    .nav-list {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .footer-logo h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FF69B4;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav.active .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav.active .nav-list a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
}

/* Success message styles */
.success {
    background-color: #e8f5e8;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    color: #2e7d32;
    font-weight: bold;
}

/* Utility Classes */
.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

