@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html,
body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: clip;
    background: white !important;
}

.ff-logo {
    font-family: "Abril Fatface", serif;
    font-optical-sizing: auto;
}

:root {
    --primary: #ff6600;
    --primary-hover: #cc5200;
    --primary-active: #a34700;
    --primary-rgb: 255, 102, 0;

    --secondary: #b3aea8;
    --secondary-hover: #9f9993;
    --secondary-active: #8c8781;
    --secondary-rgb: 179, 174, 168;
}

/* =========================
   TEXT COLORS
========================= */

.textcolor-primary {
    color: var(--primary) !important;
}

.textcolor-secondary {
    color: var(--secondary) !important;
}

/* =========================
   LINK COLORS
========================= */

.linkcolor-primary {
    color: var(--primary) !important;
    text-decoration-color: currentColor;
}

.linkcolor-primary:hover,
.linkcolor-primary:focus {
    color: var(--primary-hover) !important;
    text-decoration-color: currentColor;
}

.linkcolor-secondary {
    color: var(--secondary) !important;
    text-decoration-color: currentColor;
}

.linkcolor-secondary:hover,
.linkcolor-secondary:focus {
    color: var(--secondary-hover) !important;
    text-decoration-color: currentColor;
}

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

.bgcolor-primary {
    background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bgcolor-secondary {
    background-color: rgba(var(--secondary-rgb), var(--bs-bg-opacity, 1)) !important;
}

/* =========================
   BORDER COLORS
========================= */

.bordercolor-primary {
    border-color: rgba(var(--primary-rgb), var(--bs-border-opacity, 1)) !important;
}

.bordercolor-secondary {
    border-color: rgba(var(--secondary-rgb), var(--bs-border-opacity, 1)) !important;
}

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

.button-primary {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: #000;
}

.button-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #000;
}

.button-primary:focus,
.button-primary:active {
    background-color: var(--primary-active);
    border-color: var(--primary-active);
    color: #000;
}

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

.button-secondary {
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
    color: #fff;
}

.button-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: #fff;
}

.button-secondary:focus,
.button-secondary:active {
    background-color: var(--secondary-active);
    border-color: var(--secondary-active);
    color: #fff;
}

/* =========================
   CONTACT FORM
   Campi del partial content/theme/partials/contact-form.tpl.php.
   La classe form-control resta per compatibilita Bootstrap; form-control-contact
   contiene lo stile modificabile dal tema.
========================= */

.form-control-contact {
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    font-weight: 600;
    color: #111;
    background-color: #fff;
}

.form-control-contact:focus {
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.18);
}

.form-control-contact::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

/* =========================
   GALLERIES
   Stili modificabili per le immagini renderizzate da includes/gallery.php.
   img-gallery sostituisce classi Bootstrap come img-fluid, w-100, h-100
   quando servono solo per aspetto e dimensioni delle foto.
========================= */

.img-gallery {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
}

.img-gallery-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.gallery-thumb {
    background-color: #f5f5f5;
}

.gallery figcaption {
    line-height: 1.45;
}

/* =========================
   CATEGORY ARCHIVE
   Stili modificabili per content/theme/category.php.
   Il contenuto HTML della categoria resta introduttivo; liste e card sono
   generate dal template a partire da sotto-categorie, articoli e pagine figlie.
========================= */

.theme-category-title {
    margin: 0 0 1rem;
    color: #111;
    font-weight: 800;
}

.theme-category-excerpt {
    max-width: 58rem;
    color: rgba(0, 0, 0, 0.68);
}

.theme-category-content {
    max-width: 72rem;
}

.theme-category-section-title {
    color: #111;
    font-weight: 800;
    letter-spacing: 0;
}

.theme-category-card {
    display: block;
    color: #111;
}

.theme-category-card:hover,
.theme-category-card:focus {
    color: #111;
}

