/*
 * STYLESHEET FOR LK SERVICES (UPDATED V3)
 * style.css
 */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Lato:wght@400;700&display=swap');

/* === CSS VARIABLES (BRAND PALETTE) === */
:root {
    --gold: #D4AF37;
    --dark-gray: #333333;
    --light-gray: #f9f9f9;
    --white: #ffffff;
    --text-color: #555555;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-hover: 0 6px 16px rgba(0,0,0,0.1);
}

/* === GLOBAL RESET & DEFAULTS === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-color); line-height: 1.7; background: var(--white); }

/* === TYPOGRAPHY & HEADINGS === */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark-gray); font-weight: 600; margin-bottom: 1rem; line-height: 1.3; }
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--dark-gray); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding-left: 0; }

/* === LAYOUT CONTAINERS === */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
section { padding: 80px 0; }
.section-bg { background-color: var(--light-gray); }
.text-center { text-align: center; }
.page-header { background: var(--dark-gray); padding: 80px 0 60px; color: var(--white); }
.page-header h1 { color: var(--white); border-bottom: 3px solid var(--gold); display: inline-block; padding-bottom: 10px; }

/* === HEADER & NAVIGATION === */
.main-header { background: var(--white); padding: 0.5rem 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

/* NEW LOGO IMAGE STYLES */
.logo-link { display: flex; align-items: center; }
.logo-image { max-height: 60px; width: auto; /* Constrains height, maintains aspect ratio */ }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-family: var(--font-heading); font-weight: 600; color: var(--dark-gray); font-size: 1rem; padding: 0.5rem 0; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--dark-gray); cursor: pointer; }

/* === BUTTONS === */
.btn { display: inline-block; padding: 12px 28px; border-radius: 5px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; text-align: center; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background: var(--gold); color: var(--dark-gray); }
.btn-primary:hover { background: #c9a030; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-secondary { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--dark-gray); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-white { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-white:hover { background: var(--white); color: var(--dark-gray); }

/* === HERO SLIDER === */
.hero-slider-container { position: relative; height: 90vh; width: 100%; overflow: hidden; background: #000; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.hero-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 2; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 800px; padding: 0 20px; }
.hero-content h1 { color: var(--white); font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); transform: translateY(20px); opacity: 0; transition: all 0.8s ease 0.5s; }
.hero-content p { color: var(--white); font-size: 1.25rem; margin-bottom: 2rem; transform: translateY(20px); opacity: 0; transition: all 0.8s ease 0.7s; }
.hero-content .btn-group { transform: translateY(20px); opacity: 0; transition: all 0.8s ease 0.9s; }
.hero-slide.active .hero-content h1, .hero-slide.active .hero-content p, .hero-slide.active .hero-content .btn-group { transform: translateY(0); opacity: 1; }

/* === HOME PAGE SECTIONS === */
.certifications { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-top: 3rem; }
.cert-item { display: flex; align-items: center; gap: 1.5rem; background: var(--white); padding: 1.5rem; border-radius: 5px; box-shadow: var(--shadow); }
.cert-item i { font-size: 2.5rem; color: var(--gold); width: 60px; text-align: center; }
.cert-item h3 { margin-bottom: 0.25rem; }

.service-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-preview-item { text-align: center; padding: 2rem; background: var(--white); box-shadow: var(--shadow); border-radius: 5px; transition: all 0.3s ease; }
.service-preview-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-preview-item i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; }

