/* =========================================================
   Ansari Motion House — Main Stylesheet
   ========================================================= */

:root {
  --gold: #f5a623;
  --gold-light: #ffc857;
  --dark: #0d0d10;
  --dark-2: #15151a;
  --dark-3: #1c1c22;
  --grey-text: #b8b8bf;
  --white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

body {
  background-color: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all .25s ease; }
img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; }

.text-gold { color: var(--gold) !important; }
.bg-dark-2 { background-color: var(--dark-2) !important; }
.bg-dark-3 { background-color: var(--dark-3) !important; }

.btn-gold {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: #16130a;
  font-weight: 600;
  padding: .7rem 1.6rem;
  border-radius: 4px;
  transition: all .25s ease;
}
.btn-gold:hover { background-color: transparent; color: var(--gold); }

.btn-outline-gold {
  background-color: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  padding: .7rem 1.6rem;
  border-radius: 4px;
  transition: all .25s ease;
}
.btn-outline-gold:hover { background-color: var(--gold); color: #16130a; }

.section-label {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-padding { padding: 90px 0; }
@media (max-width: 768px) { .section-padding { padding: 55px 0; } }

/* ---------- Navbar ---------- */
/* .navbar-amh {

  backdrop-filter: blur(2px);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar-amh .navbar-brand img { height: 46px; }
.navbar-amh .nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: .95rem;
  margin: 0 12px;
  position: relative;
}
.navbar-amh .nav-link.active,
.navbar-amh .nav-link:hover { color: var(--gold); }
.navbar-amh .btn-gold { padding: .55rem 1.4rem; } */


.navbar-amh {
    background: transparent;
    backdrop-filter: blur(2px);
    padding: 14px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: all 0.3s ease;
}

.navbar-amh .navbar-brand img {
    height: 46px;
}

.navbar-amh .nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: .95rem;
    margin: 0 12px;
    position: relative;
}

.navbar-amh .nav-link.active,
.navbar-amh .nav-link:hover {
    color: var(--gold);
}

.navbar-amh .btn-gold {
    padding: .55rem 1.4rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(13,13,16,.97) 40%, rgba(30,20,10,.55)), var(--dark);
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 60%;
  object-fit: cover;
  opacity: .55;
  mask-image: linear-gradient(to right, transparent, black 25%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%);
}
.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
}
.hero h1 .script {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}
.hero p.lead { color: var(--grey-text); max-width: 520px; }
@media (max-width: 991px) {
  .hero h1 { font-size: 2.3rem; }
  .hero-bg-img { width: 100%; opacity: .25; }
}

.social-float {
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}
.social-float a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: #fff;
}
.social-float a:hover { background: var(--gold); color: #16130a; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img.main-img {
  border-radius: 8px;
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-img-wrap img.float-img {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 42%;
  border: 5px solid var(--dark);
  border-radius: 8px;
}
@media (max-width: 767px) { .about-img-wrap img.float-img { right: 0; bottom: -20px; width: 45%;} }

.feature-mini { display: flex; align-items: center; gap: 10px; color: var(--grey-text); font-size: .9rem;}
.feature-mini i { color: var(--gold); font-size: 1.3rem; }

/* ---------- Services ---------- */
.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 32px 24px;
  height: 100%;
  transition: all .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
}
.service-icon {
  width: 58px; height: 58px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #fff;
}
.service-card p { color: var(--grey-text); font-size: .92rem; }
.service-card .read-more { color: var(--gold); font-weight: 600; font-size: .85rem; }

