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

body {
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    background: #ffffff;
    color: #333;
}

/* Header Styles */
.parallax-header {
    position: relative;
    width: 100%;
    background: transparent;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Logo */
.logo {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
    order: 2; /* Move logo to middle */
}

/* Menu Icon - Positioned on right for RTL */
.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon .line {
    position: absolute;
    height: 2px;
    width: 100%;
    background: #333;
    transition: all 0.3s ease;
}

.menu-icon .line:nth-child(1) {
    top: 0;
}

.menu-icon .line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon .line:nth-child(3) {
    bottom: 0;
}

.menu-icon.active .line:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.menu-icon.active .line:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* Add empty div for layout balance */
.header-spacer {
    width: 30px; /* Same as menu icon width */
    order: 1; /* Move to left */
}

/* Video Background */
.parallax-header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2001;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    padding: 3rem 0;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
}

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

.side-menu ul {
    list-style: none;
    padding: 0 1.8rem;
}

.side-menu ul li {
    margin: 0.3rem 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
}

.side-menu.active ul li {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation for menu items */
.side-menu ul li:nth-child(1) { transition-delay: 0.1s; }
.side-menu ul li:nth-child(2) { transition-delay: 0.2s; }
.side-menu ul li:nth-child(3) { transition-delay: 0.3s; }
.side-menu ul li:nth-child(4) { transition-delay: 0.4s; }
.side-menu ul li:nth-child(5) { transition-delay: 0.5s; }
.side-menu ul li:nth-child(6) { transition-delay: 0.6s; }

.side-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 0.8rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.side-menu ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #5f5946;
    transition: width 0.3s ease;
}

.side-menu ul li a:hover {
    color: #5f5946;
    padding-right: 10px;
}

.side-menu ul li a:hover::before {
    width: 100%;
}

.side-menu ul li a.active {
    color: #5f5946;
}

.close-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #333;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
}

.close-icon:hover {
    transform: rotate(180deg);
    background: #5f5946;
    color: white;
}

/* Overlay for menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header Styles */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Auth Dropdown Styles */
.auth-dropdown {
    position: relative;
}

.auth-dropdown-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Section with Video */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    animation: videoFade 2s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: contentFade 1.5s ease-in-out;
}

@keyframes videoFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes contentFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhance text visibility */
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Improved CTA Buttons */
.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: #5f5946;
    color: #ffffff;
    border: 2px solid #5f5946;
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.primary:hover {
    background: #4a4535;
    border-color: #4a4535;
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background: #ffffff;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f8f8;
    transition: all 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: #5f5946;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #5f5946;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .logo {
        width: 140px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .side-menu {
        width: 100%; /* Full width on mobile */
        right: -100%;
        padding: 3rem 0; /* Reduced top padding */
    }

    .side-menu ul {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 1.5rem; /* Reduced side padding */
    }

    .side-menu ul li {
        margin: 0; /* Remove margin */
        text-align: center;
        width: 100%;
    }

    .side-menu ul li a {
        font-size: 1.1rem; /* Smaller font size */
        padding: 0.6rem 0; /* Reduced padding between items */
        display: block;
        width: 100%;
    }

    .close-icon {
        top: 1rem;
        right: 1rem;
        font-size: 1.4rem;
        width: 35px;
        height: 35px;
    }

    /* Adjust animation delays for faster appearance */
    .side-menu ul li:nth-child(1) { transition-delay: 0.05s; }
    .side-menu ul li:nth-child(2) { transition-delay: 0.1s; }
    .side-menu ul li:nth-child(3) { transition-delay: 0.15s; }
    .side-menu ul li:nth-child(4) { transition-delay: 0.2s; }
    .side-menu ul li:nth-child(5) { transition-delay: 0.25s; }
    .side-menu ul li:nth-child(6) { transition-delay: 0.3s; }

    .cta-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .side-menu ul li a {
        font-size: 1rem; /* Even smaller font for very small devices */
        padding: 0.5rem 0; /* Further reduced padding */
    }

    .side-menu ul li {
        margin: 0.5rem 0;
    }
}

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

/* Floating Menu in Hero Section */
.floating-menu {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 2000;
}

.floating-menu .menu-icon {
    width: 35px;
    height: 25px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px;
    transition: all 0.3s ease;
}

.floating-menu .menu-icon .line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform-origin: right;
}

/* Hover animations */
.floating-menu .menu-icon:hover .line:nth-child(1) {
    transform: scaleX(0.8);
}

.floating-menu .menu-icon:hover .line:nth-child(3) {
    transform: scaleX(0.6);
}

/* Active state animations */
.floating-menu .menu-icon.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-2px, -5px);
}

.floating-menu .menu-icon.active .line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.floating-menu .menu-icon.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-2px, 5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-menu {
        top: 1.2rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .floating-menu {
        top: 1rem;
        right: 1.2rem;
    }
    
    .floating-menu .menu-icon {
        width: 30px;
        height: 22px;
    }
}