.theme-category-card-body {
    position: relative;
    display: block;
    height: 100%;
    min-height: 10rem;
    padding: 1.5rem 3.25rem 1.5rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    background: #fff;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.theme-category-card:hover .theme-category-card-body,
.theme-category-card:focus .theme-category-card-body {
    border-color: var(--primary-hover);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.theme-category-card-title {
    display: block;
    color: #111;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
}

.theme-category-card-excerpt {
    display: block;
    margin-top: 0.85rem;
    color: rgba(0, 0, 0, 0.68);
    font-weight: 600;
    line-height: 1.5;
}

.theme-category-card-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--primary);
}

.theme-category-list {
    border-top: 1px solid rgba(var(--primary-rgb), 0.28);
}

.theme-category-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.28);
    color: #111;
    text-decoration: none;
}

.theme-category-list-item:hover,
.theme-category-list-item:focus {
    color: var(--primary-hover);
}

.theme-category-list-main {
    display: block;
    min-width: 0;
}

.theme-category-list-title {
    display: block;
    font-weight: 800;
    line-height: 1.35;
}

.theme-category-list-excerpt {
    display: block;
    margin-top: 0.35rem;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.95rem;
    line-height: 1.5;
}

.theme-category-list-date {
    display: block;
    margin-top: 0.45rem;
    color: rgba(0, 0, 0, 0.52);
    font-size: 0.85rem;
    font-weight: 700;
}

.theme-category-list-icon {
    flex: 0 0 auto;
    color: var(--primary);
}

/* =========================
   PRODUCT
   Stili modificabili per content/theme/product.php.
========================= */

.theme-product-title {
    margin: 0 0 1rem;
    color: #111;
    font-weight: 800;
}

.theme-product-description {
    max-width: 58rem;
    color: rgba(0, 0, 0, 0.68);
}

.theme-product-summary {
    padding: 1.25rem 0;
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.28);
}

.theme-product-price {
    color: #111;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.theme-product-summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.theme-product-summary-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .35rem .65rem;
    border: 1px solid rgba(var(--primary-rgb), 0.32);
    color: rgba(0, 0, 0, 0.68);
    font-size: .85rem;
    font-weight: 700;
}

.theme-product-gallery-item,
.theme-product-placeholder {
    margin: 0;
}

.theme-product-gallery-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f5f5f5;
}

.theme-product-section-title {
    color: #111;
    font-weight: 800;
    letter-spacing: 0;
}

.theme-product-detail-list {
    margin: 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.28);
}

.theme-product-detail-row {
    display: grid;
    grid-template-columns: minmax(10rem, 16rem) 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.28);
}

.theme-product-detail-row dt,
.theme-product-detail-row dd {
    margin: 0;
}

.theme-product-detail-row dt {
    color: rgba(0, 0, 0, 0.58);
    font-weight: 800;
}

.theme-product-detail-row dd {
    color: #111;
    font-weight: 700;
}

/* =========================
   EVENT
   Stili modificabili per content/theme/event.php.
========================= */

.theme-event-title {
    margin: 0 0 1rem;
    color: #111;
    font-weight: 800;
}

.theme-event-description {
    max-width: 58rem;
    color: rgba(0, 0, 0, 0.68);
}

.theme-event-summary {
    padding: 1.25rem 0;
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.28);
}

.theme-event-detail-list {
    margin: 0;
}

.theme-event-placeholder {
    margin: 0;
}

.theme-event-gallery-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f5f5f5;
}

.theme-event-detail-row {
    display: grid;
    grid-template-columns: minmax(7rem, 10rem) 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.28);
}

.theme-event-detail-row dt,
.theme-event-detail-row dd {
    margin: 0;
}

.theme-event-detail-row dt {
    color: rgba(0, 0, 0, 0.58);
    font-weight: 800;
}