.stats-strip { border-top: 1px solid rgba(255,255,255,.08); padding-top: 40px; margin-top: 40px; }
.stat-box h2 { color: var(--gold); font-size: 2.5rem; font-weight: 800; margin-bottom: 0; }
.stat-box span { color: var(--grey-text); font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Portfolio / Gallery ---------- */
.filter-btns .btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--grey-text);
  border-radius: 30px;
  padding: .45rem 1.3rem;
  font-size: .82rem;
  font-weight: 600;
  margin: 4px;
  letter-spacing: .5px;
}
.filter-btns .btn.active,
.filter-btns .btn:hover { background: var(--gold); border-color: var(--gold); color: #16130a; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3.2;
  margin-bottom: 24px;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  /*background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%);*/
  display: flex; align-items: flex-end;
  padding: 16px;
  opacity: 0; transition: opacity .3s ease;
  display:none;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(245,166,35,.9);
  display: flex; align-items: center; justify-content: center;
  color: #16130a; font-size: 1.3rem;
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(120deg, #2b1636, #0d0d10 60%);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.cta-section .script { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold); }
.cta-contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cta-contact-item i { color: var(--gold); font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #08080a; padding-top: 60px; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer h6 { color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 18px; }
.site-footer a { color: var(--grey-text); font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
}
.footer-social a:hover { background: var(--gold); color: #16130a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: 40px; padding: 18px 0; font-size: .83rem; color: var(--grey-text); }

/* ---------- Inner Page Header (breadcrumb banner) ---------- */
.page-banner {
  background: linear-gradient(rgba(10,10,12,.82), rgba(10,10,12,.92)), url('https://ansarimotionhouse.com/assets/breadcrumb.png') center/cover;
  padding: 130px 0 70px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-banner h1 { font-size: 2.4rem; }
.page-banner .breadcrumb { justify-content: center; background: transparent; margin-bottom: 0; }
.page-banner .breadcrumb a { color: var(--grey-text); }
.page-banner .breadcrumb .active { color: var(--gold); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  background-color: var(--dark-2);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 6px;
}
.form-control:focus, .form-select:focus {
  background-color: var(--dark-2);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 0 0 .2rem rgba(245,166,35,.15);
}
.form-control::placeholder { color: #7a7a82; }
label { color: var(--grey-text); font-size: .88rem; margin-bottom: 6px; }

/* ---------- Service Detail ---------- */
.service-detail-sidebar .list-group-item {
  background: var(--dark-2);
  border-color: rgba(255,255,255,.08);
  color: #fff;
  padding: 14px 18px;
}
.service-detail-sidebar .list-group-item.active,
.service-detail-sidebar .list-group-item:hover { background: var(--gold); color: #16130a; }

/* ---------- Misc ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #16130a;
  display: flex; align-items: center; justify-content: center;
  z-index: 998; opacity: 0; visibility: hidden; transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; }

.alert-amh { border-radius: 8px; font-size: .9rem; }

.preloader-empty { padding: 60px 0; text-align: center; color: var(--grey-text); }

.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: 10px; filter: grayscale(1) invert(92%) contrast(83%); }

/* =========================================================
   ANSARI MOTION HOUSE - CINEMATIC HERO SLIDER
   ========================================================= */

.amh-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #08080a;
    color: #fff;
    margin-top: -100px;
}

.amh-slider {
    position: relative;
    width: 100%;
    height: 100%;
}


/* ================= SLIDES ================= */

.amh-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1s ease,
        visibility 1s ease;
}

.amh-slide.active {
    opacity: 1;
    visibility: visible;
}


/* ================= BACKGROUND ================= */

.amh-slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.amh-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1.12);

    transition:
        transform 7s cubic-bezier(.2,.6,.3,1);
}

.amh-slide.active .amh-slide-bg img {
    transform: scale(1);
}


/* ================= DARK OVERLAY ================= */

.amh-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,5,7,.92) 0%,
            rgba(5,5,7,.72) 38%,
            rgba(5,5,7,.30) 70%,
            rgba(5,5,7,.45) 100%
        );

    z-index: 1;
}


/* ================= CONTENT ================= */

.amh-slide-content {
    position: absolute;

    left: 9%;
    top: 50%;

    transform:
        translateY(-45%)
        translateX(-50px);

    width: min(650px, 80%);

    opacity: 0;

    z-index: 5;

    transition:
        opacity .9s ease .25s,
        transform 1s cubic-bezier(.2,.8,.2,1) .25s;
}

.amh-slide.active .amh-slide-content {
    opacity: 1;

    transform:
        translateY(-45%)
        translateX(0);
}


/* ================= EYEBROW ================= */

.amh-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;

    color: #f5a623;
}


/* ================= HEADING ================= */

