/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background: url("images/hero.png") center center fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

/* NAVBAR */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: white;
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo {
    color: green;
}

nav a {
    color: green;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
}

/* BUTTON */
.btn {
    background: #28a745;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #218838;
}

/* HERO */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.small-hero {
    height: 50vh;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
}

.hero p {
    margin: 15px 0;
    font-size: 20px;
}

/* ===== GLASS SECTIONS (FULLY TRANSPARENT) ===== */

.services,
.why,
.gallery,
.contact {
    background: transparent;
    backdrop-filter: blur(6px);
    margin: 40px auto;
    width: 90%;
    border-radius: 18px;
    padding: 60px;
}

.services h2,
.gallery h2,
.contact h2,
.why h2 {
    margin-bottom: 30px;
}

/* GRID LAYOUTS */
.service-grid,
.gallery-grid,
.contact-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* CARDS (GLASS DARK STYLE) */
.card,
.contact-card {
    background: rgba(0,0,0,0.35);
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover,
.contact-card:hover {
    transform: translateY(-5px);
}

/* GALLERY */
.gallery-item img {
    width: 100%;
    border-radius: 10px;
}

/* BEFORE / AFTER */
.before-after {
    margin-top: 40px;
    text-align: center;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.before-after-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.before-label {
    font-weight: bold;
    margin-bottom: 5px;
}

/* CTA */
.cta {
    padding: 80px 40px;
    text-align: center;
    background: #0f3d1e;
    color: white;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: white;
    color: green;
}

/* FLOATING BUTTON */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

/* ANIMATIONS */
.card,
.contact-card,
.gallery-item {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    nav {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 28px;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
    }
}