/* Color Palette:
   Forest Green: #2d6a4f
   Light Green: #40916c
   Earth Brown: #9c6644
   Fresh White: #f8f9fa
   Dark text: #1b4332
*/

:root {
    --forest-green: #2d6a4f;
    --light-green: #40916c;
    --earth-brown: #9c6644;
    --fresh-white: #f8f9fa;
    --dark-text: #1b4332;
    --hover-green: #1b4332;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fresh-white);
    background-image: url('../images/bg-pattern.png');
    background-repeat: repeat;
    background-size: 400px;
    background-attachment: fixed;
    color: var(--dark-text);
    padding-top: 70px; /* Offset for fixed navbar */
}

/* Navbar Classes */
.brand-navbar {
    background-color: rgba(45, 106, 79, 0.85); /* var(--forest-green) transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.brand-navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.3s;
}

.brand-navbar .nav-link:hover {
    color: var(--earth-brown) !important;
}

/* Footer */
.brand-footer {
    background-color: var(--dark-text);
}
.brand-footer a:hover {
    color: #fff !important;
}

/* 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: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(27, 67, 50, 0.7), rgba(27, 67, 50, 0.7)), url('https://images.unsplash.com/photo-1558904541-efa843a96fdd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Buttons */
.btn-primary-brand {
    background-color: var(--earth-brown);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary-brand:hover {
    background-color: #7f5135;
    color: white;
}

.btn-secondary-brand {
    background-color: var(--light-green);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-secondary-brand:hover {
    background-color: var(--hover-green);
    color: white;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--forest-green);
    margin-bottom: 20px;
}

/* Before/After Gallery */
.ba-slider {
    position: relative;
    overflow: hidden;
}

.ba-slider img {
    width: 100%;
    display: block;
}

.resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    cursor: ew-resize;
}

.handle::after {
    content: '< >';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    background: var(--earth-brown);
    color: white;
    padding: 10px;
    border-radius: 50%;
    font-size: 12px;
}

/* Utilities */
.text-brand {
    color: var(--forest-green);
}

.custom-img-shadow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.logo-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo-glass img {
    mix-blend-mode: multiply;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
}

/* Dynamic Editor Content Responsiveness */
.dynamic-content img {
    max-width: 100% !important;
    height: auto !important;
}

.dynamic-content table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    display: block !important;
}

.dynamic-content iframe {
    max-width: 100% !important;
}