/* Enhanced Styles for الصقر الأول للإتصالات Website 
   This file contains additional styles to improve the website appearance
*/

/* Improved Card Effects */
.service-card,
.project-card,
.blog-card,
.industry-card,
.team-card,
.job-card {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.service-card:hover,
.project-card:hover,
.blog-card:hover,
.industry-card:hover,
.team-card:hover,
.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Enhanced Buttons */
.cta-button,
.apply-button,
.read-more,
.submit-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:before,
.apply-button:before,
.read-more:before,
.submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.cta-button:hover:before,
.apply-button:hover:before,
.read-more:hover:before,
.submit-button:hover:before {
    left: 0;
}

/* Enhanced Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #072b5a 0%, #061f40 100%);
}

/* Improved Form Inputs */
input, textarea, select {
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    border-radius: 6px;
}

input:focus, textarea:focus, select:focus {
    border-color: #072b5a;
    box-shadow: 0 0 0 3px rgba(7, 43, 90, 0.1);
    outline: none;
}

/* Enhanced Section Titles */
.section-title h2 {
    position: relative;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #072b5a, #d4af37);
    border-radius: 3px;
}

/* Enhanced Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.pagination a, 
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination span.active {
    background-color: #072b5a;
    color: white;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}

/* Image Hover Effects */
.project-image,
.article-image,
.team-image {
    overflow: hidden;
}

.project-image img,
.article-image img,
.team-image img {
    transition: transform 0.5s ease;
}

.project-image:hover img,
.article-image:hover img,
.team-image:hover img {
    transform: scale(1.1);
}

/* Enhanced Testimonials */
.testimonial {
    position: relative;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.testimonial:before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 60px;
    color: rgba(7, 43, 90, 0.1);
    font-family: serif;
    line-height: 1;
}

/* Responsive Improvements */
@media screen and (max-width: 768px) {
    .section-title h2:after {
        width: 60px;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
    
    .service-card, 
    .project-card, 
    .article-card {
        margin-bottom: 20px;
    }
}

/* Enhanced Accessibility */
:focus {
    outline: 3px solid rgba(7, 43, 90, 0.3);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #04193a;
}

/* RTL Specific Enhancements */
html[dir="rtl"] .section-title h2:after {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

/* Print Styles */
@media print {
    header, footer, .back-to-top, .cta-section {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}

/* Dark Mode Support (for future use) */
@media (prefers-color-scheme: dark) {
    :root {
        /* Dark mode variables can be defined here */
    }
}