.theme-event-detail-row dd {
    color: #111;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .header-bottom.offcanvas {
        --bs-offcanvas-width: 100%;
        border-left: 0;
        color: #000 !important;
    }

    .header-bottom.offcanvas .navbar-nav,
    .header-bottom.offcanvas .nav-item,
    .header-bottom.offcanvas .dropdown-submenu {
        width: 100%;
    }

    .header-bottom.offcanvas .nav-link,
    .header-bottom.offcanvas .nav-link:hover,
    .header-bottom.offcanvas .nav-link:focus,
    .header-bottom.offcanvas .nav-link.show,
    .header-bottom.offcanvas .dropdown-item,
    .header-bottom.offcanvas .dropdown-item:hover,
    .header-bottom.offcanvas .dropdown-item:focus,
    .header-bottom.offcanvas .nav-link.active,
    .header-bottom.offcanvas .dropdown-item.active,
    .header-bottom.offcanvas .dropdown-item:active {
        color: #000 !important;
    }

    .header-bottom.offcanvas .dropdown-menu {
        background-color: transparent !important;
        border: 0;
    }
}

@media (max-width: 767.98px) {
    .theme-product-detail-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}

.qk-gallery-carousel,
.qk-gallery-carousel .carousel-inner,
.qk-gallery-carousel .carousel-item,
.qk-gallery-carousel .gallery-carousel-image {
    border-radius: 0 !important;
}

.qk-gallery-carousel .carousel-inner {
    overflow: hidden;
}

.qk-gallery-carousel .carousel-item,
.qk-gallery-carousel .carousel-item>a,
.qk-gallery-carousel .carousel-item>img {
    height: 100%;
    min-height: 100%;
    width: 100%;
}

.qk-gallery-carousel .carousel-item>a,
.qk-gallery-carousel .carousel-item>img {
    display: block;
}

.qk-gallery-carousel .img-gallery-link-carousel {
    height: 100%;
    min-height: 100%;
}

.qk-gallery-carousel .gallery-carousel-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.qk-gallery-lightbox-trigger {
    cursor: pointer;
}

.circle-64 {
    width: 64px;
    height: 64px;
}


.hero-ampersand {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0.9;
    transform: translate(-40%, -50%);
    font-weight: 700;
    line-height: 1;
    font-size: clamp(3rem, 7vw, 7rem);
    background: linear-gradient(to right, #8c8767 44%, #e10001 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 10;
    pointer-events: none;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.15s;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 0.3s;
}

.zoom-in {
    opacity: 0;
    transform: translate(-45%, -50%) scale(0.8);
    animation: zoomInAmp 0.9s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomInAmp {
    to {
        opacity: 0.9;
        transform: translate(-45%, -50%) scale(1);
    }
}

#header .navbar-brand img {
    height: 64px;
    width: auto;
    display: block;
}

#header .nav-link {
    padding: 0;
    color: #000;
    font-weight: 600;
    letter-spacing: 0.04em;
}

#header .header-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

#header .header-dropdown-toggle::after {
    display: none !important;
}

#header .header-dropdown-toggle i {
    font-size: 0.95rem;
    line-height: 1;
}

#header .nav-link:hover,
#header .nav-link.active {
    color: #8c8767;
}

#header .navbar-toggler:focus {
    box-shadow: none;
}

#header .offcanvas {
    width: min(100%, var(--bs-offcanvas-width, 400px)) !important;
    max-width: 100%;
    overflow-x: hidden;
}

.header-mobile {
    min-height: 72px;
}

