/* ========================================
   1. ROOT VARIABLES
======================================== */
:root {
    /* Product Images */
    --product-image-width: 75%;
    --product-image-ratio: 16 / 9;
}

/* ========================================
   2. GLOBAL STYLES
======================================== */
body {
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: #222;
}

a {
    text-decoration: none;
}

.header {
    min-height: 20px;
    background: #262d37;
}

/* ========================================
   3. NAVBAR
======================================== */
.navbar {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Logo */
.navbar-brand img {
    height: 70px;
}

/* Toggler */
.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

/* Mobile Icon */
.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Desktop Menu */
.navbar-nav {
    gap: 30px;
}

.navbar-nav .nav-link {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    transition: 0.35s ease;
    padding-bottom: 8px;
}

/* Hover */
.navbar-nav .nav-link:hover {
    color: #f9c87d;
}

/* Animated Line */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 50px;
    background:
        linear-gradient(
            to left,
            #f9c87d,
            transparent
        );
    transition: width 0.35s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ========================================
   4. HERO / SLIDER
======================================== */
.hero-wrapper {
    position: relative;
    width: 100%;
}

.hero-main-image {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
}

/* Top Frame */
.hero-top-frame {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Bottom Frame */
.hero-bottom-frame {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Carousel */
.carousel-item {
    position: relative;
    transition: transform 1s ease-in-out;
}

/* Overlay */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 1;
}

/* Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    z-index: 20;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 20px;
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 80px);
    width: fit-content;
    max-width: 90%;
    text-align: center;
    color: #fff;
    z-index: 5;
    opacity: 0;
    transition: all 1s ease;
    background: rgba(0, 0, 0, 0.35);
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Active Slide */
.carousel-item.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Slide Title */
.slide-content h1 {
    font-size: 70px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Slide Text */
.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Hero Button */
.hero-btn {
    display: inline-block;
    background: #7c0703;
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: .3s;
}

.hero-btn:hover {
    background: #f9c87d;
    color: #000;
}

/* ========================================
   5. PRODUCTS SECTION
======================================== */
.products-section {
    padding: 100px 0;
    background: #E4CAB3;
    position: relative;
    overflow: hidden;
}

/* Content Above Decorations */
.products-section .container {
    position: relative;
    z-index: 2;
}

/* Side Patterns */
.side-pattern {
    position: absolute;
    width: 200px;
    z-index: 1;
    pointer-events: none;
}

.side-pattern-top {
    left: 0;
    top: 100px;
}

.side-pattern-bottom {
    left: 0;
    bottom: 500px;
}

.side-pattern-middel {
    right: 0;
    top: 700px;
    transform: scaleX(-1);
}

/* Product Item */
.single-product {
    margin-bottom: 100px;
    text-align: center;
}

/* Product Image Wrapper */
.product-image-wrapper {
    position: relative;
    width: var(--product-image-width);
    margin: auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Product Image */
.product-image-wrapper img {
    width: 100%;
    aspect-ratio: var(--product-image-ratio);
    object-fit: cover;
    display: block;
    border-radius: 30px;
    transition:
        transform 0.8s ease,
        filter 0.8s ease;
}

/* Hover Effect */
.product-image-wrapper:hover img {
    transform: scale(1.05);
    filter:
        grayscale(70%)
        brightness(1.05);
}

/* Overlay Effect */
.product-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.15),
            transparent
        );
    opacity: 0;
    transition: 0.5s;
}

.product-image-wrapper:hover::after {
    opacity: 1;
}

/* Product Name */
.product-name {
    width: fit-content;
    min-width: 350px;
    max-width: 80%;
    margin: auto;
    padding: 18px 40px;
    text-align: center;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(5px);
    border-radius: 0 0 18px 18px;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
}

/* ========================================
   6. FOOTER
======================================== */
.main-footer {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            #2b1f1a,
            #1a1411
        );
    color: #fff;
    padding-top: 120px;
    overflow: hidden;
}

/* Top Decoration */
.footer-top-shape {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background:
        url('https://chocosyria.com/wp-content/uploads/2026/05/PNG2-01-scaled.png')
        no-repeat top center;
    background-size: cover;
    transform: rotate(180deg);
}

/* Brand */
.footer-brand {
    text-align: center;
}

.footer-brand img {
    width: 125px;
    margin-bottom: 5px;
}

.footer-brand p {
    color: rgba(255,255,255,0.75);
    line-height: 2;
    font-size: 16px;
}

/* Footer Titles */
.footer-title {
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 35px;
    color: #f9c87d;
    padding-bottom: 12px;
}

/* Animated Underline */
.footer-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background:
        linear-gradient(
            to left,
            #f9c87d,
            transparent
        );
    border-radius: 50px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 18px;
}

.footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    transition: all 0.35s ease;
}

