/* =========================================================
   DnT Creations — Home Redesign
   Front page visual modernization only
   Safe override layer
   ========================================================= */

/* =========================
   GLOBAL
   ========================= */
body.page-body {
    background: linear-gradient(180deg, #0b1020 0%, #111931 40%, #0d1428 100%);
    font-family: 'Open Sans', sans-serif;
    color: #f4f7fb;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
}

a {
    transition: all 0.3s ease;
}

/* =========================
   HERO / HEADER
   ========================= */
.header .carousel-item {
    min-height: 85vh;
}

.h-fullscreen__page {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
}

.h-fullscreen__page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,10,20,0.88) 0%, rgba(7,10,20,0.65) 45%, rgba(7,10,20,0.35) 100%);
    z-index: 1;
}

.main_carousel__content {
    position: relative;
    z-index: 5;
    max-width: 600px;
    padding: 2.5rem !important;
    border-left: 4px solid #ff4655;
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.carousel__heading {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.55);
}

.carousel__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid transparent;
}

.carousel-indicators .active {
    background: #ff4655;
    transform: scale(1.2);
}

/* Hero Buttons */
.main_carousel__content .btn {
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.85rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.main_carousel__content .btn-light:hover {
    background: #ff4655;
    color: #fff !important;
    border-color: #ff4655;
}

/* =========================
   HERO LOGO SECTION
   ========================= */
.home-hero-logo {
    background-image:
        linear-gradient(90deg, rgba(7,10,20,0.90) 0%, rgba(7,10,20,0.72) 45%, rgba(7,10,20,0.58) 100%),
        url('../img/dnt_logo_new.png') !important;
    background-size: cover, contain !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
    background-color: #0b1020 !important;
}

/* Hero thumbnail — clean image only */
.hero-product-thumb {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    line-height: 0;
}

/* Clickable area */
.hero-promo-trigger {
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
    cursor: pointer;
}

/* Original image presentation */
.hero-product-thumb img,
.hero-promo-trigger img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 190px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center center;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
/* =========================
   HERO FEATURE PROMO POPUP
   ========================= */
.hero-promo-trigger {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-promo-trigger:hover {
    transform: scale(1.04);
}

.hero-promo-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-promo-modal.active {
    display: flex;
}

.hero-promo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
}

.hero-promo-modal-content {
    position: relative;
    z-index: 2;
    max-width: min(95vw, 1100px);
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroPromoFadeIn 0.25s ease;
}

.hero-promo-modal-content img {
    max-width: 100%;
    max-height: 92vh;
    width: auto;
    height: auto;
    border: 4px solid rgba(255,255,255,0.12);
    box-shadow: 0 25px 80px rgba(0,0,0,0.65);
    border-radius: 10px;
    background: #111;
}

.hero-promo-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4655, #ff7b54);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 3;
}

.hero-promo-close:hover {
    transform: scale(1.08);
}

@keyframes heroPromoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body.hero-promo-open {
    overflow: hidden;
}

/* =========================
   NEWSLETTER / COMING SOON SECTION
   ========================= */
.owl-carousel-spotlight,
.coming-soon-logo-section {
    padding: 6rem 0;
    background:
        radial-gradient(circle at top center, rgba(255,70,85,0.14), transparent 38%),
        linear-gradient(135deg, #0b1020 0%, #111931 55%, #080c18 100%) !important;
    background-image:
        radial-gradient(circle at top center, rgba(255,70,85,0.14), transparent 38%),
        linear-gradient(135deg, #0b1020 0%, #111931 55%, #080c18 100%) !important;
}

.owl-carousel-spotlight .header,
.coming-soon-logo-section .header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: none !important;
}

.newsletter-logo {
    margin-bottom: 2.5rem;
}

.newsletter-logo img {
    max-width: 340px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,0.45));
}

.owl-carousel-spotlight h1,
.coming-soon-logo-section h1 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.coming-soon-text {
    max-width: 720px;
    margin: 1.2rem auto 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}

.owl-carousel-spotlight form,
.coming-soon-logo-section form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.owl-carousel-spotlight input[type="email"],
.coming-soon-logo-section input[type="email"] {
    min-width: 320px;
    max-width: 500px;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    color: #111;
    font-size: 1rem;
}

.owl-carousel-spotlight button,
.coming-soon-logo-section button {
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4655, #ff7b54);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.owl-carousel-spotlight button:hover,
.coming-soon-logo-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,70,85,0.3);
}

.message {
    margin-top: 1rem;
    font-weight: 700;
}

/* =========================
   PRODUCT FEATURE BLOCKS
   ========================= */
.gs_features .col-xl-6 {
    min-height: 420px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    overflow: hidden;
    padding: 4rem !important;
}

.gs_features .col-xl-6::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,8,18,0.58), rgba(17,25,49,0.38));
}

