/* ============================================
   PREMIUM AVIATION · ALEXANDER ORLOV
   Fullscreen hero · Glass header · Dark minimal
   ============================================ */

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

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================
   GLASS HEADER
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    padding: 12px 0;
}

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

.logo {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 4px;
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    flex-shrink: 0;
}

.logo span {
    font-weight: 600;
    letter-spacing: 2px;
}

/* ===== БУРГЕР ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    flex-shrink: 0;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== НАВИГАЦИЯ ===== */
nav {
    display: flex;
    align-items: center;
    gap: 0;
}

nav a {
    margin-left: 32px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

nav a:hover {
    color: #ffffff;
}

nav a.active {
    color: #ffffff;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.admin-link {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.admin-link:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000000;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.02);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide.zoom {
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 40%, #000000 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 28px 100px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 200;
    letter-spacing: 6px;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
}

.hero h1 .highlight {
    font-weight: 600;
    letter-spacing: 8px;
    display: block;
    margin-top: 4px;
    font-size: 0.6em;
    opacity: 0.7;
}

.hero p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 300;
    margin-top: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-tag {
    display: inline-block;
    margin-top: 32px;
    padding: 8px 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Индикаторы карусели - по центру, горизонтально */
.carousel-indicators {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.indicator {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    border-radius: 2px;
    overflow: hidden;
    transition: background 0.3s ease;
    position: relative;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.2);
}

.indicator-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transition: none;
}

.indicator.active .indicator-progress {
    animation: progressAnimation 5s linear forwards;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    100% { width: 100%; }
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Скролл-хинт - справа внизу */
.scroll-hint {
    position: absolute;
    bottom: 100px;
    right: 40px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 2.5s ease-in-out infinite;
    cursor: pointer;
    text-align: right;
}

.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 32px;
    margin: 6px auto 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), transparent);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(4px); }
}

/* ============================================
   CONTACTS PAGE
   ============================================ */
.contacts-page {
    padding: 120px 0 80px;
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacts-photo {
    position: relative;
}

.photo-frame {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.photo-frame img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.photo-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.contacts-info h1 {
    font-size: 44px;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.contacts-info .subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 460px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.5;
}

.contact-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.contact-value {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.contact-value:hover {
    opacity: 0.7;
}

.contact-note {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-note p {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ============================================
   POSTS / GALLERY
   ============================================ */
.posts {
    padding: 70px 0 100px;
    background: #000000;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 18px;
}

.section-title span {
    color: rgba(255, 255, 255, 0.4);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.post-card {
    background: #0a0a0a;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.4s ease;
}

.post-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.post-image {
    height: 280px;
    background-size: cover;
    background-position: center center;
    background-color: #141414;
}

.post-info {
    padding: 22px 24px 26px;
}

.post-info h3 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: #ffffff;
    margin-bottom: 8px;
}

.post-info p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 300;
}

.post-date {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.post-status {
    display: inline-block;
    margin-top: 10px;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-status.draft {
    background: rgba(255, 200, 0, 0.1);
    color: rgba(255, 200, 0, 0.4);
    border: 1px solid rgba(255, 200, 0, 0.1);
}

.empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    padding: 60px 0;
    font-size: 14px;
    grid-column: 1 / -1;
    letter-spacing: 1px;
}

/* ============================================
   POST PAGE
   ============================================ */
.post-page {
    padding: 120px 0 70px;
    background: #000000;
    min-height: 100vh;
}

.post-cover {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.post-page h1 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 6px;
}

.post-meta {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.post-content {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

.post-content p {
    margin-bottom: 1.2em;
}

.back-link {
    display: inline-block;
    margin-top: 48px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1.5px;
    font-size: 12px;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.back-link:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.post-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.post-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease;
}

.post-gallery img:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.gallery-title {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 28px 0 14px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 0;
    text-align: center;
    background: #000000;
    position: relative;
    z-index: 2;
}

footer p {
    color: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
        letter-spacing: 4px;
    }
    
    .hero h1 .highlight {
        font-size: 0.5em;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .photo-frame img {
        height: 400px;
    }
    
    .contacts-info h1 {
        font-size: 34px;
    }
    
    .carousel-indicators {
        bottom: 90px;
    }
    
    .scroll-hint {
        bottom: 90px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 14px;
        letter-spacing: 3px;
    }
    
    .burger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-left: 1px solid rgba(255, 255, 255, 0.04);
    }
    
    nav.open {
        right: 0;
    }
    
    nav a {
        margin-left: 0;
        font-size: 16px;
        letter-spacing: 3px;
        padding: 8px 0;
    }
    
    nav a.active::after {
        bottom: 2px;
    }
    
    .hero-content {
        padding: 100px 20px 90px;
    }
    
    .hero h1 {
        font-size: 32px;
        letter-spacing: 3px;
    }
    
    .hero h1 .highlight {
        font-size: 0.55em;
        letter-spacing: 4px;
    }
    
    .hero p {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .hero-tag {
        font-size: 9px;
        padding: 6px 20px;
        letter-spacing: 2px;
    }
    
    .carousel-indicators {
        bottom: 80px;
        gap: 8px;
    }
    
    .indicator {
        width: 28px;
        height: 2px;
    }
    
    .scroll-hint {
        bottom: 80px;
        right: 20px;
        font-size: 9px;
    }
    
    .scroll-hint::after {
        height: 24px;
        margin: 4px auto 0;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-page {
        padding: 100px 0 50px;
    }
    
    .post-page h1 {
        font-size: 28px;
    }
    
    .post-gallery {
        grid-template-columns: 1fr;
    }
    
    .post-gallery img {
        height: 220px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .contacts-page {
        padding: 100px 0 60px;
    }
    
    .photo-frame img {
        height: 300px;
    }
    
    .contacts-info h1 {
        font-size: 28px;
    }
    
    .contact-value {
        font-size: 15px;
    }
    
    .photo-badge {
        bottom: 16px;
        right: 16px;
        font-size: 9px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .hero h1 .highlight {
        font-size: 0.6em;
        letter-spacing: 3px;
    }
    
    .hero p {
        font-size: 12px;
        letter-spacing: 1.5px;
        margin-top: 12px;
    }
    
    .post-info h3 {
        font-size: 17px;
    }
    
    .post-info {
        padding: 16px 18px 20px;
    }
    
    nav {
        width: 100%;
        right: -100%;
        padding: 30px;
    }
    
    .contacts-info .subtitle {
        font-size: 14px;
    }
    
    .carousel-indicators {
        bottom: 70px;
        gap: 6px;
    }
    
    .indicator {
        width: 20px;
        height: 2px;
    }
    
    .scroll-hint {
        bottom: 70px;
        right: 16px;
        font-size: 8px;
    }
    
    .scroll-hint::after {
        height: 20px;
        margin: 4px auto 0;
    }
}