/* Gold Dot */
.footer-links a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f9c87d;
    opacity: 0;
    transform: scale(0);
    transition: 0.35s ease;
}

/* Animated Line */
.footer-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background:
        linear-gradient(
            to left,
            #f9c87d,
            transparent
        );
    transition: 0.4s ease;
}

/* Hover */
.footer-links a:hover {
    color: #fff;
    transform: translateX(-8px);
    text-shadow:
        0 0 10px rgba(249,200,125,0.35);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Contact */
.footer-contact-div {
    text-align: start;
}

/* Contact */
.footer-contact p {
    display: flex;
    /* align-items: flex-start; */
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
    transition: 0.3s ease;

}

/* Links */
.footer-contact a {
    color: inherit;
    transition: 0.3s ease;
}

/* Contact Hover */
.footer-contact p:hover {
    color: #f9c87d;
    transform: translateX(-5px);
}


/* Icons */
.footer-contact i {

    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    font-size: 16px;
    color: #f9c87d;
    transition: 0.3s ease;

}

/* Icon Hover */
.footer-contact p:hover i {
    background: #f9c87d;
    color: #1a1411;
    transform: rotate(-8deg) scale(1.08);
}

.footer-contact a:hover {

    color: #fff8dc;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: #f9c87d;
}

/* ========================================
   7. TABLET RESPONSIVE
======================================== */
@media (max-width: 991px) {

    :root {
        --product-image-width: 90%;
    }

    /* Header */
    .header {
        min-height: 20px;
    }

    /* Navbar */
    .navbar {
        top: 30px;
        padding: 15px 0;
    }

    .navbar-brand img {
        height: 55px;
    }

    .navbar-collapse {
        margin-top: 20px;
        background: rgba(20,20,20,0.92);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 20px;
        border: 1px solid rgba(255,255,255,0.08);
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-item {
        border-bottom:
            1px solid rgba(255,255,255,0.06);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 14px 10px;
        font-size: 18px;
        text-align: center;
    }

    /* Hero */
    .hero-main-image {
        height: 75vh;
    }

    .hero-top-frame {
        top: -1px;
    }

    .slide-content {
        padding: 30px;
    }

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

    .slide-content p {
        font-size: 20px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 16px;
    }

    /* Products */
    .products-section {
        padding: 80px 0;
    }

    .single-product {
        margin-bottom: 80px;
    }

    .product-name {
        font-size: 22px;
        min-width: 260px;
        padding: 14px 28px;
    }

    /* Side Patterns */
    .side-pattern {
        width: 140px;
        opacity: 0.3;
    }

    .side-pattern-bottom {
        bottom: 300px;
    }

    .side-pattern-middel {
        top: 500px;
    }

    /* Footer */
    .main-footer {
        padding-top: 90px;
    }

    .footer-title {
        font-size: 22px;
    }

}

/* ========================================
   8. MOBILE RESPONSIVE
======================================== */
@media (max-width: 767px) {

    :root {
        --product-image-width: 90%;
    }

    /* Header */
    .header {
        min-height: 15px;
    }

    /* Navbar */
    .navbar {
        top: 10px;
        padding:  0;
    }

    /* Hero */
    .hero-wrapper {
        overflow: hidden;
    }

    .hero-main-image {
        height: 50vh;
    }

    .hero-top-frame {
        top: -1px;
        transform: scale(1.1);
    }

    .hero-bottom-frame {
        transform: scale(1.15);
    }

    /* Slider Content */
    .slide-content {
        width: 60%;
        padding: 20px;
        border-radius: 20px;
    }

    .slide-content h1 {
        font-size: 24px;
        line-height: 1;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 16px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Slider Arrows */
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 34px;
        height: 34px;
    }

    /* Products */
    .products-section {
        padding: 60px 0;
    }

    .single-product {
        margin-bottom: 60px;
    }

    .product-image-wrapper,
    .product-image-wrapper img {
        border-radius: 12px;
    }

    .product-name {
        min-width: auto;
        width: 60%;
        font-size: 18px;
        padding: 12px 18px;
        border-radius: 0 0 14px 14px;
    }

    /* Side Patterns */
    .side-pattern {
        width: 90px;
        opacity: 0.18;
    }

    .side-pattern-bottom {
        bottom: 200px;
    }

    .side-pattern-middel {
        top: 400px;
    }

    /* Footer */
    .main-footer {
        text-align: center;
        padding-top: 70px;
    }

    .footer-top-shape {
        height: 50px;
    }

    .footer-brand img {
        width: 100px;
    }

    .footer-brand p {
        font-size: 14px;
        line-height: 1.9;
    }

    .footer-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer-links li {
        margin-bottom: 14px;
    }

    .footer-contact-div {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 15px;
    }

    .footer-contact i {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 35px;
        padding: 20px 0;
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 14px;
    }

}