@media (min-width: 992px) {
    #header .navbar .container-fluid {
        position: relative;
    }

    .header-desktop {
        gap: 2.5rem;
        min-height: 88px;
    }

    .header-desktop-menu {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        justify-content: flex-end;
    }

    .header-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 2rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #header .header-dropdown {
        position: static;
    }

    #header .header-dropdown>.header-mega-menu {
        --header-mega-column-width: min(320px, 32vw);
        top: calc(100% + 0.5rem);
        left: 0.5rem;
        right: 0.5rem;
        width: auto;
        min-width: 0;
        min-height: 23rem;
        max-height: calc(100vh - 7rem);
        padding: 1.5rem;
        overflow: visible;
        border: 0;
        background-color: rgba(255, 255, 255, 0.96);
        box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16);
        transform: none !important;
    }

    #header .header-dropdown>.header-mega-menu>li {
        width: var(--header-mega-column-width);
        list-style: none;
    }

    #header .header-dropdown>.header-mega-menu>li+li {
        margin-top: 0.35rem;
    }

    #header .header-submenu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        padding: 0.95rem 1.1rem;
        border-radius: 1rem;
        color: #111;
        font-weight: 600;
        letter-spacing: 0.02em;
        white-space: normal;
    }

    #header .header-submenu-link:hover,
    #header .header-submenu-link:focus,
    #header .header-submenu-link.active,
    #header .header-mega-item:hover>.header-submenu-link,
    #header .header-mega-item:focus-within>.header-submenu-link {
        color: #8c8767;
        background-color: rgba(140, 135, 103, 0.1);
    }

    #header .header-mega-item {
        position: static !important;
    }

    #header .header-mega-item>.header-mega-panel {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        left: calc(var(--header-mega-column-width) + 3rem);
        display: none;
        min-width: auto;
        margin: 0;
        padding: 0 0 0 2rem;
        overflow-y: auto;
        border: 0;
        border-left: 1px solid rgba(140, 135, 103, 0.24);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    #header .header-mega-item:hover>.header-mega-panel,
    #header .header-mega-item:focus-within>.header-mega-panel {
        display: block;
    }

    #header .header-mega-panel>li,
    #header .header-flyout-menu>li {
        list-style: none;
    }

    #header .header-mega-panel .header-flyout-link,
    #header .header-mega-panel .dropdown-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
        padding: 0.85rem 1rem;
        border-radius: 0.9rem;
        color: #111;
        font-weight: 600;
        letter-spacing: 0.02em;
        white-space: normal;
    }

    #header .header-mega-panel .header-flyout-link:hover,
    #header .header-mega-panel .header-flyout-link:focus,
    #header .header-mega-panel .header-flyout-link.active,
    #header .header-flyout-item:hover>.header-flyout-link,
    #header .header-flyout-item:focus-within>.header-flyout-link {
        color: #8c8767;
        background-color: rgba(140, 135, 103, 0.08);
    }

    #header .header-flyout-item {
        position: relative;
    }

    #header .header-flyout-item>.header-flyout-menu {
        top: -0.35rem;
        left: calc(100% + 1.15rem);
        z-index: 2;
        min-width: 17rem;
        margin: 0;
        padding: 0.75rem;
        border: 0;
        border-radius: 1rem;
        background: #fff;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    }

    #header .header-flyout-item:hover>.header-flyout-menu,
    #header .header-flyout-item:focus-within>.header-flyout-menu {
        display: block;
    }

    #header .header-flyout-menu .header-flyout-link {
        padding: 0.8rem 0.95rem;
    }

    .header-mobile {
        display: none !important;
    }
}

.hero-classico {
    position: relative;
    background:
        radial-gradient(circle at center,
            rgba(0, 0, 0, 0.76) 0%,
            rgba(0, 0, 0, 0.54) 30%,
            rgba(0, 0, 0, 0.28) 58%,
            rgba(0, 0, 0, 0.08) 100%),
        url('https://www.sanasicucine.it/wp-content/uploads/2019/11/cucina-classica-consigli.jpg') center center / cover no-repeat;
}

.hero-moderno {
    position: relative;
    background:
        radial-gradient(circle at center,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.48) 30%,
            rgba(0, 0, 0, 0.24) 58%,
            rgba(0, 0, 0, 0.06) 100%),
        url('https://shop.fattorinidesign.com/wp-content/uploads/2021/04/cucina-lineare-pratica-11-forma-2000-la-casa-moderna.jpg') center center / cover no-repeat;
}