/* Page Hero Section */
.page-hero {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('path/to/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
}

.page-hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Project Grid Improvements */
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-details {
    text-align: center;
    color: #ffffff;
    padding: 2rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .project-details {
    transform: translateY(0);
}

.view-project {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #5f5946;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.view-project:hover {
    background: #4a4535;
    transform: translateY(-3px);
}

:root {
    /* Luxury color palette */
    --primary-color: #C0A080; /* Rich gold */
    --primary-dark: #8B7355;  /* Deep bronze */
    --primary-light: #D4B995; /* Light gold */
    --accent-color: #2C3E50; /* Deep navy */
    --text-light: #FFFFFF;
    --text-dark: #1A1A1A;
    --background-light: #F5F5F5;
    --background-dark: #1A1A1A;
    --gold-gradient: linear-gradient(135deg, #C0A080 0%, #D4B995 100%);
    --overlay-dark: rgba(28, 28, 28, 0.85);
    --luxury-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Enhanced Footer Styles */
.footer {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 6rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg path {
    fill: #f8f9fa;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: right;
}

.footer-section h4 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #888;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.separator {
    color: #ddd;
}

/* Update the wave SVG in your HTML */

/* Enhanced Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-color: var(--background-dark);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
    max-width: 1000px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Luxury CTA Buttons */
.cta-button {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.cta-button.primary {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
    box-shadow: var(--luxury-shadow);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Enhanced Menu Icon */
.floating-menu .menu-icon {
    width: 35px;
    height: 25px;
    padding: 0;
}

.floating-menu .menu-icon .line {
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Luxury Side Menu */
.side-menu {
    background: var(--overlay-dark);
    backdrop-filter: blur(15px);
}

.side-menu ul li a {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 1.2rem 0;
}

.side-menu ul li a:hover {
    color: var(--primary-color);
}

.side-menu ul li a::before {
    background: var(--gold-gradient);
}

/* Video Overlay Enhancement */
.video-overlay {
    background: linear-gradient(
        to bottom,
        rgba(28, 28, 28, 0.9) 0%,
        rgba(28, 28, 28, 0.7) 50%,
        rgba(28, 28, 28, 0.9) 100%
    );
}

/* Feature Cards */
.feature-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: var(--luxury-shadow);
    border: 1px solid rgba(192, 160, 128, 0.1);
}

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

.feature-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Enhanced Footer */
.footer {
    background: var(--background-dark);
    border-top: 4px solid var(--primary-color);
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.social-icon {
    background: var(--gold-gradient);
    color: var(--text-dark);
}

.social-icon:hover {
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 1rem 2.5rem;
    }
}

/* Portfolio Page Specific Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--background-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--luxury-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(192, 160, 128, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    padding-top: 60%;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-details {
    padding: 2rem;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .project-details {
    transform: translateY(0);
}

/* Filter Buttons */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    box-shadow: var(--luxury-shadow);
}

/* Footer Links */
.footer-contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

/* Make sure scripts are properly loaded */
@media (max-width: 768px) {
    .filter-bar {
        padding: 1rem 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Add or update these styles in your styles.css file */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.logo-container {
    position: relative;
    z-index: 2;
}

.header-logo {
    width: 120px;
    height: auto;
    transition: all 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* About Page Specific Styles */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('images/about-hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.about-content {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-section {
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.about-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--luxury-shadow);
    text-align: center;
    transition: var(--transition);
}

/* מחק את ה-site-footer הישן */
.site-footer {
    display: none;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* ... rest of the footer styles ... */

/* Responsive styles */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* ... mobile styles ... */
}

#firebaseStatus {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    direction: rtl;
}

#firebaseStatus.firebase-success {
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
}

#firebaseStatus.firebase-error {
    background-color: rgba(244, 67, 54, 0.9);
    color: white;
}

#firebaseStatus:not(:empty) {
    opacity: 1;
}

/* Hide status after 5 seconds */
#firebaseStatus.show {
    animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* Enhanced Services Section */
.enhanced-services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-right: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

/* Educational Content Section */
.educational-content {
    padding: 5rem 0;
    background: white;
}

.content-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.content-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.content-image {
    height: 200px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.content-body {
    padding: 1.5rem;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.content-category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.content-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.content-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.content-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.content-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.content-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonials-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    font-size: 1.1rem;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Call to Action Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.cta-button.primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 89, 70, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid,
    .content-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2,
    .testimonials-header h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .service-item,
    .content-card {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS Variables */
:root {
    --primary-color: #5f5946;
    --secondary-color: #4a4535;
    --text-color: #333;
    --text-muted: #666;
}

/* AdSense Section Styles */
.adsense-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.ad-container {
    max-width: 728px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Tutorials Section Styles */
.tutorials-section {
    padding: 4rem 0;
    background: #ffffff;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tutorial-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.tutorial-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tutorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tutorial-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tutorial-content {
    padding: 1.5rem;
}

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.difficulty {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty.beginner {
    background: #e8f5e8;
    color: #2d5a2d;
}

.difficulty.intermediate {
    background: #fff3cd;
    color: #856404;
}

.difficulty.advanced {
    background: #f8d7da;
    color: #721c24;
}

.duration {
    color: #666;
    font-size: 0.9rem;
}

.tutorial-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.tutorial-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tutorial-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tutorial-features span {
    background: #f8f9fa;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tutorial-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.tutorial-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design for Tutorials */
@media (max-width: 768px) {
    .tutorials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tutorial-card {
        margin: 0 1rem;
    }
    
    .tutorial-content h3 {
        font-size: 1.2rem;
    }
    
    .tutorial-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tutorial-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tutorial-content {
        padding: 1rem;
    }
}
