/* =========================================
   OM LEYTHE | أم ليث - Stylesheet
   ========================================= */

/* Variables */
:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --beige: #F5F5DC;
    --warm-white: #FFFAF0;
    --dark-green: #1A3C34;
    --dark-green-light: #2c594d;
    --traditional-red: #8B0000;
    
    --text-main: #333333;
    --text-muted: #666666;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(26, 60, 52, 0.2);
    --border-radius: 16px;
    
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--warm-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-green);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--gold);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.contact-info .section-title::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #c4a133;
    color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--dark-green);
    color: var(--dark-green);
}

.btn-outline:hover {
    background-color: var(--dark-green);
    color: var(--gold);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn i {
    margin-right: 8px;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 250, 240, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-ar {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-green);
    line-height: 1;
}

.logo-en {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-green);
    position: relative;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    padding: 8px 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-green);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-green);
    z-index: 1001;
    transition: var(--transition);
    padding: 80px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gold);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    color: var(--warm-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.mobile-nav-links a:hover {
    color: var(--gold);
    padding-right: 10px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--dark-green) url('hero.jpg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 60, 52, 0.7), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--warm-white);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--warm-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-buttons .btn-outline {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--gold);
    color: var(--dark-green);
}

.hero-contact-quick {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: fadeIn 1s ease forwards 0.5s;
    opacity: 0;
}

.hero-social {
    margin-top: 0;
}

.hero-social .social-btn {
    background-color: rgba(26, 60, 52, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.hero-social .social-btn:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    border-color: var(--gold);
}

.hero-phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--gold);
    color: var(--dark-green);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-green);
    margin: 20px 0;
}

.specialties-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.specialty-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--warm-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--beige);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(245,245,220,1) 0%, rgba(212,175,55,0.2) 100%);
}

.placeholder-img i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.gallery-item .placeholder-img {
    font-size: 1.5rem;
}


.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--traditional-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.simple-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.simple-card {
    padding: 35px 20px 25px;
    overflow: visible;
}

.simple-card .product-badge {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    font-size: 0.95rem;
    white-space: nowrap;
}

.simple-card .product-info h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--dark-green);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 60, 52, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--gold);
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

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

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--warm-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 5px solid var(--gold);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--gold);
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.reviewer-name {
    color: var(--dark-green);
    font-weight: 700;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background-color: var(--dark-green);
    color: var(--warm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    transform: translateY(-3px);
}

.booking-form {
    background-color: var(--warm-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-title {
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafafa;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background-color: #fff;
}

textarea.form-control {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--warm-white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--gold);
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--gold);
}

.footer-bottom {
    background-color: #122c25;
    padding: 20px 0;
    text-align: center;
}

.designer {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .item-1, .item-4, .item-5 { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
