/* ============================================
   Tassili Company - Custom Styles
   Industrial Dark Theme with Orange/Yellow Accents
   ============================================ */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.98) !important;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #ffffff !important;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.logo-text {
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ff8c00 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: #ff8c00;
    transition: all 0.3s ease;
    transform: translateX(50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(255, 140, 0, 0.1) 100%);
    z-index: 1;
}

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

.hero-section h1 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease-out;
}

.hero-section .btn {
    animation: fadeInUp 1.4s ease-out;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
    background-color: #ff9900;
}

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

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #ffaa00);
    border-radius: 2px;
}

/* About Section */
#about {
    padding: 80px 0;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.about-image-container:hover {
    border-color: #ff8c00;
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
    transform: translateY(-5px);
}

.about-image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 0.5s ease;
}

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

/* Products Section */
#products {
    padding: 80px 0;
}

.product-card {
    background-color: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #ff8c00;
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
}

.product-image {
    overflow: hidden;
    height: 250px;
    background-color: #1a1a1a;
}

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

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

.product-content {
    padding: 1.5rem;
}

.product-content h4 {
    font-weight: 600;
    font-size: 1.3rem;
}

.product-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Partners Section */
#partners {
    padding: 80px 0;
}

.partner-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.strategic-partner {
    border: 3px solid #ff8c00;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.strategic-partner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.partner-logo-placeholder {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.partner-logo-placeholder:hover {
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
    transform: scale(1.05);
}

.partner-logo {
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

.partner-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Contact Section */
#contact {
    padding: 80px 0;
}

.contact-info {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-info h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info a {
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #ff8c00 !important;
    transform: translateX(-5px);
}

.map-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid #ff8c00;
}

.map-container iframe {
    border-radius: 10px;
}

/* Footer */
footer {
    border-top: 2px solid rgba(255, 140, 0, 0.3);
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: #ff8c00 !important;
    transform: translateY(-5px) scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .strategic-partner .row {
        text-align: center;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    .about-image-container {
        margin-top: 2rem;
    }
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff9900;
}

/* Utility Classes */
.text-warning {
    color: #ff8c00 !important;
}

.bg-dark {
    background-color: #1a1a1a !important;
}

.bg-secondary {
    background-color: #2d2d2d !important;
}

/* Button Hover Effects */
.btn-warning {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #1a1a1a;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #ff9900;
    border-color: #ff9900;
    color: #1a1a1a;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