.text-shadow-classico {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

.text-shadow-moderno {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.hero-scroll-down {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 20;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem;
    font-weight: 700;
    opacity: .9;
    animation: heroArrowBounce 1.8s ease-in-out infinite;
}

.hero-scroll-down i {
    font-size: 1.4rem;
    line-height: 1;
}

@keyframes heroArrowBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.bg-opacity-90 {
    --bs-bg-opacity: 0.9;
}

.rottnest-perfect-scrollbar-position {
    position: relative;
}

.rottnest-perfect-scrollbar>.ps__rail-x,
.rottnest-perfect-scrollbar>.ps__rail-y {
    z-index: 20;
}

.rottnest-perfect-scrollbar>.ps__rail-y {
    width: 10px;
}

.rottnest-perfect-scrollbar>.ps__rail-x {
    height: 10px;
}

.rottnest-perfect-scrollbar .ps__thumb-y,
.rottnest-perfect-scrollbar .ps__thumb-x {
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
}

.rottnest-perfect-scrollbar .ps__thumb-y {
    right: 2px;
    width: 4px;
}

.rottnest-perfect-scrollbar .ps__thumb-x {
    bottom: 2px;
    height: 4px;
}

.rottnest-perfect-scrollbar.ps:hover>.ps__rail-x,
.rottnest-perfect-scrollbar.ps:hover>.ps__rail-y,
.rottnest-perfect-scrollbar.ps--focus>.ps__rail-x,
.rottnest-perfect-scrollbar.ps--focus>.ps__rail-y,
.rottnest-perfect-scrollbar.ps--scrolling-x>.ps__rail-x,
.rottnest-perfect-scrollbar.ps--scrolling-y>.ps__rail-y {
    opacity: .75;
}


/* =========================
   CORECLEAN / AOS THEME SKIN
   Stile applicato da template Bootstrap 5 + AOS.
========================= */
:root {
    --cc-primary: #ff6600;
    --cc-primary-dark: #cc5200;
    --cc-secondary: #b3aea8;
    --cc-secondary-soft: rgba(179, 174, 168, 0.18);
    --cc-dark: #2f2d2a;
    --cc-light: #fffaf5;
    --cc-radius: 1.35rem;
    --cc-shadow: 0 18px 45px rgba(179, 174, 168, 0.24);
}

body {
    background: #fffaf5 !important;
    color: #2f2d2a;
}

::selection {
    background: var(--cc-primary);
    color: #fff;
}

#header.theme-header .theme-navbar,
#header .navbar {
    border-radius: 0 0 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(179, 174, 168, 0.22);
    box-shadow: 0 14px 35px rgba(179, 174, 168, 0.20) !important;
    backdrop-filter: blur(14px);
    transition: box-shadow .3s ease, background .3s ease, transform .3s ease;
}

#header .navbar-brand {
    color: var(--cc-dark) !important;
    font-weight: 900;
    letter-spacing: .08em;
}

#header .navbar-brand img {
    max-height: 62px;
    filter: drop-shadow(0 12px 20px rgba(179, 174, 168, .20));
}

#header .nav-link {
    position: relative;
    color: var(--cc-dark) !important;
    font-weight: 800;
    letter-spacing: .06em;
}

#header .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -.45rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--cc-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .28s ease;
}

#header .nav-link:hover,
#header .nav-link.active {
    color: var(--cc-primary) !important;
}

#header .nav-link:hover::after,
#header .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

#header .header-dropdown>.header-mega-menu,
#header .header-flyout-item>.header-flyout-menu {
    border-radius: var(--cc-radius) !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 28px 72px rgba(47, 45, 42, 0.16) !important;
    border: 1px solid rgba(179, 174, 168, 0.20) !important;
    backdrop-filter: blur(16px);
}

#header .header-submenu-link:hover,
#header .header-submenu-link:focus,
#header .header-submenu-link.active,
#header .header-mega-item:hover>.header-submenu-link,
#header .header-mega-item:focus-within>.header-submenu-link,
#header .header-mega-panel .header-flyout-link:hover,
#header .header-mega-panel .header-flyout-link:focus,
#header .header-mega-panel .header-flyout-link.active,
#header .header-flyout-item:hover>.header-flyout-link,
#header .header-flyout-item:focus-within>.header-flyout-link {
    color: var(--cc-primary) !important;
    background-color: rgba(255, 102, 0, 0.10) !important;
}

