/* --- Basic Reset at Global Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    width: 100%;
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    background-color: #ffffff;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6; 
    background-color: #f4f4f4; 
    color: #333; 
}

/* --- Promo Banner Styles --- */
.promo-banner { 
    display: none !important;
}

/* --- Header at Navigation Bar Styles --- */
.main-header {
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 1px solid rgba(221, 221, 221, 0);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(221, 221, 221, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.main-nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; text-decoration: none; color: #fff; transition: color 0.4s ease; }
.nav-links ul { list-style: none; display: flex; }
.nav-links ul li { margin-left: 20px; }
.nav-links a { text-decoration: none; color: #fff; font-weight: 500; transition: color 0.4s ease; }
.hamburger-menu { display: none; cursor: pointer; }
.hamburger-menu .bar { width: 25px; height: 3px; background-color: #fff; margin: 5px 0; transition: background-color 0.4s; }
.main-header.scrolled .logo,
.main-header.scrolled .nav-links a {
    color: #333;
}
.main-header.scrolled .hamburger-menu .bar {
    background-color: #333;
}
.close-nav-btn {
    display: none !important;
}

/* --- Hero Section Styles --- */
.hero-section { 
    height: 100vh;
    padding-top: 80px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-background.jpg'); 
    background-size: cover; background-position: center; background-attachment: fixed; 
    display: flex; justify-content: center; align-items: center; text-align: center; color: white; 
}
.hero-text h1 { font-size: 3.5rem; font-weight: 700; max-width: 800px; padding: 0 20px; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); }

/* --- Shared Section Styles --- */
.featured-section, .gallery-section, .transformations-section, .inspiration-section, .sustainability-section, .blog-list-section, .contact-section, .faq-section, .quote-form-section { 
    padding: 4rem 2rem; 
}
.featured-section, .inspiration-section, .blog-list-section, .faq-section, .quote-form-section { background-color: #fff; }
.gallery-section { background-color: #f4f4f4; }
.transformations-section { position: relative; } 
.transformations-section, .sustainability-section { background-color: #f0f4f8; }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; font-weight: 300; color: #333; text-align: center; }

/* --- Product Grid Styles --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.product-card { background-color: #ffffff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-card .btn { display: inline-block; background-color: #333; color: #fff; padding: 0.75rem 1.5rem; margin: 0 1.5rem 1.5rem 1.5rem; text-decoration: none; border-radius: 4px; transition: background-color 0.3s ease; }
.product-card .btn:hover { background-color: #555; }

/* --- Gallery Filter Styles --- */
.filter-container { margin-bottom: 3rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn { background-color: #fff; border: 1px solid #ddd; border-radius: 20px; padding: 0.7rem 1.5rem; cursor: pointer; font-size: 0.9rem; transition: all 0.3s ease; }
.filter-btn:hover, .filter-btn.active { background-color: #333; color: #fff; border-color: #333; }

/* --- Transformations Slider (SwiperJS) Styles --- */
.transformation-slider.swiper { max-width: 1100px; margin-left: auto; margin-right: auto; position: relative; overflow: hidden; list-style: none; padding: 0; z-index: 1; }
.transformation-slider .swiper-slide { display: flex; justify-content: center; align-items: center; padding: 1rem; }
.transformation-card { background-color: #ffffff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); text-align: left; overflow: hidden; width: 100%; transition: transform 0.3s ease; }
.transformation-card:hover { transform: translateY(-5px); }
.transformation-card img-comparison-slider { width: 100%; height: 300px; object-fit: cover; }
.transformation-card img-comparison-slider img { width: 100%; height: 100%; object-fit: cover; }
.transformation-card h3 { font-size: 1.2rem; margin: 1rem 1.2rem 0.5rem 1.2rem; }
.transformation-card p { font-size: 0.9rem; color: #666; margin: 0 1.2rem 1.2rem 1.2rem; }
.swiper-button-prev, .swiper-button-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background-color: rgba(255, 255, 255, 0.9); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.15); z-index: 10; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333; transition: all 0.3s ease; }
.swiper-button-prev:hover, .swiper-button-next:hover { background-color: #fff; transform: translateY(-50%) scale(1.1); }
.swiper-button-prev { left: calc(50% - 600px); }
.swiper-button-next { right: calc(50% - 600px); }
.swiper-button-prev:after, .swiper-button-next:after { font-family: swiper-icons; font-size: 18px; font-weight: bold; }
.swiper-button-prev:after { content: 'prev'; }
.swiper-button-next:after { content: 'next'; }

/* --- Sustainability Section Styles --- */
.sustainability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; text-align: left; }
.sustainability-feature i { font-size: 2rem; color: #2c5b3d; margin-bottom: 1rem; }
.sustainability-feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* --- Inspiration Section Styles --- */
.inspiration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.inspiration-card { position: relative; display: block; height: 400px; border-radius: 8px; overflow: hidden; text-decoration: none; transition: transform 0.4s ease; }
.inspiration-card:hover { transform: scale(1.05); }
.inspiration-card img { width: 100%; height: 100%; object-fit: cover; }
.inspiration-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%); display: flex; align-items: flex-end; padding: 2rem; transition: background-color 0.4s ease; }
.inspiration-card:hover .inspiration-overlay { background: rgba(0,0,0,0.6); }
.inspiration-card h3 { color: white; font-size: 2rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }

/* --- Product Detail Page Styles --- */
.product-detail-container { max-width: 1100px; margin: 4rem auto; padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; background-color: #fff; border-radius: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.07); }
.product-viewer img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.product-info h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.product-info .product-category { font-size: 1.1rem; color: #888; margin-bottom: 1.5rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.product-info .product-description { line-height: 1.8; color: #555; margin-bottom: 2rem; }
.product-info .btn { display: inline-block; background-color: #2c5b3d; color: #fff; padding: 1rem 2rem; text-decoration: none; border-radius: 5px; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; }
.product-info .btn:hover { background-color: #3d7c55; transform: translateY(-2px); }

/* --- Blog Pages Styles --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.blog-card { background-color: #fff; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.blog-card-image-link img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.blog-card-image-link:hover img { transform: scale(1.05); }
.blog-card-content { padding: 1.5rem; text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 0.8rem; color: #888; margin-bottom: 0.5rem; }
.blog-card-content h3 { font-size: 1.4rem; margin-bottom: 1rem; line-height: 1.4; }
.blog-card-content h3 a { text-decoration: none; color: #333; transition: color 0.3s ease; }
.blog-card-content h3 a:hover { color: #2c5b3d; }
.blog-card-excerpt { color: #666; font-size: 0.9rem; flex-grow: 1; margin-bottom: 1.5rem; }
.btn-read-more { text-decoration: none; color: #2c5b3d; font-weight: bold; font-size: 0.9rem; align-self: flex-start; }
.btn-read-more i { margin-left: 0.5rem; transition: transform 0.3s ease; }
.btn-read-more:hover i { transform: translateX(5px); }
.blog-post-container { max-width: 800px; margin: 4rem auto; padding: 3rem; background-color: #fff; border-radius: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.07); }
.blog-post-header { text-align: center; margin-bottom: 2rem; }
.blog-post-header h1 { font-size: 2.8rem; margin-bottom: 1rem; line-height: 1.2; }
.blog-post-meta { color: #888; font-size: 0.9rem; }
.blog-post-featured-image { margin: 2.5rem 0; }
.blog-post-featured-image img { width: 100%; border-radius: 8px; }
.blog-post-content { font-size: 1.1rem; line-height: 1.8; color: #444; }
.blog-post-content p { margin-bottom: 1.5rem; }
.back-to-blog-link { margin-bottom: 2rem; font-size: 0.9rem; }
.back-to-blog-link a { text-decoration: none; color: #555; font-weight: 600; transition: color 0.3s ease; }
.back-to-blog-link a:hover { color: #2c5b3d; }
.back-to-blog-link i { margin-right: 0.5rem; }

/* --- FAQ Page Styles (Accordion Version) --- */
.faq-section .section-title { max-width: 800px; margin-left: auto; margin-right: auto; text-align: left; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-question { width: 100%; background: none; border: none; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; font-size: 1.2rem; font-weight: 600; color: #333; }
.faq-question:hover { color: #2c5b3d; }
.faq-question i { transition: transform 0.3s ease; font-size: 0.9rem; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-answer p { color: #555; line-height: 1.8; padding: 0 0 1.5rem 0; }

/* --- Quote Form Styles --- */
.quote-form-section .section-title, .section-subtitle { text-align: left; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-subtitle { margin-top: -2rem; margin-bottom: 3rem; }
.form-container { max-width: 800px; margin: 0 auto; text-align: left; }
.form-container fieldset { border: none; border-radius: 12px; padding: 2rem; margin-bottom: 2rem; background-color: #ffffff; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02), 0 4px 10px rgba(0,0,0,0.08); transition: box-shadow 0.3s ease; }
.form-container fieldset:focus-within { box-shadow: inset 0 2px 4px rgba(0,0,0,0.02), 0 4px 12px rgba(44, 91, 61, 0.15); }
.form-container legend { padding: 0 0.5rem; font-weight: 600; color: #333; }
.form-container .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.form-container .form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-container label { margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.form-container input, .form-container textarea { padding: 0.8rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }
.form-container button { margin-top: 1rem; background-color: #2c5b3d; color: #fff; padding: 1rem 2.5rem; border: none; }
.form-success-message { padding: 2rem; background-color: #e8f5e9; text-align: center; border-radius: 8px; border-left: 5px solid #4caf50; }
.form-success-message h3 { margin-bottom: 1rem; }
.form-success-message .btn-secondary { display: inline-block; margin-top: 1.5rem; padding: 0.8rem 1.8rem; background-color: #ffffff; color: #444; border: 1px solid #ddd; border-bottom: 3px solid #ccc; text-decoration: none; border-radius: 6px; font-weight: 600; transition: all 0.15s ease-out; }
.form-success-message .btn-secondary:hover { background-color: #f8f8f8; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.form-success-message .btn-secondary:active { transform: translateY(1px); border-bottom: 2px solid #ccc; box-shadow: none; }
.form-error-message { padding: 1rem; background-color: #fee2e2; color: #991b1b; text-align: center; margin-bottom: 1.5rem; border-radius: 4px; }

/* --- Contact Section & Footer Styles --- */
.contact-section { padding: 4rem 2rem; background-color: #f9f9f9; }
.contact-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; text-align: left; }
.contact-form form { display: flex; flex-direction: column; }
.contact-form label { margin-bottom: 0.5rem; font-weight: bold; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.8rem; margin-bottom: 1.5rem; border: 1px solid #ccc; border-radius: 4px; }
.contact-form button { border: none; cursor: pointer; background-color: #333; color: #fff; padding: 1rem 2rem; border-radius: 4px; transition: background-color 0.3s ease; font-size: 1rem; font-weight: bold; }
.contact-form button:hover { background-color: #555; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #333; }
.contact-info p { margin-bottom: 2rem; color: #666; }
.google-map iframe { width: 100%; height: 300px; border-radius: 4px; border: none; }
.main-footer { background-color: #222; color: #ccc; text-align: left; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; padding: 3rem 2rem; max-width: 1200px; margin: 0 auto; }
.footer-section h3 { font-size: 1.8rem; color: #fff; margin-bottom: 1rem; font-weight: 400; }
.footer-about .logo-text { font-weight: 700; }
.footer-socials a { color: #ccc; text-decoration: none; font-size: 1.2rem; margin-right: 1rem; transition: color 0.3s ease; }
.footer-socials a:hover { color: #fff; }
.newsletter-form { display: flex; }
.newsletter-form input { width: 100%; padding: 0.8rem; border: 1px solid #555; background-color: #333; color: #fff; border-radius: 4px 0 0 4px; }
.newsletter-form button { padding: 0.8rem 1.5rem; border: none; background-color: #fff; color: #333; cursor: pointer; border-radius: 0 4px 4px 0; font-weight: bold; }
.footer-bottom { background-color: #111; padding: 1rem; font-size: 0.9rem; text-align: center; }

/* --- Back to Top & Messenger Buttons --- */
.back-to-top-btn { position: fixed; bottom: 20px; right: 20px; background-color: #2c5b3d; color: white; width: 50px; height: 50px; border-radius: 50%; display: none; justify-content: center; align-items: center; font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: opacity 0.4s, transform 0.4s; opacity: 0; transform: translateY(10px); z-index: 998; }
.back-to-top-btn.show { display: flex; opacity: 1; transform: translateY(0); }
.messenger-fab { position: fixed; bottom: 80px; right: 20px; background-color: #0084ff; color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; text-decoration: none; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: transform 0.3s ease; z-index: 999; }
.messenger-fab:hover { transform: scale(1.1); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1240px) {
    .swiper-button-prev { left: 20px; }
    .swiper-button-next { right: 20px; }
}
@media (max-width: 991px) { 
    .main-header { padding: 1rem 1.5rem; }
    .section-title, .faq-section .section-title, .quote-form-section .section-title { font-size: 2rem; }
    .featured-section, .gallery-section, .transformations-section, .inspiration-section, .sustainability-section, .blog-list-section, .contact-section, .faq-section, .quote-form-section { padding: 3rem 1rem; }
    .hero-text h1 { font-size: 2.5rem; }
    .contact-container { grid-template-columns: 1fr; }
    .blog-post-container { padding: 1.5rem; margin: 2rem auto; }
    .product-detail-container { grid-template-columns: 1fr; padding: 1.5rem; gap: 2rem; }
    .product-info h1, .blog-post-header h1 { font-size: 2.2rem; }
    .hamburger-menu { display: block; }
    .main-header.scrolled .hamburger-menu .bar { background-color: #333; }
    .nav-links { position: fixed; top: 0; right: 0; background-color: white; width: 80%; height: 100vh; transform: translateX(100%); transition: transform 0.5s ease-out; box-shadow: -5px 0 15px rgba(0,0,0,0.2); z-index: 1001; }
    .close-nav-btn { display: block !important; position: absolute; top: 1rem; right: 1.5rem; font-size: 2.5rem; color: #333; cursor: pointer; font-weight: 300; }
    .nav-links.active { transform: translateX(0); }
    .nav-links ul { flex-direction: column; width: 100%; text-align: left; padding-top: 5rem; }
    .nav-links ul li { margin: 0; padding: 0; border-bottom: 1px solid #f0f0f0; opacity: 0; transform: translateY(-20px); transition: opacity 0.4s ease, transform 0.4s ease; }
    .nav-links ul li:first-child { border-top: 1px solid #f0f0f0; }
    .nav-links ul li a { display: block; padding: 1.2rem 2rem; transition: background-color 0.2s ease; color: #555; }
    .nav-links ul li a:hover { background-color: #f8f8f8; }
    .nav-links.active ul li { opacity: 1; transform: translateY(0); }
    
    .gallery-section .product-grid.gallery-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
    .gallery-grid .product-card-details h3 { font-size: 0.9rem !important; font-weight: 600; margin: 0.75rem 0.5rem 0.5rem 0.5rem; text-align: left; padding: 0; }
    .gallery-grid .product-card-details p { display: none !important; }
    .gallery-grid .product-stats { padding: 0.5rem 0.75rem !important; font-size: 0.7rem !important; }
    .gallery-grid .product-card .btn { padding: 0.6rem !important; font-size: 0.8rem !important; margin: 0.75rem !important; width: calc(100% - 1.5rem); }
    .gallery-grid .product-card img { height: 180px !important; }
}
@media (max-width: 767px) {
    .swiper-button-prev, .swiper-button-next {
        display: none;
    }
}
@media (max-width: 360px) {
    .main-header { padding: 1rem; }
    .logo { font-size: 1.3rem; }
}

/* --- Gallery Lightbox & No Underline Fix --- */
.product-card-details { flex-grow: 1; display: flex; flex-direction: column; }
.product-text-link, a.product-text-link { text-decoration: none !important; color: inherit !important; display: flex; flex-direction: column; flex-grow: 1; }
.product-card-details h3 { font-size: 1.5rem; margin: 1.5rem 0 0.5rem 0; color: #333; }
.product-card-details p { padding: 0 1.5rem; color: #666; font-size: 0.9rem; margin-bottom: 1rem; flex-grow: 1; }

/* --- EMPTY MESSAGE STYLE --- */
.empty-message { text-align: center; padding: 3rem 1rem; color: #64748b; font-style: italic; width: 100%; }