/* BASE + LUX DESIGN */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Arial;background:#000;color:#eee}
.container{width:90%;max-width:1200px;margin:auto}
.section-title{text-align:center;font-size:36px;color:#d4af37;margin-bottom:40px}
.btn-gold{background:#d4af37;color:#000;padding:12px 26px;border-radius:8px;font-weight:bold;cursor:pointer;text-decoration:none}
.btn-outline-gold{border:1px solid #d4af37;color:#d4af37;padding:12px 26px;border-radius:8px;  text-decoration:none;}

/* HEADER */
.header{position:fixed;top:0;width:100%;padding:20px 0;background:#000;border-bottom:1px solid #222;z-index:100}
.header .container{display:flex;justify-content:space-between;align-items:center}
.logo{color:#d4af37;font-size:26px;font-weight:bold}
.logo img{ max-width: 50px;}
.nav a{color:#ccc;margin:0 15px;text-decoration:none;transition:.3s}
.nav a:hover{color:#d4af37}
.burger{display:none;color:#fff;font-size:28px;cursor:pointer}

/* HERO */
.hero{height:100vh;display:flex;justify-content:center;align-items:center;background:radial-gradient(circle,#111,#000)}
.hero-content{text-align:center}
.hero h1{font-size:56px;color:#d4af37;margin-bottom:20px}
.hero p{margin-bottom:30px;color:#aaa}

/* GRID */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}

/* MODAL */
/* .modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);justify-content:center;align-items:center;z-index:9999}
.modal-content{background:#111;padding:30px;border-radius:12px;border:1px solid #d4af37;min-width:350px}
.close{color:#d4af37;font-size:32px;float:right;cursor:pointer} */
/* ===== MODAL FORM PREMIUM ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.75);
    display: none; /* УВАГА: ти поставив display:flex вручну — треба прибрати */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #0e0e0e;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.4);
    width: 90%;
    max-width: 480px;
    box-shadow: 0 0 45px rgba(212,175,55,0.25);
    position: relative;
    animation: fadeIn .3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #d4af37;
    font-size: 32px;
    cursor: pointer;
    transition: .3s;
}

.close:hover {
    color: #fff;
}

.modal-content h2 {
    text-align: center;
    color: #d4af37;
    margin-bottom: 25px;
    font-size: 26px;
}

/* Inputs */
.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 15px 18px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #111;
    border: 1px solid #2a2a2a;
    color: #eee;
    font-size: 16px;
    transition: .3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212,175,55,0.35);
    outline: none;
}

.modal-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button */
.modal-form button {
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

/* Fade-in */
@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.94);}
    to {opacity: 1; transform: scale(1);}
}

/* CONTACT PAGE */
.contact-page{padding-top:140px}
.contact-form-page input, .contact-form-page textarea{
padding:15px;
background:#0d0d0d;
border:1px solid #333;
color:#fff;
width:100%;
margin-bottom:15px;
border-radius:6px;
}

/* PROJECTS PAGE */
/* .projects-page{padding-top:140px}
.case-card{background:#111;padding-bottom:15px;border:1px solid #333;border-radius:10px}
.card-img{height:180px;background:#222;border-radius:10px 10px 0 0}
 */

 .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 90px;
}

.project-card {
    background: #111;
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    overflow: hidden;
    transition: .3s;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.show {
    opacity: 1;
    transform: translateY(0);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    color: #d4af37;
    padding: 18px 20px 5px;
    font-size: 20px;
}

.project-card p {
    padding: 0 20px 20px;
    color: #bbb;
    line-height: 1.5;
}

.load-more {
    margin: 40px auto 0;
    display: block;
    padding: 14px 30px;
}

/* CASE CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: #111;
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    overflow: hidden;
    padding: 0 0 20px;
    transition: .3s;
}
.case-card h3{
    padding: 10px;
}
.case-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
}

/* IMG FIX */
.card-img {
    width: 100%;
    height: 220px; /* Фіксована, щоб карточки були однакові */
    overflow: hidden;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ВАЖЛИВО! — не дає вилізти */
    display: block;
}

/* Mobile */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media(max-width:700px){
.grid-3{grid-template-columns:1fr}
.nav{display:none}
.nav.active{display:flex;flex-direction:column;background:#000;padding:20px}
.burger{display:block}
}


/* WHY US — преміальний блок */
.whyus {
    padding: 100px 0;
}

.why-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-item {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 35px 20px;
    text-align: center;
    color: #d4af37;
    font-size: 20px;
    font-weight: bold;
    cursor: default;
    transition: 0.3s ease;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

/* Золотий глоу при наведенні */
.why-item:hover {
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
    transform: translateY(-6px);
}

/* Декоративна золота лінія зверху */
.why-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Іконка-крапка */
.why-icon {
    width: 18px;
    height: 18px;
    background: #d4af37;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}



/* FOOTER */
.footer {
    background: #050505;
    border-top: 1px solid #2b2b2b;
    padding-top: 60px;
    margin-top: 100px;
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
    color: #d4af37;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-desc {
    color: #aaa;
    line-height: 1.5;
}

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

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

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: .3s;
}

.footer-col ul li a:hover {
    color: #d4af37;
}

/* Social icons */
.socials {
    display: flex;
    gap: 12px;
}

.socials .icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    border: 1px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}
.socials .icon svg{
    color: #d4af37;
    fill: #d4af37;
}
.socials a:hover .icon {
    background: #d4af37;
    color: #000;
}
.socials a:hover .icon svg{
    fill:#000;
}
/* Contacts */
.footer-contact {
    color: #ddd;
    margin-bottom: 8px;
}

/* Bottom strip */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #2b2b2b;
    color: #888;
    font-size: 14px;
}

.contact-info-block p{
margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .socials {
        justify-content: center;
    }
}


/* SHOWCASE PREMIUM */
.showcase {
    padding: 120px 0;
    position: relative;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Карточка */
.show-item {
    background: #0b0b0b;
    padding: 45px 30px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: inset 0 0 25px rgba(212, 175, 55, 0.08),
                0 0 18px rgba(0, 0, 0, 0.45);
    text-align: center;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Золотий глоу при наведенні */
.show-item:hover {
    border-color: #d4af37;
    box-shadow: inset 0 0 45px rgba(212, 175, 55, 0.25),
                0 0 28px rgba(212, 175, 55, 0.4);
    transform: translateY(-8px) scale(1.02);
}

/* Іконка */
.show-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
                #d4af37 0%, #7d6321 60%, #1a1a1a 100%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* Заголовок */
.show-item h3 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: bold;
}

/* Текст */
.show-item p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}


.cases .btn{
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
}

.form-success {
    margin-top: 20px;
    background: rgba(212,175,55,0.15);
    color: #d4af37;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(212,175,55,0.5);
    text-align: center;
    font-size: 16px;
}


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

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #0d0d0d;
    border-left: 1px solid rgba(212,175,55,0.35);
    box-shadow: -10px 0 25px rgba(212,175,55,0.25);
    padding: 40px 30px;
    transition: right .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 999;
}

.mobile-menu.open {
    right: 0;
}

/* ===========================
   CLOSE BUTTON
   =========================== */

.close-mobile {
    font-size: 40px;
    color: #d4af37;
    cursor: pointer;
    display: block;
    text-align: right;
    margin-bottom: 40px;
    transition: .3s;
}

.close-mobile:hover {
    color: #ffffff;
}

/* ===========================
   MENU LINKS
   =========================== */

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 25px;
}

.mobile-menu a {
    font-size: 22px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: .3s;
}

.mobile-menu a:hover {
    color: #ffffff;
    padding-left: 8px;
}

@media (min-width: 900px) {
    .mobile-menu,
    .mobile-overlay {
        display: none;
    }
}


.burger {
    width: 32px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    background: #d4af37;
    border-radius: 3px;
    transition: .3s;
}

/* ======= VIDEO BACKGROUND ======= */
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35); /* легке затемнення для преміальності */
}

/* Контент поверх */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: #fff;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.video-bg::after {
    content:"";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.7)
    );
}
