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

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    direction: rtl;
}

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

/* CSS Variables */
:root {
    --primary-color: #e67e22;
    --primary-hover: #d68910;
    --secondary-color: #f39c12;
    --accent-color: #ff9800;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #bdc3c7;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --border-color: #e5e5e5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #e67e22, #f39c12);
    --gradient-hero: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* Typography */
.arabic-heading {
    font-weight: 700;
    line-height: 1.2;
}

.arabic-body {
    line-height: 1.8;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover, .btn-outline:active {
    background: var(--primary-color);
    color: white;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover, .btn-outline-white:active {
    background: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: white;
    color: var(--primary-color);
}

.btn-whatsapp:hover, .btn-whatsapp:active {
    background: #f8f9fa;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    display: block;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.logo-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.cta-buttons {
    display: none;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 18px;
}

.mobile-menu {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    background: rgba(230, 126, 34, 0.1);
}

.mobile-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-text {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 600px;
    color: white;
    padding: 40px 0;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.slider-btn:hover, .slider-btn:active {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    right: 24px;
}

.next-btn {
    left: 24px;
}

.slide-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.autoplay-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.autoplay-btn:hover, .autoplay-btn:active {
    background: rgba(0, 0, 0, 0.3);
}

/* Sections */
.about-section,
.contact-section {
    padding: 80px 0;
    background: var(--background);
}

.process-section,
.works-section {
    padding: 80px 0;
    background: var(--background-alt);
}

.section-header {
    margin-bottom: 48px;
}

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

.section-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 8px 0 24px;
    line-height: 1.2;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.title-underline.center {
    margin: 0 auto 24px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-text {
    margin: 32px 0;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover, .stat-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 32px;
}

.stat-icon.clock {
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
}

.stat-icon.users {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.stat-icon.award {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.stat-icon.star {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Process Section */
.comfort-statement {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 48px 32px;
    text-align: center;
    color: white;
    margin-bottom: 64px;
}

.comfort-statement h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
}

.comfort-statement p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.process-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-card:hover, .process-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 32px;
}

.process-icon.measure {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.process-icon.design {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.process-icon.factory {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.process-icon.install {
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.process-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Works Section Cards (Shared Styles) */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-year {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ensures footer of card is aligned */
}

.project-category {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0 12px;
    transition: var(--transition);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
    flex-grow: 1; /* Pushes button to the bottom */
}

/* Homepage Project Card Style */
.project-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover, .project-card:active {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.2);
}

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

.project-card:hover .project-title {
    color: var(--primary-color);
}

/* Gallery Page Card Style */
.gallery-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-card:hover, .gallery-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.gallery-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

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

.gallery-card:hover .project-title {
    color: var(--primary-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-form-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background: white;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-info-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-icon.location {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.contact-icon.phone {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.contact-icon.email {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.contact-icon.hours {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.4;
}

.map-placeholder {
    background: var(--background-alt);
    height: 256px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
}

.map-content {
    text-align: center;
    color: var(--text-secondary);
}

.map-content i {
    font-size: 48px;
    margin-bottom: 8px;
}

.whatsapp-cta {
    background: var(--gradient-primary);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: white;
}

.whatsapp-cta h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.whatsapp-cta p {
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
}

.footer-main {
    padding: 64px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.footer-logo p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

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

.social-link:hover, .social-link:active {
    background: var(--primary-color);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-services li {
    color: #bdc3c7;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item span {
    color: #bdc3c7;
    line-height: 1.4;
}

.footer-newsletter {
    border-top: 1px solid #34495e;
    padding: 32px 0;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.newsletter-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.newsletter-form input {
    padding: 12px 16px;
    background: #34495e;
    border: 2px solid #34495e;
    border-radius: var(--border-radius);
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.footer-bottom-content p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
}

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

.whatsapp-btn:hover, .whatsapp-btn:active {
    transform: scale(1.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 (min-width: 768px) {
    .logo-text {
        display: block;
    }

    .desktop-nav {
        display: flex;
    }

    .cta-buttons {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .about-buttons {
        flex-direction: row;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .newsletter-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .newsletter-form {
        flex-direction: row;
        width: auto;
        min-width: 300px;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Accessibility improvements */
.btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .slider-btn,
    .slide-indicators,
    .autoplay-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Works Page Filter Bar */
.works-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 32px 0 24px 0;
}

.works-filter-btn {
    background: #fff;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 7px 22px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.works-filter-btn.active,
.works-filter-btn:hover, .works-filter-btn:active {
    background: var(--primary-color);
    color: #fff;
}

/* Image Modal (Lightbox) */
.image-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: translateY(-50%) scale(0.8); opacity: 0; }
    to { transform: translateY(-50%) scale(1); opacity: 1; }
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    background: none;
    border: none;
}

.image-modal-close:hover,
.image-modal-close:focus, .image-modal-close:active {
    color: #bbb;
    text-decoration: none;
}

#modalImage {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#modalCaption {
    margin: 10px auto 0;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
    font-size: 16px;
}

.image-modal-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    border: none;
}

.image-modal-nav.next {
    left: 100%;
    border-radius: 3px 0 0 3px;
}

.image-modal-nav.prev {
    right: 100%;
    border-radius: 0 3px 3px 0;
}

.image-modal-nav:hover, .image-modal-nav:active {
    background-color: rgba(0,0,0,0.6);
}
/* Works Contact Section */
.works-contact-section {
    background: #e08a2f;
    color: #fff;
    border-radius: 18px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 36px 18px 28px 18px;
    text-align: center;
}

.works-contact-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.works-contact-section p {
    font-size: 1.08rem;
    margin-bottom: 18px;
}

.works-contact-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.works-contact-btns .btn-secondary {
    background: #fff;
    color: #e08a2f;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 8px;
}

.works-contact-btns .btn-outline-white {
    margin-top: 8px;
}
/* About Section Image Placeholder */
.about-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--background-alt);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.about-main-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}