@import "tailwindcss";

:root {
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --radius: 12px;
    --muted: #6c757d;
    --accent: #007bff;
    --gap: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'doran';
    src: url('font/DORAN-BOLD.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: doran, sans-serif;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin-right: 1rem;
}

#bordered {
    padding-left: 1rem;
    border-left: solid 1px white;
}

.logo {
    width: 150px;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    /* Ensure it's above the mobile nav */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.mobile-nav {
    list-style: none;
    position: fixed;
    top: 0;
    right: -250px;
    /* Start off-screen */
    width: 250px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 4rem 2rem;
    transition: right 0.3s ease-in-out;
    text-align: right;
}

.mobile-nav.active {
    right: 0;
    /* Slide in */
}

.mobile-nav .nav-item {
    margin-bottom: 1.5rem;
}

.mobile-nav .nav-link {
    font-size: 1.2rem;
}

.hero {
    height: 100vh;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; */
    background-image: url('images/hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
    /* Prevent horizontal scrollbar on body */
    background-position: center;
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .nav-list {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


.red-narrow-bar {
    width: 100%;
    height: 7سسس0px;
    background-color: rgb(131, 12, 12);
}

.gradient-bars {
    overflow-x: hidden;
}

.gbars {
    position: relative;

}

.title-bars-right {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    font-size: 60px;
}

.title-bars {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translate(-50%, -50%);
    font-size: 60px;
}


.red-narrow-bar {
    height: 70px;
}

.products-row {
    display: flex;
    gap: var(--gap);
    align-items: stretch;
    flex-wrap: wrap;
    /* on small screens cards will wrap to next line */
    justify-content: center;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    width: 280px;
    /* fixed card width */
    min-width: 240px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
    padding: 16px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-thumb {
    width: 100%;
    padding-top: 66.66%;
    /* 3:2 aspect ratio */
    position: relative;
    overflow: hidden;
    background: #ddd;
    border-radius: var(--radius);
}

.product-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

.product-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #111;
    margin: 0;
}

.desc {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    flex: 1;
    /* push price/actions down */
}

.meta {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.price {
    font-weight: 800;
    color: var(--accent);
    font-size: 16px;
}

.btn {
    background: green;
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.btn:active {
    transform: translateY(1px)
}

/* Footer Styles */
.site-footer {
    background-color: #f8f9fa;
    padding: 4rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-info {
    flex: 1;
}

.footer-info .brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-info .brand .logo {
    width: 60px;
}

.footer-info .brand .name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #343a40;
}

.footer-info .brand .desc {
    font-size: 0.9rem;
}

.contacts {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-item svg {
    color: #007bff;
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.socials {
    display: flex;
    gap: 0.5rem;
}

.sbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.sbtn:hover {
    background-color: #007bff;
    color: white;
}

.map-wrap {
    flex: 1;
    max-width: 500px;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.map-footer {
    display: none;
}

@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
    }

    .map-wrap {
        max-width: 100%;
        height: 300px;
    }
}


.red-bar {
    width: 100%;
    min-height: 800px;
    background-color: rgb(131, 12, 12);
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}


@media (max-width: 768px) {

    .red-bar{
        flex-wrap: wrap;
        overflow: auto;
    }

}



/* ---------------- PRODUCTS SECTION ---------------- */

.products-section {
  width: 100%;
  padding: 80px 0;
  text-align: center;
  direction: rtl;
  background: #fff;
  overflow: hidden;
}

.products-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

/* ---------------- SLIDER CORE ---------------- */

.slider {
  width: 100%;
  position: relative;
  height: 420px;
}

.slide {
  width: 100%;
  height: 100%;
  padding: 40px 20px;
  box-sizing: border-box;

  /* Orange gradient like your video */
  background: linear-gradient(to bottom, #ff6a00, #ffb300);

  position: absolute;
  top: 0;
  left: 0;

  opacity: 0;
  transform: translateX(50px) scale(0.92);
  transition: all 0.6s ease;

  border-radius: 20px;
  color: #fff;
}

.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 10;
}

/* ---------------- TEXT ---------------- */

.slide-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
}

/* ---------------- MAIN IMAGE ---------------- */

.image-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.main-img {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.35));
  transition: transform 0.5s ease;
}

.slide.active .main-img {
  transform: scale(1.06);
}

/* ---------------- CTA ---------------- */

.cta {
  font-size: 20px;
  font-weight: bold;
  opacity: 0.9;
  margin-top: 10px;
}

/* ---------------- CONTROLS ---------------- */

.controls {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.controls button {
  background: #ff6a00;
  border: none;
  width: 45px;
  height: 45px;
  font-size: 24px;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.controls button:hover {
  background: #e05500;
}
