/* News modal wider style */
.news-modal-wide {
    max-width: 1200px !important;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, sans-serif; line-height: 1.6; color: #2c3e50; background: #fafafa; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: #ffffff; box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid #1E40AF; }
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 20px; }
.logo { color: #1E40AF; font-size: 1.9rem; font-weight: 900; letter-spacing: 0.5px; }
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; color: #2c3e50; font-weight: 600; transition: all 0.3s; border-bottom: 3px solid transparent; padding-bottom: 0.3rem; }
.nav a:hover { color: #1E40AF; border-bottom-color: #1E40AF; }

/* Hero */
.hero { background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #1E40AF 100%); color: #fff; padding: 120px 20px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h2 { font-size: 3rem; margin-bottom: 1rem; font-weight: 900; letter-spacing: -0.5px; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.hero p { font-size: 1.4rem; margin-bottom: 2.5rem; font-weight: 500; opacity: 0.98; }
.cta-button { display: inline-block; background: #fff; color: #1E40AF; padding: 1.1rem 2.8rem; text-decoration: none; border-radius: 50px; font-weight: 700; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 6px 20px rgba(0,0,0,0.15); letter-spacing: 0.5px; }
.cta-button:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }

/* Sections */
.about, .contact { padding: 80px 20px; background: #ffffff; }
.team, .gallery { padding: 80px 20px; background: #f8f8f8; }
.about h2, .team h2, .gallery h2, .contact h2 { color: #1E40AF; font-size: 2.5rem; margin-bottom: 3rem; text-align: center; font-weight: 800; position: relative; padding-bottom: 1.5rem; }
.about h2::after, .team h2::after, .gallery h2::after, .contact h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: linear-gradient(to right, transparent, #1E40AF, transparent); border-radius: 2px; }

/* About */
.about-content { display: grid; grid-template-columns: 1fr 1fr 200px; gap: 3rem; align-items: start; }
.about-content h3, .services h3 { color: #2c3e50; font-size: 1.6rem; margin-bottom: 1.5rem; border-bottom: 3px solid #1E40AF; padding-bottom: 0.8rem; font-weight: 700; }
.about-content p { margin-bottom: 1.2rem; font-size: 1.05rem; line-height: 1.85; color: #555; }
.services ul { list-style: none; }
.services li { padding: 0.9rem 0 0.9rem 2rem; position: relative; color: #555; font-weight: 500; }
.services li:before { content: "✓"; position: absolute; left: 0; color: #1E40AF; font-weight: 900; font-size: 1.2rem; }


/* Paint Can Decoration */
.paint-can { display: flex; align-items: flex-start; justify-content: center; padding-top: 3rem; }
.paint-can a { display: block; cursor: pointer; }
.paint-can img { width: 240px; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08)); transition: transform 0.3s ease; }
.paint-can img:hover { transform: scale(1.05); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-member { background: #ffffff; border-radius: 12px; overflow: visible; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.08); text-align: center; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); border: 1px solid rgba(30, 64, 175, 0.1); padding-top: 2rem; }
.team-member:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(30, 64, 175, 0.15); border-color: #1E40AF; }
.team-member img { width: 180px; height: 180px; object-fit: cover; display: block; margin: -4rem auto 0; border-radius: 50%; border: 5px solid #ffffff; box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3); transition: all 0.3s ease; }
.team-member img:hover { transform: scale(1.05); box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4); }
.team-member h3 { color: #2c3e50; font-size: 1.35rem; margin: 1.5rem 1rem 0.5rem; border-bottom: 3px solid #1E40AF; padding-bottom: 0.7rem; font-weight: 700; }
.team-member ul { list-style: none; padding: 0 1rem 1.5rem; color: #555; font-size: 0.98rem; }
.team-member li { padding: 0.6rem 0; font-weight: 500; }
.team-member li:before { content: "•"; color: #1E40AF; font-weight: 900; margin-right: 0.7rem; }
.team-email { color: #1E40AF; text-decoration: none; transition: all 0.3s; font-weight: 700; }
.team-email:hover { text-decoration: underline; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.gallery-item { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.08); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); border: 1px solid rgba(30, 64, 175, 0.1); }
.gallery-item:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(30, 64, 175, 0.15); border-color: #1E40AF; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; display: block; }
.gallery-item p { padding: 1.5rem; color: #555; font-weight: 600; border-top: 3px solid #1E40AF; background: #ffffff; }

/* Before and After */
.before-after-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.before-after-item { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.08); border: 1px solid rgba(30, 64, 175, 0.1); }
.before-after-container { position: relative; width: 100%; padding-bottom: 100%; overflow: hidden; }
.before-after-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.after-image { clip-path: inset(0 0 0 50%); }
.label { position: absolute; font-weight: 700; font-size: 0.95rem; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); padding: 0.5rem 1rem; z-index: 10; background: rgba(30, 64, 175, 0.9); border-radius: 4px; }
.before-label { bottom: 1rem; left: 1rem; }
.after-label { bottom: 1rem; right: 1rem; }

/* Image Carousel */
.image-carousel { position: relative; max-width: 600px; margin: 0 auto 3rem; }
.carousel-container { position: relative; width: 100%; padding-bottom: 100%; background: #f0f0f0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1); }
.carousel-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.carousel-image.active { opacity: 1; }
.carousel-label { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; background: rgba(30, 64, 175, 0.95); color: #fff; padding: 0.8rem 1.2rem; border-radius: 6px; font-weight: 700; font-size: 1rem; text-align: center; z-index: 5; }
.carousel-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(30, 64, 175, 0.9); color: #fff; border: none; padding: 0.8rem 1.2rem; font-size: 1.5rem; cursor: pointer; border-radius: 6px; transition: all 0.3s; z-index: 10; font-weight: bold; }
.carousel-button:hover { background: #1E40AF; transform: translateY(-50%) scale(1.1); }
.carousel-button.prev { left: 1rem; }
.carousel-button.next { right: 1rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1.5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s; border: 2px solid #1E40AF; }
.dot.active { background: #1E40AF; }
.dot:hover { transform: scale(1.2); }

/* Before and After Slider */
.slider-carousel-wrapper { position: relative; max-width: 800px; margin: 0 auto 3rem; padding: 0 80px; }
.slider-carousel { position: relative; width: 100%; }
.carousel-slider-item { display: none; }
.carousel-slider-item.active { display: block; }
.before-after-slider { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.12); cursor: grab; user-select: none; background: #f0f0f0; touch-action: none; }
.before-after-slider:active { cursor: grabbing; }
.img-before, .img-after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.img-before { z-index: 1; }
.img-after { z-index: 2; }
.slider-divider { position: absolute; top: 0; left: 50%; width: 3px; height: 100%; background: #1E40AF; z-index: 3; pointer-events: none; transform: translateX(-50%); transition: left 0.05s ease-out; }
.divider-line { width: 100%; height: 100%; background: #1E40AF; }
.divider-ball { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; background: #1E40AF; border-radius: 50%; box-shadow: 0 3px 10px rgba(30, 64, 175, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.3); border: 2px solid rgba(255, 255, 255, 0.8); }
.carousel-slider-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(30, 64, 175, 0.9); color: white; border: none; padding: 0.8rem 1.2rem; font-size: 1.5rem; border-radius: 50%; cursor: pointer; transition: all 0.3s; z-index: 10; }
.carousel-slider-button.prev { left: 10px; }
.carousel-slider-button.next { right: 10px; }
.carousel-slider-button:hover { background: #1E40AF; transform: translateY(-50%) scale(1.1); }
.carousel-slider-label { text-align: center; margin-top: 1.5rem; font-size: 1.2rem; font-weight: 700; color: #1E40AF; }
.slider-description { text-align: center; margin-top: 1.5rem; color: #555; font-size: 1rem; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; font-weight: 500; }

/* News */
.news { padding: 80px 20px; background: #ffffff; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.news-item { background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%); border-radius: 12px; padding: 2.5rem 2rem; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.08); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); border: 2px solid rgba(30, 64, 175, 0.1); position: relative; overflow: hidden; }
.news-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #1E40AF, #2563EB); }
.news-item:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(30, 64, 175, 0.15); border-color: #1E40AF; }
.news-icon { font-size: 3rem; margin-bottom: 1rem; text-align: center; }
.news-item h3 { color: #2c3e50; font-size: 1.5rem; margin-bottom: 0.8rem; font-weight: 700; text-align: center; }
.news-date { color: #1E40AF; font-size: 0.9rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.news-item p { color: #555; line-height: 1.8; margin-bottom: 1.5rem; text-align: left; }
.news-cta { display: inline-block; background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%); color: #ffffff; padding: 0.9rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 700; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3); margin-top: 1rem; }
.news-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4); }

/* Contact */
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3, .contact-form h3 { color: #2c3e50; font-size: 1.6rem; margin-bottom: 1.5rem; border-bottom: 3px solid #1E40AF; padding-bottom: 0.8rem; font-weight: 700; }
.info-item { margin-bottom: 2rem; }
.info-item h4 { color: #1E40AF; font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 700; }
.info-item p { color: #555; font-weight: 500; }
.info-item a { color: #1E40AF; text-decoration: none; font-weight: 700; transition: all 0.3s; }
.info-item a:hover { text-decoration: underline; opacity: 0.8; }

/* Form */
.contact-form input, .contact-form textarea { width: 100%; padding: 0.9rem; margin-bottom: 1rem; border: 2px solid #e0e0e0; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: all 0.3s; background: #fafafa; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #1E40AF; box-shadow: 0 0 0 3px rgba(30,64,175,0.1); background: #ffffff; }
.submit-button { background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%); color: #fff; padding: 1.1rem 2rem; border: none; border-radius: 8px; font-size: 1.05rem; font-weight: 700; cursor: pointer; width: 100%; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); letter-spacing: 0.5px; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2); }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3); }
.submit-button:active { transform: translateY(0); }

/* Footer */
.footer { background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%); color: #ffffff; padding: 3rem 20px; text-align: center; margin-top: 3rem; border-top: 3px solid #1E40AF; }
.footer p { margin: 0.7rem 0; font-size: 0.98rem; opacity: 0.9; }

/* WhatsApp Button */
.whatsapp-button { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 1000; text-decoration: none; color: white; }
.whatsapp-button:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
.whatsapp-button:active { transform: scale(0.95); }
.whatsapp-button svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)); }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.mobile-menu-toggle span { width: 28px; height: 3px; background: #2c3e50; border-radius: 3px; transition: all 0.3s ease; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); background: #1E40AF; }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background: #1E40AF; }
body.menu-open { overflow: hidden; }

/* Responsive */
@media (max-width: 768px) {
    /* Header & Navigation */
    .mobile-menu-toggle { display: flex; }
    .header .container { position: relative; }
    .nav { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: #ffffff; flex-direction: column; align-items: flex-start; padding: 80px 30px 30px; gap: 0; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transition: left 0.3s ease; z-index: 1000; }
    .nav.active { left: 0; }
    .nav a { width: 100%; padding: 1rem 0; border-bottom: 2px solid #f0f0f0; font-size: 1.1rem; }
    
    /* Typography */
    .logo { font-size: 1.4rem; }
    .hero h2 { font-size: 2rem; line-height: 1.3; }
    .hero p { font-size: 1.2rem; }
    
    /* About section - Stack layout */
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .paint-can { display: none; } /* Hide paint can on tablets */
    
    /* Team - Adjust floating images */
    .team-member { padding-top: 3rem; }
    .team-member img { width: 150px; height: 150px; margin-top: -3rem; }
    
    /* Gallery & Team grids */
    .gallery-grid, .team-grid, .news-grid { grid-template-columns: 1fr; }
    
    /* Slider carousel - Adjust button positions */
    .slider-carousel-wrapper { padding: 0 60px; }
    .carousel-slider-button { padding: 0.6rem 1rem; font-size: 1.3rem; }
    .carousel-slider-button.prev { left: 5px; }
    .carousel-slider-button.next { right: 5px; }
    
    /* Testimonials */
    .testimonial-card { padding: 2rem 1.5rem; }
    
    /* Contact */
    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
    
    /* WhatsApp button */
    .whatsapp-button { width: 55px; height: 55px; bottom: 20px; right: 20px; }
    .whatsapp-button svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
    /* Typography - Larger for readability */
    .logo { font-size: 1.3rem; }
    .hero { padding: 50px 15px; }
    .hero h2 { font-size: 1.6rem; }
    .hero p { font-size: 1.1rem; }
    .cta-button { padding: 1rem 2rem; font-size: 1rem; }
    
    /* Sections padding */
    .about, .team, .gallery, .news, .contact { padding: 50px 15px; }
    
    /* Section headings */
    .about h2, .team h2, .gallery h2, .contact h2, .news h2 { font-size: 2rem; margin-bottom: 2rem; }
    
    /* Team cards - Smaller floating images */
    .team-member { padding-top: 2.5rem; }
    .team-member img { width: 120px; height: 120px; margin-top: -2.5rem; border-width: 4px; }
    .team-member h3 { font-size: 1.2rem; margin-top: 1rem; }
    .team-member ul { font-size: 0.9rem; }
    
    /* Gallery items - Better touch targets */
    .gallery-item p { font-size: 0.95rem; padding: 1.2rem; }
    
    /* Carousel - Touch friendly */
    .carousel-button { padding: 0.6rem 1rem; font-size: 1.2rem; }
    .carousel-dots { gap: 0.6rem; }
    .dot { width: 10px; height: 10px; }
    
    /* Slider carousel - Stack controls better */
    .slider-carousel-wrapper { padding: 0 50px; max-width: 100%; }
    .carousel-slider-button { padding: 0.5rem 0.8rem; font-size: 1.2rem; }
    .carousel-slider-button.prev { left: 2px; }
    .carousel-slider-button.next { right: 2px; }
    .carousel-slider-label { font-size: 1.1rem; margin-top: 1rem; }
    .slider-description { font-size: 0.95rem; margin-top: 1rem; padding: 0 10px; }
    
    /* News cards - Better spacing */
    .news-item { padding: 2rem 1.5rem; }
    .news-item h3 { font-size: 1.3rem; }
    .news-item p { font-size: 0.95rem; }
    
    /* Contact form - Better touch targets */
    .contact-form input, .contact-form textarea { padding: 1rem; font-size: 1rem; }
    .submit-button { padding: 1.2rem 2rem; font-size: 1rem; }
    
    /* Info items - Better readability */
    .info-item h4 { font-size: 1.1rem; }
    .info-item p, .info-item a { font-size: 1rem; }
    
    /* WhatsApp button - Smaller on mobile */
    .whatsapp-button { width: 50px; height: 50px; bottom: 15px; right: 15px; }
    .whatsapp-button svg { width: 26px; height: 26px; }
    
    /* Footer */
    .footer { padding: 2rem 15px; }
    .footer p { font-size: 0.9rem; }
}

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) {
    .hero { padding: 40px 20px; }
    .hero h2 { font-size: 1.8rem; }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero h2 { font-size: 1.4rem; }
    .team-member img { width: 100px; height: 100px; }
    .slider-carousel-wrapper { padding: 0 40px; }
}
