/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background: #f5f5f5;
}

/* Layout helpers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.section.light {
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

/* GRID SYSTEM */
.grid {
    display: grid;
    gap: 20px;
}

.grid.three {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Topbar & nav */
.topbar {
    background: #222;
    color: #eee;
    font-size: 0.9rem;
}

.topbar-inner,
.nav-inner,
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
}

.nav {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-inner {
    padding: 12px 0;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #0b7a3b;
}

.site-logo {
    height: 100px;        /* perfect header size */
    width: auto;         /* keeps original proportions */
    object-fit: contain;
    display: block;
}


/* HERO — FIXED FULL IMAGE */
.hero {
    width: 100%;
    min-height: 100vh;
    background-image: url('assets/images/hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 80px 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1rem;
    max-width: 480px;
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* MOBILE FIX FOR HERO */
@media (max-width: 900px) {
    .hero {
        background-attachment: scroll;
        min-height: 70vh;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn.primary {
    background: #ffb400;
    color: #222;
}

.btn.primary:hover {
    background: #ffca3a;
}

.btn.outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn.outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn.full {
    width: 100%;
    text-align: center;
}

/* Hero side card */
.hero-card {
    background: #ffffff;
    color: #222;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-card h3 {
    margin-bottom: 8px;
}

.hero-card p {
    margin-bottom: 15px;
}

/* ABOUT IMAGE FIX */
.about-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* SERVICES — NEW UPGRADED SYSTEM */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.service-content p {
    color: #555;
    font-size: 0.95rem;
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    transition: left 0.35s ease;
}

.service-card:hover .slide-overlay {
    left: 0;
}

/* Colour Themes */
.purple { background: #6a1b9a; }
.orange { background: #ef6c00; }
.green { background: #2e7d32; }
.darkgreen { background: #145c2b; }
.red { background: #c62828; }
.brown { background: #5d4037; }

/* GALLERY — DYNAMIC IMAGES */
.gallery-item {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Contact */
.contact {
    background: #ffffff;
}

.contact-list {
    list-style: none;
    margin-top: 15px;
}

.contact-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-list a {
    color: #0b7a3b;
    text-decoration: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.contact-form textarea {
    resize: vertical;
}

.form-status {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #0b7a3b;
}

/* Footer */
.footer {
    background: #222;
    color: #ccc;
    font-size: 0.85rem;
    padding: 15px 0;
}
/* ICON INSIDE OVERLAY */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.45s ease;
    z-index: 3;
}

.slide-overlay i {
    font-size: 2.2rem;
}

/* OVERLAY VISIBLE FIRST */
.service-content {
    opacity: 0;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 2;
}

/* REVEAL CONTENT ON HOVER */
.service-card:hover .service-content {
    opacity: 1;
}

/* SLIDE OVERLAY AWAY ON HOVER */
.service-card:hover .slide-overlay {
    transform: translateX(100%);
}

/* 3D TILT EFFECT */
.service-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: perspective(700px) rotateX(6deg) rotateY(6deg);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* STAGGERED SCROLL ANIMATION */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner,
    .two-col {
        grid-template-columns: 1fr;
    }

    .nav-inner,
    .topbar-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 6px;
    }
}

#services a {
    text-decoration: none;
}

/* ================================
   GALLERY SECTION — PREMIUM UX
================================ */

#gallery {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

/* Image container */
.gallery-grid .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover lift */
.gallery-grid .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Images */
.gallery-grid .gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Smooth zoom on hover */
.gallery-grid .gallery-item:hover img {
    transform: scale(1.08);
}

/* Overlay */
.gallery-grid .gallery-item::after {
    content: "View";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #0b7a3b;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

/* Show overlay on hover */
.gallery-grid .gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox backdrop */
#lightboxOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Lightbox image */
#lightboxOverlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* ================================
   WHY CHOOSE US — PREMIUM UX
================================ */

.why-us {
    padding: 70px 0;
    background: #f7f7f7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.why-card {
    background: #ffffff;
    padding: 25px 22px;
    border-radius: 12px;
    border: 2px solid #0b7a3b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    transform: translateY(20px);
}

/* Fade-up animation when visible */
.why-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effect */
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #d4af37; /* premium gold */
}

.why-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #0b7a3b;
    font-weight: 700;
}

.why-card p {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .why-card {
        padding: 20px;
    }
}
