/* ======================= Global Styles & Variables ======================= */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-color: #343a40;
    --light-bg: #f8f9fa;
    --white-color: #ffffff;
    --font-family: 'Cairo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: #555;
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.bg-light {
    background-color: var(--light-bg);
}

/* ======================= Header & Hero ======================= */
.header {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}
#hero {
  position: relative;
  width: 100%;
  height: 100vh; 
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 4s ease;
  transform: scale(1.1); 
}

.hero-slideshow img.active {
  opacity: 1;
  transform: scale(1); 
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-lg {
  padding: 15px 35px;
  font-size: 1.1rem;
  border-radius: 8px;
}



/* ======================= Services Section ======================= */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* ======================= About & Gallery Section ======================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.about-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
}

.about-content ul i {
    color: var(--primary-color);
}

/* ======================= Gallery Section (UPDATED WITH OVERLAY) ======================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 280px; 
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease; 
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.7);
    color: var(--white-color);
        display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    font-weight: 900;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0); 
}
/* ======================= CTA, Footer, Floating Buttons ======================= */
.cta-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 5rem 2rem;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.5rem; 
    margin-bottom: 1rem;
    color: var(--white-color); 
}
.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .btn-lg {
    transform: scale(1.1);
}

/* ======================= Footer (MULTI-COLUMN DESIGN) ======================= */
.footer {
    background-color: var(--dark-color);
    color: #aaa;
    padding: 3rem 0 0; 
    margin-top: 3rem; 
    position: relative; 
    overflow: hidden;   
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/مطبخ.jpeg');
    background-repeat: repeat;
    opacity: 0.05; 
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 4rem;
}

.footer-col {
    padding: 0 1rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.footer .logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.footer .logo span {
    color: var(--secondary-color);
}

.footer-col p {
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    transition: color 0.3s, padding-right 0.3s;
}

.footer-col ul a:hover {
    color: var(--secondary-color);
    padding-right: 8px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-contact-list i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}
.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.social-links a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: #aaa;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-buttons a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.floating-buttons a:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-btn {
    background-color: var(--primary-color);
}

/* ======================= FAQ Section ======================= */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--white-color);
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.faq-question {
    width: 100%;
    text-align: right;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-color);
}
.faq-question::after {
    content: '\f078'; 
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}
.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}
/* ======================= Video Section ======================= */
#video-promo {
    position: relative;
    color: var(--white-color);
    text-align: center;
}
.video-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}
.video-background img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.play-button {
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  background-color:#ffc107 ;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: bold;
      margin-top: 1.5rem;

}
.play-button:hover {
    transform: scale(1.1);
}
/* الفيديو الأول */
.play-button.btn1 {
  background: #007bff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}
.play-button.btn1:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* الفيديو الثاني */
.play-button.btn2 {
  background: #28a745;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
.play-button.btn2:hover {
  background: #1e7e34;
  transform: scale(1.05);
}

.play-button:active {
  transform: scale(0.95);
}

/* Video Modal Styles */
.video-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
}
.video-modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9; 
}
.close-video {
    position: absolute;
    top: -40px; right: 0;
    color: var(--white-color);
    font-size: 3rem;
    cursor: pointer;
}
/* ======================= Responsive ======================= */
@media (max-width: 768px) {
        .menu-icon { 
        display: block; 
        z-index: 1001;
        position: relative;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        
        position: fixed; 
        top: 0;
        right: -100%; 
        
        width: 75%; 
        max-width: 300px;
        height: 100vh; 
        
        background-color: var(--white-color);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 6rem 2rem 2rem; 
        
        transition: right 0.4s ease-in-out; 
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block; 
        padding: 0.8rem 0;
        font-size: 1.2rem;
    }


    .nav-btn {
        display: none;
    }
    .about-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}