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

:root {
    --primary-color: #6c757d; /* Silver/Slate Gray */
    --secondary-color: #212529; /* Dark Charcoal */
    --accent-color: #adb5bd; /* Light Gray */
    --text-color: #343a40;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --whatsapp-green: #25d366;
    --snapchat-yellow: #FFFC00;
    --tiktok-black: #000000;
    --phone-blue: #007bff;
    --dark-gray: #495057;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    direction: rtl;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

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

.py-5 {
    padding: 80px 0;
}

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

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

.text-white {
    color: var(--white);
}

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

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
}

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

.cta-button .btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    border: 1px solid var(--primary-color);
}

.cta-button .btn:hover {
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&q=80&w=1600') center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content h2 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn-primary {
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 700;
    margin: 10px;
    transition: 0.3s;
}

.hero-btns .btn-primary {
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.hero-btns .btn-primary:hover {
    background-color: var(--primary-color);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 700;
    margin: 10px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto;
}

/* About Section */
.about-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text ul {
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    font-weight: 600;
}

.about-text li i {
    color: var(--primary-color);
    margin-left: 10px;
}

.about-img {
    flex: 1;
}

.about-img img {
    border-radius: 10px;
    box-shadow: 15px 15px 0 var(--primary-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Service Pages Specific Styles */
.service-hero {
    padding: 100px 0;
    background: linear-gradient(rgba(33, 37, 41, 0.8), rgba(33, 37, 41, 0.8)), url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&q=80&w=1600') center/cover;
}

.service-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* Ensure service cards look like links */
a.service-card {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

a.service-card:hover h3 {
    color: var(--primary-color);
}
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--secondary-color);
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 450px; /* Increased height for long description */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

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

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

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border: 3px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    color: var(--white);
    text-align: center;
    width: 80%;
    background: rgba(0,0,0,0.7);
    padding: 15px;
    border-radius: 5px;
    border-top: 2px solid var(--primary-color);
}

.lightbox-caption p {
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-line;
}

.gallery-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 37, 41, 0.95); /* Using secondary color */
    color: var(--white);
    padding: 30px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.gallery-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.gallery-info p {
    font-size: 15px;
    line-height: 1.8;
}

.gallery-item:hover .gallery-info {
    bottom: 0;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-info i {
    margin-left: 10px;
    color: var(--primary-color);
}

.btn-large {
    font-size: 24px;
    padding: 15px 50px;
}

/* Footer */
footer {
    padding: 30px 0;
    background-color: #111;
    color: #999;
}

/* Social Floating Icons */
.social-float-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    color: var(--white);
    transition: 0.3s;
}

.social-float:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    background-color: var(--whatsapp-green);
}

.snapchat-float {
    background-color: var(--snapchat-yellow);
    color: #000; /* Dark icon for yellow background */
}

.tiktok-float {
    background-color: var(--tiktok-black);
}

.phone-float {
    background-color: var(--phone-blue);
}

/* Service Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.detail-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.detail-item h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.detail-item p {
    color: var(--text-color);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-content h2 {
        font-size: 36px;
    }
    .about-flex {
        flex-direction: column;
    }
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide for mobile toggle implementation later if needed */
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h2 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }
}
