/* CSS Variables for Light Theme */
:root {
    --primary-color: #2563eb; /* Modern Blue */
    --primary-hover: #1d4ed8;
    --secondary-color: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-3d: 0 30px 40px -10px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--secondary-color); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; }
.highlight { color: var(--primary-color); }

/* Buttons */
.btn-primary, .btn-secondary { display: inline-block; padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 500; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background-color: var(--primary-color); color: var(--white); box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); color: var(--white); }
.btn-secondary { background-color: var(--white); color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-2px); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 0.8rem 0; background-color: rgba(255, 255, 255, 0.98); z-index: 1000; transition: var(--transition); border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm); }
.navbar.scrolled { padding: 0.5rem 0; box-shadow: var(--shadow-md); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.site-logo { max-height: 90px; width: auto; object-fit: contain; display: block; transition: var(--transition); }
.navbar.scrolled .site-logo { max-height: 75px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 1.05rem; color: var(--text-dark); transition: var(--transition); position: relative; }
.nav-links a:not(.btn-primary)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary-color); transition: var(--transition); }
.nav-links a:not(.btn-primary):hover::after, .nav-links a.active:not(.btn-primary)::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.nav-btn { color: var(--white) !important; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* Page Header (for subpages) */
.page-header { padding: 160px 0 80px; background: url('../assets/images/16.jpeg') center/cover no-repeat; color: var(--text-dark); text-align: center; position: relative; border-bottom: 1px solid rgba(0,0,0,0.05); }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.85); }
.page-header .container { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.95); padding: 3rem; border-radius: 20px; box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07); border: 1px solid rgba(255, 255, 255, 0.5); max-width: 800px; margin: 0 auto; }
.page-header h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary-color); text-shadow: 0 2px 4px rgba(255,255,255,0.5); }
.page-header p { font-size: 1.1rem; color: var(--text-dark); margin: 0 auto; font-weight: 500; }

/* Assertive Page Header (No Image) */
.simple-page-header { padding: 150px 0 30px; background-color: transparent; }
.simple-page-header h1 { font-size: 2.8rem; font-weight: 700; color: #0f172a; text-transform: uppercase; margin-bottom: 0.8rem; letter-spacing: -1px; line-height: 1; }
.title-line { height: 6px; width: 70px; background-color: var(--primary-color); border-radius: 3px; }

/* Hero Section (Homepage) */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; background: url('../assets/images/16.jpeg') center/cover no-repeat; padding-top: 80px; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%); }
.hero-container { position: relative; z-index: 1; width: 100%; }
.hero-content { max-width: 700px; color: var(--white); }
.hero-title { font-size: 3.2rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-title span { color: #60a5fa; } /* Lighter blue for dark background */
.hero-subtitle { font-size: 1.2rem; color: #e2e8f0; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; }

/* Sections Global */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.2rem; color: var(--text-dark); }
.divider { height: 4px; width: 60px; background-color: var(--primary-color); margin: 1rem auto 1.5rem; border-radius: 2px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* Image Cards (Services) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.image-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.image-card .card-img { height: 220px; overflow: hidden; position: relative; background-color: #f1f5f9; }
.image-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; transform: translateZ(0); backface-visibility: hidden; }
.image-card:hover .card-img img { transform: scale(1.05); }
.image-card .card-content { padding: 2rem; flex: 1; display: flex; flex-direction: column; background: var(--white); }
.image-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-dark); }
.image-card p { color: var(--text-light); margin-bottom: 1.5rem; flex: 1; }

/* About Section */
.about-content { display: flex; gap: 4rem; align-items: center; }
.about-image { flex: 1; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); height: 400px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--primary-color); }
.about-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 1rem; }

/* Gallery Section */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-item { border-radius: 15px; overflow: hidden; height: 250px; position: relative; box-shadow: var(--shadow-sm); background-color: #f1f5f9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; transform: translateZ(0); backface-visibility: hidden; }
.gallery-item:hover img { transform: scale(1.05); }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-form { background: var(--white); padding: 3rem; border-radius: 20px; box-shadow: var(--shadow-lg); }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-dark); }
.contact-form input, .contact-form textarea { width: 100%; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 10px; font-family: inherit; transition: var(--transition); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.contact-info-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: var(--white); padding: 2rem; border-radius: 15px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 1.5rem; }
.info-card i { font-size: 2rem; color: var(--primary-color); }
.info-card div h4 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.info-card div p { color: var(--text-light); }

/* Footer */
footer { background-color: #020617; color: #94a3b8; padding: 4rem 0 0 0; margin-top: 4rem; }
.footer-container { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-left { justify-self: start; max-width: 350px; }
.footer-middle { justify-self: center; text-align: center; }
.footer-right { justify-self: end; }
.footer-logo { max-height: 110px; margin-bottom: 1.5rem; mix-blend-mode: screen; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.footer-links a:hover { color: var(--white); }
.social-links { display: flex; gap: 1rem; perspective: 500px; }
.social-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); transition: var(--transition); }
.social-icon:hover { background: var(--primary-color); }
.footer-bottom { text-align: center; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

/* FAQ Section */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--white); border-radius: 10px; box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); }
.faq-question { width: 100%; text-align: left; padding: 1.2rem 1.5rem; border: none; background: none; font-size: 1rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Poppins', sans-serif; }
.faq-question i { transition: transform 0.3s ease; color: var(--primary-color); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.5rem; background: var(--secondary-color); }
.faq-answer p { padding: 1rem 0; color: var(--text-light); }



/* Animations */
.slide-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, transform; }
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 1.5rem; }
}

@media (max-width: 992px) {
    .about-content { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-title { font-size: 2.8rem; }
    .services-grid, .gallery-grid { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 1.5rem 0; box-shadow: var(--shadow-md); gap: 1rem; }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .page-header { padding: 120px 0 60px; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header p { font-size: 0.95rem; }
    .page-header .container { padding: 1.5rem; border-radius: 15px; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-left, .footer-middle, .footer-right { justify-self: center !important; text-align: center; align-items: center; }
    .social-links { justify-content: center; }
    .faq-question { font-size: 1rem; padding: 1rem; }
    section { padding: 4rem 0; }
    .section-header { margin-bottom: 3rem; }
    .section-header h2 { font-size: 1.8rem; }
    .about-image { height: 300px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-buttons a { width: 100%; text-align: center; padding: 0.8rem 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }
    .about-image { height: 250px; }
    .site-logo { max-height: 75px; }
    .navbar.scrolled .site-logo { max-height: 60px; }
    .btn-primary, .btn-secondary { font-size: 0.95rem; }
    .section-header h2 { font-size: 1.5rem; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
