/*=========================================
        ВЕЧНАЯ ПАМЯТЬ
        Premium Style
==========================================*/

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

:root{

    --bg:#0b0d11;
    --bg2:#14181d;
    --card:rgba(255,255,255,.05);

    --gold:#c5a46d;
    --gold2:#e6c58d;

    --white:#ffffff;
    --text:#d7d7d7;
    --gray:#8a8a8a;

    --border:rgba(255,255,255,.08);

    --transition:.45s ease;

    --radius:18px;

    --shadow:0 25px 70px rgba(0,0,0,.45);

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--bg);

    color:var(--white);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

}

/* scrollbar */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#08090b;

}

::-webkit-scrollbar-thumb{

    background:var(--gold);

    border-radius:20px;

}

/* Selection */

::selection{

    background:var(--gold);

    color:#000;

}

.container{

    width:90%;

    max-width:1400px;

    margin:auto;

}

/*=====================================
Loader
=====================================*/

/* 🔥 FORCE FIX LOADER */
.loader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    animation: hideLoader 1.2s ease forwards;
    animation-delay: 3.5s;
    width: 100% !important;
    height: 100vh !important;

    background: #0e0e0e !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color:var(--gold);
    z-index: 999999 !important;
}

/* текст */
.loader-logo span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    color: #c6a96b;
}
        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        @keyframes hideLoader {
            to {
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
            }
        }
/*=====================================



/*=====================================
HEADER
=====================================*/

header{

position:fixed;

top:0;

left:0;

width:100%;

padding:30px 0;

z-index:999;

transition:.4s;

}

header.scrolled{

background:rgba(8,10,13,.75);

backdrop-filter:blur(20px);

border-bottom:1px solid rgba(255,255,255,.05);

padding:18px 0;

}

header .container{

display:flex;

justify-content:space-between;

align-items:center;

}

.logo{

font-family:'Cormorant Garamond',serif;

font-size:34px;

letter-spacing:3px;

color:var(--gold);

}

nav{

display:flex;

gap:50px;

}

nav a{

text-decoration:none;

color:#fff;

font-size:15px;

transition:.4s;

position:relative;

}

nav a::after{

content:'';

position:absolute;

left:0;

bottom:-8px;

width:0;

height:1px;

background:var(--gold);

transition:.4s;

}

nav a:hover{

color:var(--gold);

}

nav a:hover::after{

width:100%;

}

.call{

padding:15px 32px;

border:1px solid var(--gold);

color:var(--gold);

text-decoration:none;

border-radius:40px;

transition:.45s;

}

.call:hover{

background:var(--gold);

color:#000;

box-shadow:0 0 30px rgba(197,164,109,.35);

}

/*=====================================
HERO
=====================================*/

.hero{

position:relative;

height:100vh;

padding-top: 120px;

overflow:hidden;

display:flex;

align-items:center;

justify-content:center;

}

.hero video{

position:absolute;

width:100%;

height:100%;

object-fit:cover;

filter:brightness(.35);

}

.overlay{

position:absolute;

inset:0;

background:linear-gradient(
180deg,
rgba(0,0,0,.35),
rgba(0,0,0,.65),
#0b0d11
);

}

.hero-content{

position:relative;

z-index:2;

text-align:center;

max-width:900px;

}

.hero-content span{

color:var(--gold);

letter-spacing:7px;

text-transform:uppercase;

font-size:14px;

}

.hero-content h1{

font-size:92px;

font-family:'Cormorant Garamond',serif;

font-weight:500;

margin:25px 0;

line-height:1;

}

.hero-content p{

max-width:700px;

margin:auto;

font-size:20px;

line-height:1.9;

color:#d0d0d0;

}

.hero-buttons{

display:flex;

justify-content:center;

gap:25px;

margin-top:60px;

}
/*=========================================
            BUTTONS
=========================================*/

.btn,
.btn-outline{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 45px;

    border-radius:50px;

    text-decoration:none;

    overflow:hidden;

    transition:.45s;

    font-weight:500;

    letter-spacing:1px;

}

.btn{

    background:linear-gradient(135deg,#c5a46d,#e5c58b);

    color:#111;

    box-shadow:0 20px 50px rgba(197,164,109,.35);

}

.btn:hover{

    transform:translateY(-6px);

    box-shadow:0 30px 70px rgba(197,164,109,.45);

}

.btn::before{

    content:'';

    position:absolute;

    left:-120%;

    top:0;

    width:70%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.5),
        transparent
    );

    transform:skewX(-25deg);

    transition:.8s;

}

