/* Princess of Sports - Common Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Плавная прокрутка для всего сайта */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #AEC0E0 0%, #4A5B8C 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Плавные переходы для всех интерактивных элементов */
a, button, input, select, textarea {
    transition: all 0.3s ease;
}

/* Плавные переходы для карточек и блоков */
.card, .modal, .image-card, .application-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide global scrollbar but keep scrolling */
html, body {
    overflow-x: hidden;
}

/* Common Background Gradients */
.bg-primary {
    background: linear-gradient(135deg, #AEC0E0 0%, #4A5B8C 100%);
}

.bg-secondary {
    background: linear-gradient(135deg, #4A5B8C 0%, #6A7BA0 100%);
}

.bg-dark {
    background: linear-gradient(135deg, #4A5B8C 0%, #2C3E50 100%);
}

.bg-light {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.bg-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* Common Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #4A5B8C 0%, #6A7BA0 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 91, 140, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

/* Common Card Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

/* Common Text Styles */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-primary {
    color: #4A5B8C;
}

/* Common Spacing */
.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

/* Common Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 20px;
        margin: 10px;
    }
    
    .btn-primary,
    .btn-success {
        padding: 10px 20px;
        font-size: 14px;
    }
}