/* === TESTIMONIAL SLIDER === */
.testimonial { background: var(--dark-gray); color: var(--white); position: relative; overflow: hidden; }
.testimonial h2 { color: var(--white); margin-bottom: 3rem; }
.testimonial-slider-container { max-width: 800px; margin: 0 auto; position: relative; height: 250px; }
.testimonial-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateX(50px); transition: all 0.8s ease; pointer-events: none; }
.testimonial-slide.active { opacity: 1; transform: translateX(0); pointer-events: all; }
.testimonial-slide blockquote { font-size: 1.25rem; font-style: italic; margin-bottom: 1.5rem; border-left: 3px solid var(--gold); padding-left: 1.5rem; opacity: 0.9; line-height: 1.8; }
.testimonial-slide .author { font-family: var(--font-heading); font-weight: 600; color: var(--gold); text-align: right; display: block; }
.testimonial-dots { text-align: center; margin-top: 2rem; }
.dot { display: inline-block; height: 12px; width: 12px; margin: 0 5px; background-color: #555; border-radius: 50%; cursor: pointer; transition: background-color 0.3s; }
.dot.active { background-color: var(--gold); }

/* === FAQ === */
.faq-container { max-width: 800px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-item summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--dark-gray); padding: 1.5rem 1rem; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 1rem; transition: transform 0.3s ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item div { padding: 0 1rem 1.5rem 1rem; }

/* === INNER PAGES === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-grid img { border-radius: 5px; box-shadow: var(--shadow); }
.promise-list { margin-top: 2rem; }
.promise-list li { position: relative; padding-left: 30px; margin-bottom: 1rem; font-size: 1.1rem; }
.promise-list li::before { content: '\f00c'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold); position: absolute; left: 0; top: 3px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); box-shadow: var(--shadow); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; }
.service-card img { height: 200px; object-fit: cover; }
.service-card-content { padding: 2rem; }
.service-card-content h3 { color: var(--gold); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; box-shadow: var(--shadow); }
.gallery-item img:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }

.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-family: var(--font-heading); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-family: var(--font-body); font-size: 1rem; }
.contact-form textarea { min-height: 150px; }
.contact-info { background: var(--light-gray); padding: 2rem; border-radius: 5px; }
.contact-info h3 { border-bottom: 2px solid var(--gold); padding-bottom: 0.5rem; }
.contact-info li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.1rem; }
.contact-info i { font-size: 1.25rem; color: var(--gold); padding-top: 5px; width: 20px; }
.whatsapp-button { display: flex; align-items: center; justify-content: center; gap: 0.75rem; background: #25D366; color: white; font-weight: 600; padding: 1rem; border-radius: 5px; font-family: var(--font-heading); text-align: center; }
.whatsapp-button:hover { background: #1EAE50; color: white; }

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; justify-content: center; align-items: center; padding: 2rem; }
.lightbox.show { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-content img { width: auto; height: auto; max-width: 100%; max-height: 90vh; border-radius: 5px; }
.lightbox-close { position: absolute; top: -10px; right: -10px; font-size: 2.5rem; color: var(--white); cursor: pointer; background: var(--dark-gray); border-radius: 50%; width: 40px; height: 40px; line-height: 40px; text-align: center; }

/* === FOOTER === */
.main-footer { background: var(--dark-gray); color: #aaa; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--gold); padding-bottom: 0.5rem; display: inline-block; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.footer-contact i { color: var(--gold); font-size: 1.1rem; padding-top: 4px; }
.footer-bottom { border-top: 1px solid #444; padding: 2rem 0; text-align: center; font-size: 0.9rem; }

/* === STICKY CTA BUTTON (Left) === */
.sticky-cta { position: fixed; bottom: 20px; left: 20px; z-index: 999; background: #25D366; color: white; font-size: 1.5rem; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0; transform: translateY(100px); }
.sticky-cta.visible { opacity: 1; transform: translateY(0); }
.sticky-cta:hover { background: #1EAE50; color: white; }

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .main-header { padding: 0.5rem 0; }
    .logo-image { max-height: 50px; } /* Smaller logo on mobile */
    .menu-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 65px; left: 0; width: 100%; background: var(--white); box-shadow: 0 10px 10px rgba(0,0,0,0.05); padding: 1rem 0; align-items: stretch; }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 1rem; text-align: center; width: 100%; }
    .nav-links a::after { display: none; }
    
    .hero-slider-container { height: 80vh; }
    .hero-content h1 { font-size: 2rem; }
    .testimonial-slider-container { height: 350px; }
    .certifications { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}