.btn:hover::before{

    left:140%;

}

.btn-outline{

    border:1px solid var(--gold);

    color:var(--gold);

    background:transparent;

}

.btn-outline:hover{

    background:var(--gold);

    color:#111;

}


/*=========================================
            SECTION
=========================================*/

section{

    padding:140px 0;

    position:relative;

}

section h2{

    font-family:"Cormorant Garamond",serif;

    font-size:58px;

    font-weight:500;

    margin-bottom:25px;

}

section span{

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:5px;

    font-size:13px;

}


/*=========================================
            ABOUT
=========================================*/

.about{

    background:#0d1015;

}

.about .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:100px;

    align-items:center;

}

.about h2{

    margin-top:15px;

    line-height:1.2;

}

.about p{

    color:var(--text);

    font-size:18px;

    line-height:2;

}

.about::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:radial-gradient(

        rgba(197,164,109,.18),

        transparent

    );

    left:-150px;

    top:-150px;

    filter:blur(80px);

}


/*=========================================
            SERVICES
=========================================*/

.services{

    background:linear-gradient(

        180deg,

        #101317,

        #0b0d11

    );

}

.services h2{

    text-align:center;

    margin-bottom:70px;

}

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.card{

    position:relative;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    border-radius:22px;

    padding:50px;

    transition:.45s;

    overflow:hidden;

}

.card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        145deg,

        rgba(255,255,255,.05),

        transparent

    );

    opacity:0;

    transition:.45s;

}

.card:hover::before{

    opacity:1;

}

.card:hover{

    transform:translateY(-14px);

    border-color:rgba(197,164,109,.5);

    box-shadow:0 30px 80px rgba(0,0,0,.45);

}

.card h3{

    font-family:"Cormorant Garamond",serif;

    font-size:34px;

    color:var(--gold);

    margin-bottom:20px;

}

.card p{

    color:#bdbdbd;

    line-height:1.9;

}

.card::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(197,164,109,.08);

    top:-90px;

    right:-90px;

    transition:.6s;

}

.card:hover::after{

    transform:scale(1.4);

}


/*=========================================
        GOLD LINE
=========================================*/

.gold-line{

    width:120px;

    height:2px;

    background:linear-gradient(

        90deg,

        transparent,

        var(--gold),

        transparent

    );

    margin:35px auto;

}


/*=========================================
            FOOTER
=========================================*/

footer{

    background:#07090c;

    border-top:1px solid rgba(255,255,255,.05);

    padding:90px 0;

}

footer .container{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:70px;

}

footer h3{

    font-family:"Cormorant Garamond",serif;

    font-size:46px;

    color:var(--gold);

    margin-bottom:20px;

}

footer h4{

    color:var(--gold);

    margin-bottom:20px;

}

footer p{

    color:#b9b9b9;

    line-height:2;

}

footer::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:1px;

    background:linear-gradient(

        90deg,

        transparent,

        var(--gold),

        transparent

    );

}


/*=========================================
        HOVER GLOW
=========================================*/

.card:hover h3{

    text-shadow:

    0 0 15px rgba(197,164,109,.3);

}

.logo:hover{

    text-shadow:

    0 0 20px rgba(197,164,109,.5);

}


/*=========================================
        FADE
=========================================*/

