*,
*::before,
*::after {
  box-sizing: border-box;
}

/* @font-face rules for locally hosted fonts */
/* Playfair Display Variable Font (for headings) */
@font-face {
  font-family: 'Playfair Display';
  src: url('FONTS/PlayfairDisplay-VariableFont_wght.woff2') format('woff2');
  font-weight: 400 900; /* weight range */
  font-style: normal;
  font-display: swap; /* Best practice for performance */
}

/* Roboto Variable Font (for body text) */
@font-face {
  font-family: 'Roboto';
  src: url('FONTS/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 100 900; /* weight range */
  font-style: normal;
  font-display: swap; /* Best practice for performance */
}

/* Color Palette: */
/* Primary: #34495e */
/* Secondary: #e74c3c */
/* Accent Light: #f39c12 */
/* Gray Shades for Text/Background: #ecf0f1, #bdc3c7, #2c3e50 */
/* White: #ffffff */

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-spacing {
    padding: 60px 0;
}
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #34495e;
    text-align: center;
    margin-bottom: 30px;
}
h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
h2 {
    font-size: 2.8em;
    position: relative;
    padding-bottom: 10px;
}
h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #e74c3c;
    border-radius: 2px;
}
h3 {
    font-size: 2em;
    color: #34495e;
    margin-bottom: 20px;
}
a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #f39c12;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}
.primary-btn {
    background-color: #e74c3c;
    color: #ffffff;
}
.primary-btn:hover {
    background-color: #f39c12;
    transform: translateY(-2px);
    color: #ffffff;
}
.secondary-btn {
    background-color: #34495e;
    color: #ffffff;
}
.secondary-btn:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    color: #ffffff;
}
.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Header */
header {
    background-color: #34495e;
    color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
}
.logo img {
    height: 40px;
    margin-right: 10px;
}
.menu-toggle {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #ffffff;
    padding: 5px;
    z-index: 1001;
}
nav {
    display: block;
}
#main-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    transition: all 0.3s ease-in-out;
}
#main-nav-menu li {
    margin-left: 30px;
}
#main-nav-menu li a {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}
#main-nav-menu li a:hover {
    color: #f39c12;
}
#main-nav-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #f39c12;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}
#main-nav-menu li a.current-section::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    font-weight: 300;
}

/* About Us Section */
.about-section {
    background-color: #ecf0f1;
    text-align: center;
}
.about-section p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Services Section */
.services-section {
    background-color: #ffffff;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
.services-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-grid li {
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #2c3e50;
}
.services-grid li i {
    color: #e74c3c;
    margin-right: 10px;
    font-size: 1.2em;
}

/* Our Work Section */
.work-section {
    background-color: #ecf0f1;
    text-align: center;
}
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.project-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.project-item h3 {
    margin-top: 0;
    color: #e74c3c;
}
.image-pair {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}
.image-pair figure {
    margin: 0;
    flex: 1;
    min-width: 45%;
}
.image-pair img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #bdc3c7;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.image-pair img:hover {
    transform: scale(1.02);
}
.image-pair figcaption {
    margin-top: 10px;
    font-weight: bold;
    color: #34495e;
}

/* --- REFACTORED SLIDER STYLES START --- */
.testimonials-section {
    background-color: #ffffff;
    text-align: center;
}
.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 40px auto 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    /* overflow stays to be safe with animations */
    overflow: hidden;
}
.slides-wrapper {
    /* No longer a flex container, just a simple wrapper */
    position: relative;
    min-height: 250px;
}
.testimonial-slide {
    /* All slides are hidden by default */
    display: none;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.testimonial-slide.active {
    /* The active slide is made visible */
    display: block;
    opacity: 1;
}
.testimonial-card {
    padding: 25px;
    background-color: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #eee;
    width: 100%;
    text-align: left;
}
/* --- REFACTORED SLIDER STYLES END --- */

.testimonial-card .rating {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.2em;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}
.testimonial-card cite {
    display: block;
    font-weight: bold;
    color: #34495e;
    font-style: normal;
}
.slider-dots {
    text-align: center;
    margin-top: 20px;
}
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bdc3c7;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.dot.active {
    background-color: #e74c3c;
}
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    /* Makes controls clickable even though slides are stacked */
    pointer-events: none;
}
.slider-controls button {
    background: rgba(52, 73, 94, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Re-enable clicking on the buttons themselves */
    pointer-events: auto;
}
.slider-controls button:hover {
    background: #e74c3c;
    color: #ffffff;
}

/* Google Reviews Link */
.google-reviews-link {
    margin-top: 30px;
}

/* Contact Section */
.contact-section {
    background-color: #ecf0f1;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}
.contact-info {
    text-align: left;
}
.contact-info h3 {
    text-align: left;
    color: #e74c3c;
    margin-bottom: 25px;
}
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}
.contact-info p i {
    margin-right: 15px;
    color: #34495e;
    font-size: 1.3em;
}
.contact-info p a {
    font-weight: bold;
}
.contact-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #34495e;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}
footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}
footer a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #f39c12;
    text-decoration: none;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
}
.whatsapp-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2.5em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.whatsapp-widget a:hover {
    transform: scale(1.1);
}

