/* CSS Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6b35;
    --whatsapp-color: #25d366;
    --warning-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-light: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

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

body {
    font-family: 'Assistant', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Content highlighting for AI understanding */
mark {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: var(--text-dark);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Semantic content styling */
article {
    position: relative;
}

figure {
    margin: 0;
    position: relative;
}

/* AI-friendly content structure */
[itemscope] {
    position: relative;
}

[itemprop] {
    position: relative;
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px 24px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-color), #20c55e);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-xl {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    z-index: 1000;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-light);
    margin: 0 0.5rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.business-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.header-tagline {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.service-hours {
    color: var(--warning-color);
    font-weight: 600;
    margin-bottom: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23dee2e6" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-image {
    position: relative;
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.hero-badge i {
    margin-left: 8px;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.emergency {
    background: linear-gradient(135deg, #fff5f5, #fff);
    border-color: var(--danger-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card.emergency .service-icon {
    color: var(--danger-color);
}

.service-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.warranty-badge {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow);
}

.free-consultation {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow);
}

/* Gallery Section */
.gallery-section {
    background: var(--light-color);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
}

.stars {
    color: var(--warning-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-light);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    background: var(--light-color);
}

.about-content {
    padding-left: 2rem;
}

.certifications {
    margin-top: 2rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.cert-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cert-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.contact-method:hover {
    box-shadow: var(--shadow);
}

.contact-method.whatsapp-contact {
    background: linear-gradient(135deg, #f0fff4, var(--light-color));
    border: 2px solid var(--whatsapp-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    background: var(--primary-color);
}

.whatsapp-contact .contact-icon {
    background: var(--whatsapp-color);
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.phone-link:hover {
    text-decoration: underline;
}

.working-hours {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.working-hours h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.working-hours ul {
    list-style: none;
    padding: 0;
}

.working-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.working-hours li:last-child {
    border-bottom: none;
}

.working-hours li.closed {
    color: var(--danger-color);
    font-weight: 600;
}

.service-areas {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
}

.service-areas h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-form h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.map-overlay h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.map-overlay p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 2rem 0;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-links a:first-child {
    background: var(--whatsapp-color);
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 0.5rem;
}

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

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    color: var(--white);
}

.whatsapp-float .tooltip {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .business-name {
        font-size: 1.2rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .hero-badge {
        position: static;
        display: inline-block;
        margin-top: 1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
    
    .whatsapp-float {
        bottom: 80px;
    }
    
    .map-overlay {
        position: static;
        margin: 1rem;
    }
    
    .cta-section .col-lg-4 {
        text-align: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-icon {
        font-size: 2rem;
    }
    
    .btn-xl {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .btn-whatsapp,
    .header .btn {
        display: none !important;
    }
    
    .hero-section {
        background: var(--white) !important;
    }
    
    .footer {
        background: var(--white) !important;
        color: var(--text-dark) !important;
    }
} 