.fade{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.fade.show{

    opacity:1;

    transform:translateY(0);

}
/*=========================================
        HEADER SCROLL STATE FIX
=========================================*/

header.scrolled .logo{
    font-size:28px;
    transition:.4s;
}

header.scrolled nav a{
    font-size:14px;
}

/*=========================================
        HERO RESPONSIVE IMPROVEMENTS
=========================================*/

@media (max-width: 1024px){

    .hero-content h1{
        font-size:72px;
    }

    .hero-content p{
        font-size:18px;
    }

    nav{
        gap:30px;
    }

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

    .about .container{
        gap:60px;
    }

    section h2{
        font-size:48px;
    }
}

@media (max-width: 768px){

    header .container{
        flex-direction:column;
        gap:20px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    .hero-content h1{
        font-size:54px;
    }

    .hero-content p{
        font-size:16px;
        padding:0 20px;
    }

    .hero-buttons{
        flex-direction:column;
        gap:15px;
    }

    .about .container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .cards{
        grid-template-columns:1fr;
    }

    footer .container{
        grid-template-columns:1fr;
        text-align:center;
    }
}

@media (max-width: 480px){

    .hero-content h1{
        font-size:40px;
    }

    .logo{
        font-size:26px;
    }

    .call{
        padding:12px 22px;
        font-size:13px;
    }

    section{
        padding:90px 0;
    }

    section h2{
        font-size:36px;
    }

    .card{
        padding:30px;
    }
}

/*=========================================
        SMOOTH GOLD EFFECT BACKGROUND
=========================================*/

body::before{

    content:"";

    position:fixed;

    top:-200px;

    left:-200px;

    width:600px;

    height:600px;

    background:radial-gradient(

        circle,

        rgba(197,164,109,.08),

        transparent 70%

    );

    z-index:-1;

    filter:blur(60px);

}

/*=========================================
        EXTRA PREMIUM TOUCH
=========================================*/

.hero-content h1{

    letter-spacing:1px;

    text-shadow:0 10px 40px rgba(0,0,0,.6);

}

.hero-content span{

    opacity:.8;

}

.card:hover{

    transform:translateY(-16px) scale(1.01);

}

/*=========================================
        GLASS EFFECT IMPROVEMENT
=========================================*/

.card{

    background:linear-gradient(
        145deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02)
    );

    border:1px solid rgba(255,255,255,.08);

}

/*=========================================
        MICRO ANIMATIONS PREP
=========================================*/

a, button{

    transition:.3s ease;
}

/*=========================================
        FINAL POLISH
=========================================*/

html{
    scroll-behavior:smooth;
}

body{
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.contacts h2{
    font-size:64px;
    letter-spacing:-1px;
    line-height:1.1;
    font-family:'Cormorant Garamond',serif;
    margin:20px 0;
}

.contacts-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}
.contacts-left{
    max-width:520px;
}
.label{
    color:var(--gold);
    letter-spacing:5px;
    text-transform:uppercase;
    font-size:13px;
}

.contacts .desc{
    color:#bdbdbd;
    line-height:1.9;
    font-size:18px;
}

/* RIGHT SIDE */

.contact-card{
    position:relative;
    background:linear-gradient(
        145deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );

    border:1px solid rgba(197,164,109,0.15);

    padding:32px;

    border-radius:18px;

    margin-bottom:18px;

    backdrop-filter:blur(18px);

    overflow:hidden;

    transition:.5s;

    box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.contact-card:hover{
    transform:translateY(-10px) scale(1.01);
    border-color:rgba(197,164,109,0.5);
    box-shadow:0 35px 90px rgba(0,0,0,.55);
}
.contact-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--gold),transparent);
    transition:1s;
}

.contact-card:hover::before{
    left:100%;
}

.contact-card p{
    color:#ddd;
}
.hero video,
.hero-content {
    will-change: transform;
}
nav a{
    margin:0 15px;
    text-decoration:none;
    color:#fff;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:1px;
    background:#c5a46d;
    transition:0.4s;
}

nav a:hover::after{
    width:100%;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 500px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 16px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -5px;
    font-size: 12px;
    color: var(--gold);
}

.contact-form textarea {
    resize: none;
}
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #111;
    color: #fff;
    padding: 15px 25px;
    border-left: 3px solid var(--gold);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #111;
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    border-left: 4px solid #00ff99;
}

.toast.error {
    border-left: 4px solid #ff4d4d;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 75%;
    height: 100vh;

    background: #0b0b0b;

    transform: translateX(100%); /* СКРЫТО */
    transition: transform 0.4s ease;

    z-index: 1001;
}

.mobile-menu.active {
    transform: translateX(0); /* ВЫЕХАЛО */
}
.mobile-menu a {
    color: white;
    text-decoration: none;
    margin: 10px 0;
}
.mobile-menu {
    display: none;
}


.menu-btn {
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}
.mobile-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0b0b0b;
    z-index: 1000;
}
.overlay {
    pointer-events: none;
}

/* ===== MOBILE MENU ===== */

.menu-btn {
    font-size: 26px;
    cursor: pointer;
    z-index: 1101;
}

/* само меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* спрятано */
    width: 75%;
    height: 100vh;

    background: #0b0b0b;

    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 100px 30px;

    transition: right 0.4s ease;

    z-index: 1100;
}

/* когда открыто */
.mobile-menu.active {
    right: 0;
}

/* ссылки */
.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;

    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

/* анимация появления ссылок */
.mobile-menu.active a {
    opacity: 1;
    transform: translateX(0);
}

/* задержка для красивого эффекта */
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.5s; }


/* ===== ЗАТЕМНЕНИЕ ФОНА ===== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);

    opacity: 0;              /* ВАЖНО */
    pointer-events: none;    /* ВАЖНО */

    transition: opacity 0.3s ease;

    z-index: 1000;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}
