@media (max-width:991px) {
    body.poster {
        margin-top: 40vh;
    }
}

body.poster {
    background-attachment: fixed;
}

/* ===== LUXURY DESIGN ENHANCEMENTS ===== */

/* Custom Gradient Backgrounds */
.bg-luxury-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-dark-gradient {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
}

/* Navigation Enhancements */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    color: #2c3e50 !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Hero Section Enhancements */
.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Section Styling */
.pt-5.pb-5:not(.bg-light):not(.bg-primary):not(.bg-dark) {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.9));
}

.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
}

/* Card Enhancements */
.border.rounded {
    border: none !important;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 15px !important;
}

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

/* Button Enhancements */
.btn-light {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #2c3e50;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 1);
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Footer Transformation */
footer.bg-dark {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    position: relative;
    overflow: hidden;
}

footer.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h2 {
    color: #f7971e !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
}

footer a {
    color: #e2e8f0 !important;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

footer a:hover {
    color: #f7971e !important;
    transform: translateX(5px);
}

footer a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f7971e;
    transition: width 0.3s ease;
}

footer a:hover::before {
    width: 100%;
}

footer .text-white-50 {
    color: #a0aec0 !important;
}

footer hr {
    border-color: rgba(247, 151, 30, 0.3) !important;
    margin: 2rem 0 !important;
}

/* Text Enhancements */
.text-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.display-4 {
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form Enhancements */
.form-control, .form-select {
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: rgba(255, 255, 255, 1);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    footer .col-sm-4 {
        margin-bottom: 2rem;
    }
}

/* Luxury Accent Elements */
.luxury-accent {
    position: relative;
}

.luxury-accent::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    border-radius: 2px;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== НОВЫЕ LAYOUT СТИЛИ ===== */

/* Асимметричные секции */
.asymmetric-section {
    background: linear-gradient(45deg, transparent 0%, transparent 40%, rgba(102, 126, 234, 0.05) 40%, rgba(102, 126, 234, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.asymmetric-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.03) 0%, transparent 70%);
    transform: skewX(-15deg);
    transform-origin: top right;
}

/* Зигзаг layout */
.zigzag-left {
    padding-left: 8% !important;
    padding-right: 2% !important;
}

.zigzag-right {
    padding-left: 2% !important;
    padding-right: 8% !important;
}

/* Диагональные блоки */
.diagonal-block {
    transform: skewY(-2deg);
    margin: 3rem 0;
}

.diagonal-block .container {
    transform: skewY(2deg);
}

/* Круговые секции */
.circular-section {
    border-radius: 0 0 50% 50% / 0 0 100px 100px;
    margin-bottom: 4rem;
}

.circular-section-top {
    border-radius: 50% 50% 0 0 / 100px 100px 0 0;
    margin-top: 4rem;
}

/* Блоки разных размеров */
.large-block {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.small-block {
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.extra-small-block {
    min-height: 25vh;
    display: flex;
    align-items: center;
}

/* Необычные колонки */
.col-narrow {
    flex: 0 0 30%;
    max-width: 30%;
}

.col-wide {
    flex: 0 0 70%;
    max-width: 70%;
}

.col-ultra-narrow {
    flex: 0 0 20%;
    max-width: 20%;
}

.col-ultra-wide {
    flex: 0 0 80%;
    max-width: 80%;
}

/* Сетка с необычными пропорциями */
.custom-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.custom-grid-alt {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    align-items: stretch;
}

.custom-grid-triple {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 1.5rem;
}

/* Вертикальные карточки */
.vertical-card {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.horizontal-card {
    display: flex;
    align-items: center;
    min-height: 200px;
    gap: 2rem;
}

.horizontal-card .card-content {
    flex: 1;
}

.horizontal-card .card-image {
    flex: 0 0 40%;
}

/* Floating элементы */
.floating-element {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    margin-bottom: 50px;
}

.floating-element-right {
    margin-left: auto;
    margin-right: 5%;
    width: 90%;
}

.floating-element-left {
    margin-left: 5%;
    margin-right: auto;
    width: 90%;
}

/* Ступенчатый layout */
.stepped-layout .step-1 {
    margin-left: 0;
    margin-right: auto;
    width: 95%;
}

.stepped-layout .step-2 {
    margin-left: 5%;
    margin-right: auto;
    width: 90%;
}

.stepped-layout .step-3 {
    margin-left: 10%;
    margin-right: auto;
    width: 85%;
}

/* Overlapping секции */
.overlap-section {
    position: relative;
    z-index: 2;
    margin-top: -100px;
    padding-top: 150px;
}

/* Мозаичный layout */
.mosaic-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 1rem;
}

.mosaic-item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.mosaic-item-2 {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.mosaic-item-3 {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
}

.mosaic-item-4 {
    grid-column: 4 / 5;
    grid-row: 2 / 4;
}

.mosaic-item-5 {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

/* Волнообразные секции */
.wave-section {
    position: relative;
    padding: 6rem 0;
}

.wave-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.1) 25%, transparent 50%, rgba(118, 75, 162, 0.1) 75%, transparent 100%);
    clip-path: polygon(0 20px, 25% 0px, 50% 20px, 75% 0px, 100% 20px, 100% 100%, 0 100%);
}

.wave-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.1) 25%, transparent 50%, rgba(118, 75, 162, 0.1) 75%, transparent 100%);
    clip-path: polygon(0 0, 25% 80px, 50% 0, 75% 80px, 100% 0, 100% 100%, 0 100%);
}

/* Адаптивные изменения для необычных layouts */
@media (max-width: 768px) {
    .custom-grid,
    .custom-grid-alt,
    .custom-grid-triple {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mosaic-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 150px);
    }
    
    .mosaic-item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .mosaic-item-2,
    .mosaic-item-3,
    .mosaic-item-4,
    .mosaic-item-5 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .col-narrow,
    .col-wide,
    .col-ultra-narrow,
    .col-ultra-wide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .horizontal-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stepped-layout .step-1,
    .stepped-layout .step-2,
    .stepped-layout .step-3 {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}