#header .header-mega-item>.header-mega-panel {
    border-left-color: rgba(255, 102, 0, 0.24) !important;
}

.btn,
.button-primary,
.button-secondary {
    border-radius: 999px;
    font-weight: 800;
}

.button-primary,
.btn-primary,
.btn-success {
    background: var(--cc-primary) !important;
    border-color: var(--cc-primary) !important;
    color: #fff !important;
    box-shadow: 0 16px 38px rgba(255, 102, 0, .24);
}

.button-primary:hover,
.btn-primary:hover,
.btn-success:hover {
    background: var(--cc-primary-dark) !important;
    border-color: var(--cc-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.button-secondary,
.btn-secondary {
    background: var(--cc-secondary) !important;
    border-color: var(--cc-secondary) !important;
    color: #2f2d2a !important;
}

main section,
.theme-section {
    scroll-margin-top: 110px;
}

.card,
.rounded-4,
.img-gallery,
.gallery-thumb,
.qk-gallery-carousel,
.qk-gallery-carousel-inner {
    border-radius: var(--cc-radius) !important;
}

.card,
.shadow,
.shadow-sm {
    box-shadow: var(--cc-shadow) !important;
}

.text-primary,
.text-success,
.textcolor-primary {
    color: var(--cc-primary) !important;
}

.text-secondary,
.textcolor-secondary {
    color: #736f6a !important;
}

.bg-primary,
.bg-success,
.bgcolor-primary {
    background-color: var(--cc-primary) !important;
}

.bg-secondary,
.bgcolor-secondary {
    background-color: var(--cc-secondary) !important;
}

.border-primary,
.border-success,
.bordercolor-primary {
    border-color: var(--cc-primary) !important;
}

.form-control:focus,
.form-select:focus,
.form-control-contact:focus {
    border-color: var(--cc-primary) !important;
    box-shadow: 0 0 0 .25rem rgba(255, 102, 0, .18) !important;
}

.theme-footer {
    position: relative;
    overflow: hidden;
    background: var(--cc-dark);
    color: #f8f4ef;
    border-radius: 2rem 2rem 0 0;
    margin-top: clamp(3rem, 8vw, 6rem);
}

.theme-footer::before {
    content: '';
    position: absolute;
    width: 24rem;
    height: 24rem;
    right: -8rem;
    top: -10rem;
    border-radius: 50%;
    background: rgba(255, 102, 0, .20);
    filter: blur(2px);
}

.theme-footer a,
.theme-footer .text-secondary {
    color: rgba(248, 244, 239, .78) !important;
}

.theme-footer a:hover {
    color: #fff !important;
}

.theme-footer img {
    filter: brightness(0) invert(1);
}

.theme-footer iframe {
    border-radius: 1.5rem !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.theme-back-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1050;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cc-primary);
    color: #fff;
    box-shadow: 0 18px 40px rgba(47, 45, 42, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .3s ease;
}

.theme-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-back-top:hover {
    background: var(--cc-primary-dark);
}

@media (max-width: 991.98px) {
    #header .nav-link::after {
        display: none;
    }

    #header .offcanvas {
        background: #fffaf5 !important;
    }

    #header .offcanvas-body .nav-link {
        display: inline-block;
        font-size: clamp(1.6rem, 8vw, 3rem);
        line-height: 1.05;
        letter-spacing: -.04em;
    }

    .theme-footer {
        border-radius: 1.35rem 1.35rem 0 0;
    }
}

/* =========================
   SINAT / CORECLEAN PREVIEW
========================= */
:root {
    --cc-primary: #ff6600;
    --cc-primary-dark: #cc5200;
    --cc-secondary: #b3aea8;
    --cc-secondary-soft: #f4f2ef;
    --cc-dark: #0b1720;
    --cc-muted: #667085;
    --cc-border: #e8eef2;
    --cc-radius: 28px;
    --cc-shadow: 0 24px 70px rgba(179, 174, 168, .24);
}