/* Lightbox/Modal Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    position: relative;
    text-align: center;
}
#lightbox-img {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    display: block;
    margin: 0 auto;
}
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0,0,0,0.5);
}
.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}
.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(231, 76, 60, 0.8);
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-btn:hover,
.close-btn:focus {
    color: #e74c3c;
    text-decoration: none;
    cursor: pointer;
}


/* Privacy Policy Page Specific Styles */
.privacy-policy-content {
    padding: 60px 0;
}
.privacy-policy-content h1 {
    text-align: left;
}
.privacy-policy-content h2 {
    text-align: left;
    color: #e74c3c;
    font-size: 2.2em;
}
.privacy-policy-content h2::after {
    left: 0;
    transform: none;
}
.privacy-policy-content h3 {
    text-align: left;
    font-size: 1.8em;
}
.privacy-policy-content ul {
    list-style: disc;
    margin-left: 25px;
}
.privacy-policy-content li {
    margin-bottom: 10px;
}

/* Cookie Policy Table Styles */
.cookie-table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
    border-collapse: collapse;
    font-size: 0.9em;
}
.cookie-table th, .cookie-table td {
    border: 1px solid #bdc3c7;
    padding: 10px;
    text-align: left;
}
.cookie-table th {
    background-color: #ecf0f1;
    font-weight: bold;
}
.cookie-table td:first-child, .cookie-table td:nth-child(2) {
    white-space: nowrap;
}


/* ------------------------------------------- */
/* RESPONSIVE DESIGN - MEDIA QUERIES           */
/* ------------------------------------------- */
/* Tablets (landscape) and smaller desktops */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    .section-spacing {
        padding: 40px 0;
    }
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2.2em;
    }
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        align-items: center;
        position: relative;
    }
    .logo {
        margin-bottom: 0;
    }
    .menu-toggle {
        display: block;
        order: 2;
    }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #34495e;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out;
        z-index: 900;
        border-radius: 0 0 8px 8px;
    }
    #main-nav-menu {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    #main-nav-menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    #main-nav-menu li a {
        display: block;
        padding: 5px 0;
        font-size: 1.2em;
    }
    nav.mobile-menu-active {
        max-height: 400px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .hero-section {
        height: 500px;
    }
    .hero-content p {
        font-size: 1.3em;
        margin-bottom: 30px;
    }
    .services-grid {
        display: block;
    }
    .services-grid ul {
        margin-top: 0;
        margin-bottom: 0;
    }
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    .slides-wrapper {
        min-height: 280px;
    }
    .slider-controls button {
        padding: 8px 12px;
        font-size: 1.3em;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-info {
        text-align: center;
    }
    .contact-info h3 {
        text-align: center;
    }
    .contact-info p {
        justify-content: center;
    }
    .contact-map iframe {
        height: 350px;
    }
    footer .container {
        flex-direction: column;
    }
    footer p {
        margin-bottom: 0;
    }
}
/* Mobile Phones (portrait) and smaller tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .section-spacing {
        padding: 30px 0;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.6em;
    }
    .logo {
        font-size: 1.5em;
    }
    .logo img {
        height: 30px;
    }
    .menu-toggle {
        font-size: 1.6em;
    }
    nav.mobile-menu-active {
        max-height: 400px;
    }
    .hero-section {
        height: 400px;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .services-grid li,
    .about-section p,
    .contact-info p {
        font-size: 1em;
    }
    .image-pair {
        flex-direction: column;
        gap: 10px;
    }
    .image-pair img {
        height: 180px;
    }
    .slides-wrapper {
        min-height: 320px;
    }
    .testimonial-slide {
        padding: 15px;
    }
    .testimonial-card p {
        font-size: 0.95em;
    }
    .slider-controls button {
        padding: 6px 10px;
        font-size: 1.1em;
    }
    .slider-controls button.prev-slide {
        margin-left: 5px;
    }
    .slider-controls button.next-slide {
        margin-right: 5px;
    }
    .contact-map iframe {
        height: 300px;
    }
    .whatsapp-widget {
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-widget a {
        width: 50px;
        height: 50px;
        font-size: 2.2em;
    }
    .close-btn {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        margin-top: -30px;
        font-size: 18px;
    }
}
/* Smallest Mobile Phones */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.6em;
    }
    h3 {
        font-size: 1.4em;
    }
    .hero-section {
        height: 350px;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 0.9em;
    }
    .btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }
    .services-grid li,
    .about-section p,
    .testimonial-card p,
    .contact-info p {
        font-size: 0.9em;
    }
    footer p {
        font-size: 0.8em;
    }
}
