/* assets/css/landing.css */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    background-color: var(--light);
    color: #334155;
    overflow-x: hidden;
}

/* Premium Navbar */
.navbar-landing {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    z-index: 1050;
}

.navbar-landing.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-landing .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-landing .nav-link {
    font-weight: 600;
    color: #475569;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    border-radius: 8px;
}

.navbar-landing .nav-link:hover,
.navbar-landing .nav-link.active {
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.05);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section.has-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

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

.hero-section.has-bg .hero-title {
    color: var(--white) !important;
}

.hero-section.has-bg .hero-subtitle {
    color: #cbd5e1 !important;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.cta-btn {
    padding: 0.85rem 2.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Feature & Service Cards */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card-premium {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.card-premium .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card-premium:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.card-premium h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.card-premium p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Photo Gallery Grid */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 250px;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

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

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-user-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-user-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.15rem;
}

.testimonial-user-role {
    font-size: 0.85rem;
    color: #64748b;
}

/* Contact Info Box */
.contact-info-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-box .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-box h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-info-box p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Footer */
.footer-landing {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

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

.footer-landing .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-landing .footer-links li {
    margin-bottom: 0.75rem;
}

.footer-landing .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-landing .footer-links a:hover {
    color: var(--primary);
    padding-inline-start: 5px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

/* Stats Counter Badge */
.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: #475569;
}