body {
    font-family: Inter, "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--cc-dark);
    background: #fff !important;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

main,
.content,
#header,
.footer {
    max-width: 100%;
    overflow-x: clip;
}

.row > * {
    min-width: 0;
}

@supports not (overflow-x: clip) {
    html,
    body,
    main,
    .content,
    #header,
    .footer {
        overflow-x: hidden;
    }
}

.text-muted-cc {
    color: var(--cc-muted);
}

.text-success {
    color: var(--cc-primary) !important;
}

.bg-success {
    background-color: var(--cc-primary) !important;
}

.border-success {
    border-color: var(--cc-primary) !important;
}

.bg-soft {
    background: var(--cc-secondary-soft);
}

.section-padding {
    padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.section-title {
    font-size: clamp(2.25rem, 4.6vw, 4.8rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: 0;
}

.section-kicker {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    color: var(--cc-primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    margin-bottom: 1rem;
}

.section-kicker:before {
    content: "";
    width: 38px;
    height: 2px;
    background: currentColor;
    border-radius: 20px;
}

.btn-cc {
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .9rem;
    --bs-btn-border-radius: 999px;
    --bs-btn-font-weight: 800;
    background: var(--cc-primary);
    border-color: var(--cc-primary);
    color: #fff;
    box-shadow: 0 16px 38px rgba(255, 102, 0, .28);
}

.btn-cc:hover {
    background: var(--cc-primary-dark);
    border-color: var(--cc-primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-cc {
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .9rem;
    --bs-btn-border-radius: 999px;
    --bs-btn-font-weight: 800;
    border-color: #d8e6ed;
    color: var(--cc-dark);
    background: #fff;
}

.btn-outline-cc:hover {
    background: var(--cc-secondary);
    border-color: var(--cc-secondary);
    color: #fff;
    transform: translateY(-2px);
}

.top-strip {
    background: var(--cc-secondary);
    color: #fff7f0;
    font-size: .88rem;
}

.cc-navbar {
    transition: .3s ease;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cc-navbar.is-scrolled {
    box-shadow: 0 14px 35px rgba(179, 174, 168, .22) !important;
}

.cc-brand {
    font-weight: 900;
    letter-spacing: .12em;
    color: var(--cc-secondary) !important;
}

.cc-brand img {
    width: auto;
    height: 72px;
    object-fit: contain;
}

#mobileMenu .cc-brand img {
    max-width: min(58vw, 220px);
    height: 56px;
}

.cc-navbar .nav-link {
    font-weight: 800;
    color: var(--cc-dark) !important;
    letter-spacing: 0;
}

.cc-navbar .nav-link:hover {
    color: var(--cc-primary-dark) !important;
}

#mobileMenu .navbar-nav {
    width: 100%;
    max-width: 100%;
}

#mobileMenu .nav-item {
    width: 100%;
}

#mobileMenu .nav-link {
    color: var(--cc-dark) !important;
}

#mobileMenu .btn-cc {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
}

.hero {
    position: relative;
    min-height: calc(100svh - 40px);
    overflow: hidden;
    background: linear-gradient(135deg, #2f2d2a, #b3aea8);
    color: #fff;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 30%, rgba(255, 102, 0, .32), transparent 28%), linear-gradient(90deg, rgba(47, 45, 42, .88), rgba(47, 45, 42, .45), rgba(47, 45, 42, .1));
    z-index: 1;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
    height: 100%;
}

.hero .carousel-item {
    min-height: calc(100svh - 40px);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: clamp(6rem, 10vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 7.5rem);
    font-weight: 900;
    line-height: .92;
    letter-spacing: 0;
    max-width: 12ch;
}

.hero p {
    max-width: 620px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.3vw, 1.25rem);
}

.hero-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(16px);
    border-radius: var(--cc-radius);
    padding: 1rem;
    color: #fff;
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: var(--cc-primary-dark);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .26);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.marquee {
    overflow: hidden;
    background: var(--cc-primary);
    color: #fff;
    padding: 1rem 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 24s linear infinite;
    font-size: clamp(1.5rem, 3vw, 3.2rem);
    font-weight: 900;
    letter-spacing: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.floating-img {
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    object-fit: cover;
    min-height: 360px;
    width: 100%;
}

.quote-card {
    border-radius: var(--cc-radius);
    background: #fff;
    box-shadow: var(--cc-shadow);
    padding: 1.5rem;
    border: 1px solid var(--cc-border);
}

.check-list {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    color: var(--cc-muted);
    font-weight: 600;
}

.check-list i {
    color: var(--cc-primary-dark);
    font-size: 1.25rem;
}

.service-card,
.process-card,
.price-card,
.team-card,
.blog-card,
.testimonial-card,
.faq-box {
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    background: #fff;
    box-shadow: 0 18px 52px rgba(179, 174, 168, .16);
    transition: .35s ease;
    overflow: hidden;
}

.service-card:hover,
.process-card:hover,
.price-card:hover,
.team-card:hover,
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cc-shadow);
}