.gs_features .row.align-items-center,
.gs_features .content {
    position: relative;
    z-index: 2;
}

.gs_features .col-xl-6 > .row {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 22px;
    padding: 2rem;
    background: rgba(7, 10, 20, 0.38);
    backdrop-filter: blur(5px);
    box-shadow:
        0 20px 55px rgba(0,0,0,0.30),
        inset 0 0 0 1px rgba(255,255,255,0.07);
}

.main-fb-product {
    min-height: 280px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    transition: transform 0.35s ease;
}

.main-fb-product:hover {
    transform: scale(1.04);
}

.gs_features .main-fb-product {
    border: 1px solid rgba(255,255,255,0.22);
    outline: 6px solid rgba(255,255,255,0.05);
}

.gs_features h2 {
    border-bottom: 1px solid rgba(255,255,255,0.14);
    padding-bottom: 1rem;
}

.gs_features h2 a {
    color: #ffffff;
    text-decoration: none;
}

.gs_features h2 a:hover {
    color: #ff7b54;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4655, #ff7b54);
    border: none;
    font-weight: 700;
}

.btn-danger:hover {
    transform: translateY(-2px);
}

/* =========================
   DESKTOP SEAM / SECTION BLENDING
   ========================= */
@media (min-width: 992px) {
    .gs_features {
        background: #05080f;
    }

    .gs_features .row.no-gutters {
        background: #05080f;
        padding: 10px 0;
    }

    .gs_features .col-xl-6 {
        position: relative;
    }

    .gs_features .col-xl-6::after {
        content: "";
        position: absolute;
        top: 0;
        right: -5px;
        width: 10px;
        height: 100%;
        background: linear-gradient(
            to right,
            rgba(5,8,15,0.90),
            rgba(5,8,15,0.55),
            rgba(5,8,15,0)
        );
        z-index: 3;
        pointer-events: none;
    }

    .gs_features .col-xl-6:last-child::after {
        display: none;
    }

    .gs_features .col-xl-6 > .row {
        border: 1px solid rgba(0,0,0,0.50);
        box-shadow:
            0 0 0 2px rgba(255,255,255,0.04),
            0 25px 60px rgba(0,0,0,0.36),
            inset 0 0 0 1px rgba(255,255,255,0.05);
    }
}

/* =========================
   EVENTS / NEWS
   ========================= */
.content-section {
    padding: 5rem 0;
}

.content-section .card {
    background: rgba(255,255,255,0.04);
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.img__news_wrapper img {
    width: 100%;
    display: block;
}

.content-section h4 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.content-section .small a {
    color: #7ad7ff;
    font-weight: 600;
    text-decoration: none;
}

.content-section .small a:hover {
    color: #ff7b54;
}

/* =========================
   CTA BLOCK
   ========================= */
.btn-outline-light:hover {
    background: #ff4655;
    border-color: #ff4655;
    color: #fff !important;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991px) {
    .main_carousel__content {
        padding: 1.5rem !important;
        margin: 1rem;
    }

    .carousel__heading {
        font-size: 2.4rem;
    }

    .owl-carousel-spotlight form {
        flex-direction: column;
        align-items: center;
    }

    .owl-carousel-spotlight input[type="email"] {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 767px) {
    .gs_features .col-xl-6 {
        padding: 2rem !important;
    }

    .gs_features .col-xl-6 > .row {
        padding: 1.25rem;
    }
}

@media (max-width: 575px) {
    .header .carousel-item {
        min-height: 70vh;
    }

    .carousel__heading {
        font-size: 2rem;
    }

    .content-section,
    .owl-carousel-spotlight {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .hero-product-thumb {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .hero-promo-modal {
        padding: 1rem;
    }

    .hero-promo-close {
        top: -12px;
        right: -12px;
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }

    .hero-promo-modal-content img {
        max-height: 88vh;
    }
}

/* =========================
   MERGED NAV MOBILE CLEANUP
   ========================= */
@media (max-width: 1199px) {
    .merged-main-nav .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        background: rgba(5, 8, 15, 0.96);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    }

    .merged-main-nav .navbar-nav {
        width: 100%;
    }

    .merged-main-nav .nav-item {
        width: 100%;
    }

    .merged-main-nav .nav-link {
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        white-space: nowrap;
    }

    .merged-main-nav .dropdown-menu {
        margin: 0.5rem 0 0.75rem;
        padding: 0.5rem;
        background: rgba(10, 15, 30, 0.98);
        border-radius: 10px;
    }

    .merged-main-nav #globalCartButton {
        display: block;
        width: 100%;
        margin: 1rem 0 0.75rem !important;
        padding: 0.75rem;
        text-align: center;
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 10px;
    }

    .merged-main-nav .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 0 !important;
    }
}