.amh-slide-content h1 {
    margin: 0;

    font-size: clamp(48px, 6vw, 92px);

    line-height: .96;

    font-weight: 800;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.amh-slide-content h1 span {
    color: #f5a623;
}


/* ================= DESCRIPTION ================= */

.amh-slide-content p {
    max-width: 560px;

    margin:
        28px 0 34px;

    color: rgba(255,255,255,.78);

    font-size: 17px;

    line-height: 1.7;
}


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

.amh-btn {
    display: inline-flex;

    align-items: center;
    gap: 20px;

    padding: 16px 25px;

    background: #f5a623;

    color: #08080a;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    border-radius: 3px;

    transition:
        transform .3s ease,
        background .3s ease;
}

.amh-btn span {
    font-size: 22px;

    color: #08080a;

    transition:
        transform .3s ease;
}

.amh-btn:hover {
    background: #fff;

    transform: translateY(-3px);
}

.amh-btn:hover span {
    transform: translateX(5px);
}


/* ================= FLOATING IMAGE ================= */

.amh-floating-image {
    position: absolute;

    z-index: 4;

    overflow: hidden;

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

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

    opacity: 0;

    transform:
        translateY(50px)
        scale(.9);

    transition:
        opacity 1s ease .45s,
        transform 1.2s cubic-bezier(.2,.8,.2,1) .45s;
}

.amh-slide.active .amh-floating-image {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

.amh-floating-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* photography */

.amh-image-one {
    right: 9%;
    top: 18%;

    width: 270px;
    height: 190px;

    transform:
        translateY(50px)
        rotate(3deg)
        scale(.9);
}


/* wedding */

.amh-image-two {
    right: 10%;
    bottom: 18%;

    width: 260px;
    height: 350px;

    transform:
        translateY(50px)
        rotate(-3deg)
        scale(.9);
}


/* corporate */

.amh-image-three {
    right: 8%;
    top: 20%;

    width: 330px;
    height: 220px;

    transform:
        translateY(50px)
        rotate(-2deg)
        scale(.9);
}


/* ================= CATEGORY ================= */

.amh-category {
    position: absolute;

    right: 9%;
    bottom: 9%;

    z-index: 6;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    color: rgba(255,255,255,.8);
}

.amh-category span {
    color: #f5a623;

    font-size: 16px;
}


/* ================= CONTROLS ================= */

.amh-controls {
    position: absolute;

    left: 9%;
    bottom: 8%;

    z-index: 10;

    display: flex;
    align-items: center;
    gap: 25px;
}


/* arrows */

.amh-controls button {
    border: 0;

    background: transparent;

    color: #fff;

    cursor: pointer;
}

.amh-prev,
.amh-next {
    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.35) !important;

    border-radius: 50%;

    font-size: 17px;

    transition:
        background .3s ease,
        border .3s ease;
}

.amh-prev:hover,
.amh-next:hover {
    background: #f5a623;

    border-color: #f5a623 !important;

    color: #08080a;
}


/* ================= DOTS ================= */

.amh-dots {
    display: flex;

    gap: 8px;
}

.amh-dot {
    width: 35px;
    height: 3px;

    padding: 0;

    background: rgba(255,255,255,.3) !important;

    border-radius: 10px;

    transition:
        width .4s ease,
        background .4s ease;
}

.amh-dot.active {
    width: 60px;

    background: #f5a623 !important;
}


/* ================= PROGRESS ================= */

.amh-progress {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

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

    z-index: 20;
}

.amh-progress-bar {
    width: 0;
    height: 100%;

    background: #f5a623;
}


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

@media (max-width: 900px) {

    .amh-hero {
        height: 90vh;
        min-height: 620px;
    }

    .amh-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5,5,7,.45),
                rgba(5,5,7,.85) 70%,
                rgba(5,5,7,.95)
            );
    }

    .amh-slide-content {
        left: 7%;
        bottom: 17%;
        top: auto;

        width: 86%;

        transform:
            translateY(30px);
    }

    .amh-slide.active .amh-slide-content {
        transform:
            translateY(0);
    }

    .amh-slide-content h1 {
        font-size: clamp(42px, 10vw, 68px);

        letter-spacing: -2px;
    }

    .amh-slide-content p {
        font-size: 15px;

        margin:
            20px 0 25px;

        max-width: 500px;
    }

    .amh-floating-image {
        right: 7%;
        top: 10%;

        width: 150px;
        height: 100px;
    }

    .amh-image-two {
        width: 130px;
        height: 170px;
    }

    .amh-image-three {
        width: 170px;
        height: 110px;
    }

    .amh-category {
        display: none;
    }

    .amh-controls {
        left: 7%;
        bottom: 7%;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 550px) {

    .amh-hero {
        height: 88vh;
        min-height: 600px;
    }

    .amh-floating-image {
        opacity: .75 !important;
    }

    .amh-slide-content {
        bottom: 18%;
    }

    .amh-slide-content h1 {
        font-size: 43px;
    }

    .amh-slide-content p {
        font-size: 14px;

        line-height: 1.6;
    }

    .amh-btn {
        padding: 14px 20px;
    }

    .amh-controls {
        gap: 15px;
    }

    .amh-dot {
        width: 20px;
    }

    .amh-dot.active {
        width: 40px;
    }

}