.service-icon,
.process-number {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--cc-secondary-soft);
    color: var(--cc-primary-dark);
    font-size: 1.7rem;
    font-weight: 900;
}

.service-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.video-cta {
    position: relative;
    min-height: 560px;
    border-radius: 40px;
    overflow: hidden;
    color: #fff;
    background: #000;
}

.video-cta img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
}

.video-cta:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(47, 45, 42, .86), rgba(47, 45, 42, .16));
}

.video-cta-content {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 6vw, 5rem);
}

.project-card {
    position: relative;
    border-radius: var(--cc-radius);
    overflow: hidden;
    min-height: 320px;
    color: #fff;
    background: #000;
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
    opacity: .82;
}

.project-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
}

.project-card:hover img {
    transform: scale(1.07);
}

.project-content {
    position: absolute;
    z-index: 2;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
}

.before-after {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    min-height: 460px;
    background: #ddd;
    box-shadow: var(--cc-shadow);
}

.before-after img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after .after {
    clip-path: inset(0 0 0 50%);
}

.ba-range {
    position: absolute;
    z-index: 3;
    left: 8%;
    right: 8%;
    bottom: 2rem;
    width: 84%;
}

.ba-label {
    position: absolute;
    z-index: 3;
    top: 1.2rem;
    padding: .55rem .85rem;
    background: #fff;
    border-radius: 999px;
    font-weight: 900;
    color: var(--cc-secondary);
}

.ba-label.before {
    left: 1.2rem;
}

.ba-label.after-label {
    right: 1.2rem;
}

.booking-panel {
    border-radius: 40px;
    background: var(--cc-secondary);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--cc-shadow);
}

.booking-panel .form-control,
.booking-panel .form-select {
    border: 0;
    border-radius: 999px;
    padding: .9rem 1.1rem;
    font-weight: 700;
}

.booking-info {
    background: rgba(255, 255, 255, .08);
    border-radius: 28px;
    padding: 1.25rem;
}

.stats-row {
    background: #fff;
    border-radius: 40px;
    box-shadow: var(--cc-shadow);
    border: 1px solid var(--cc-border);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--cc-secondary);
    letter-spacing: 0;
}

.footer {
    background: #2f2d2a;
    color: #f4f2ef;
}

.footer a {
    color: #f4f2ef;
}

.footer a:hover {
    color: #fff;
}

.footer .form-control {
    border-radius: 999px;
    border: 0;
    padding: .9rem 1.1rem;
}

.theme-back-top {
    background: var(--cc-primary);
    color: #fff;
}

@media (max-width: 991.98px) {
    .hero h1 {
        max-width: 100%;
    }

    .hero-content {
        padding-top: 5.5rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .video-cta,
    .booking-panel,
    .before-after {
        border-radius: 28px;
    }
}
