/* ===================================
   شبيلي لاستيراد الاثاث - تصميم خشبي احترافي
   =================================== */

:root {
    /* ألوان خشبية */
    --wood-dark: #5D4037;
    --wood-medium: #8D6E63;
    --wood-light: #BCAAA4;
    --wood-accent: #A1887F;
    --wood-texture: #6D4C41;
    --cream: #EFEBE9;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --text-dark: #3E2723;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-text {
    background: linear-gradient(45deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    margin-top: 76px;
    position: relative;
    height: 90vh;
    min-height: 600px;
}

.hero-section .carousel {
    height: 100%;
}

.hero-section .carousel-inner {
    height: 100%;
}

.hero-section .carousel-item {
    height: 100%;
    position: relative;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(93, 64, 55, 0.7);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.hero-section .carousel-caption h1 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-section .carousel-caption p {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-color: var(--wood-dark);
    border-radius: 50%;
    padding: 1.5rem;
}

.hero-section .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--wood-medium);
    border: 2px solid var(--white);
}

.hero-section .carousel-indicators button.active {
    background-color: var(--gold);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--wood-dark), var(--gold), var(--wood-dark));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* About Section */
#about {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.about-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(93, 64, 55, 0.1);
    border: 2px solid var(--wood-light);
}

.service-icon-box {
    padding: 2rem;
    background: linear-gradient(135deg, var(--wood-light) 0%, var(--wood-accent) 100%);
    border-radius: 10px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.service-icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(93, 64, 55, 0.3);
}

.service-icon-box i {
    color: var(--gold);
}

.company-info {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    border-right: 4px solid var(--wood-dark);
}

/* Services Section */
#services {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.service-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(93, 64, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(93, 64, 55, 0.4);
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.9) 0%, rgba(141, 110, 99, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 2rem;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    text-align: center;
    color: var(--white);
}

.service-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold);
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Vision Section */
#vision {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.vision-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(93, 64, 55, 0.15);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--wood-dark);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.vision-card:hover::before {
    left: 100%;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(93, 64, 55, 0.3);
}

.vision-icon {
    margin-bottom: 1.5rem;
    color: var(--wood-dark);
    transition: transform 0.3s ease;
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.vision-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--wood-dark), var(--gold));
    border-radius: 2px;
}

.vision-card p {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.05rem;
}

.goals-list {
    list-style: none;
    text-align: right;
    padding: 0;
}

.goals-list li {
    padding: 0.8rem 0;
    padding-right: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.8;
}

.goals-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--gold);
    font-size: 1.2rem;
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(93, 64, 55, 0.15);
    border: 2px solid var(--wood-light);
}

.contact-item {
    padding: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(93, 64, 55, 0.2);
}

.contact-item i {
    color: var(--wood-dark);
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: var(--wood-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--wood-medium);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--wood-dark);
    text-decoration: underline;
}

.map-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(93, 64, 55, 0.15);
    border: 2px solid var(--wood-light);
    height: 100%;
}

.map-container h4 {
    color: var(--wood-dark);
    font-weight: 700;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(93, 64, 55, 0.2);
    margin-bottom: 1rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-container .btn {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.3);
}

.map-container .btn:hover {
    background: linear-gradient(135deg, var(--wood-medium) 0%, var(--wood-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.4);
    color: var(--gold);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
    color: var(--white);
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

.footer strong {
    color: var(--gold);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-section .carousel-caption {
        padding: 2rem 1rem;
    }
    
    .hero-section .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-section .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-info {
        padding: 2rem 1.5rem;
    }
    
    .service-image-wrapper {
        height: 300px;
    }
    
    .vision-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .hero-section .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .carousel-caption p {
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

