/* style.css */

/* ========================================= */
/* ==== LIGHT THEME COLOR PALETTE ==== */
/* ========================================= */
:root {
    --primary-color: #2A6F5B;
    --secondary-color: #22594A;
    --accent-color: #4A9080;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --bg-color: #F8F9FA;
    --glass-card-bg: rgba(255, 255, 255, 0.75); /* No longer used in the same way */
    --glass-card-border: rgba(0, 0, 0, 0.1);
    --glass-card-shadow: rgba(0, 0, 0, 0.08);
    --header-height: 80px;
}

/* =================================== */
/* ==== GENERAL BODY & TYPOGRAPHY ==== */
/* =================================== */
body { font-family: 'Poppins', sans-serif; margin: 0; color: var(--text-color-dark); line-height: 1.6; background-color: var(--bg-color); overflow-x: hidden; scroll-behavior: smooth; padding-top: var(--header-height); box-sizing: border-box; }
body.menu-open { overflow: hidden; }
/* body.menu-open::after { content: ''; position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 1004; transition: opacity 0.4s ease; } */
h1, h2, h3, h4, h5, h6 { font-weight: 700; margin-top: 0; margin-bottom: 0.5em; color: var(--text-color-dark); line-height: 1.2; }
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }
.btn { display: inline-block; background-color: var(--primary-color); color: var(--text-color-light); padding: 12px 25px; border-radius: 30px; margin-top: 15px; transition: all 0.3s ease; font-weight: 600; border: none; text-align: center; cursor: pointer; font-size: 1rem; }
.btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }

/* ============================ */
/* ==== HEADER & FOOTER ==== */
/* ============================ */
header {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    box-sizing: border-box;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.header-logo { height: 50px; width: auto; border-radius: 50%; }
.brand-name { color: var(--text-color-light); font-size: 1.6em; font-weight: 700; }
.brand-name:hover { color: var(--text-color-light); }
.nav-menu { display: flex; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; }
.nav-menu a { color: var(--text-color-light); font-weight: 400; padding: 8px 12px; position: relative; transition: all 0.3s ease; border-radius: 5px; }
.nav-menu a:hover,
.nav-menu a.active { background-color: rgba(255, 255, 255, 0.15); }
.mobile-menu-button { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1010; }
.mobile-menu-button .dot { width: 25px; height: 3px; background-color: var(--text-color-light); border-radius: 2px; transition: all 0.3s ease; }
footer { background-color: var(--secondary-color); color: var(--text-color-light); text-align: center; padding: 20px 5%; font-size: 0.9em; }

/* ============================ */
/* ==== HERO SECTION ==== */
/* ============================ */
#hero { background-image: url('images/background.jpg'); background-size: cover; background-position: center; height: calc(100vh - var(--header-height)); display: flex; justify-content: center; align-items: center; text-align: center; color: var(--text-color-light); position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 0; }
.hero-overlay { z-index: 1; }
.hero-logo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary-color); margin-bottom: 25px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
#hero h1 { font-size: 3.5em; color: var(--text-color-light); text-shadow: 1px 1px 4px rgba(0,0,0,0.7); }
#hero p { font-size: 1.3em; color: #f0f0f0; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }

/* ============================ */
/* ==== GENERAL SECTION STYLING ==== */
/* ============================ */
section { padding: 80px 5%; position: relative; background-attachment: fixed; background-size: cover; background-position: center; min-height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#about-home { background-image: url('images/background2.jpg'); }
#services { background-image: url('images/background3.jpg'); }
#contact-section-home { background-image: url('images/background5.jpg'); }
#contact-page { background-image: url('images/background5.jpg'); }

/* ==== MODIFIED: This rule applies a dark overlay to MOST sections ==== */
section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

/* ==== NEW: This rule REMOVES the overlay for the #about-home section ==== */
#about-home::before {
    background-color: transparent;
}


/* ==== MODIFIED: Removed the glass card and changed text to white with a stronger shadow ==== */
.glass-section .section-card {
    background: transparent;
    border-radius: 0;
    padding: 40px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
    color: var(--text-color-light);
    text-align: center;
    box-sizing: border-box;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.9); /* MODIFIED: Made shadow stronger */
}

/* ==== MODIFIED: Changed heading color to white ==== */
.glass-section h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
    color: var(--text-color-light);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* Added for readability */
}


/* ============================ */
/* ==== SERVICES & CONTACT ==== */
/* ============================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }

.service-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: rgba(0, 0, 0, 0.3);
}

.service-card img { width: 100%; height: 200px; object-fit: cover; display: block; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.service-card .svc-body { padding: 20px; flex-grow: 1; }

.service-card .svc-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-color-light);
    margin-bottom: 10px;
}
.service-card .svc-text {
    font-size: 0.95em;
    color: #e0e0e0;
    line-height: 1.5;
}

.contact-left h3, .contact-center h3, .quick-links h4 {
    color: var(--text-color-light);
}
.quick-links a { color: #dddddd; }
.final-line { color: var(--accent-color); border-top: 1px solid rgba(255,255,255,0.2); }
#contact-section-home .social-btns img { width: 60px; height: 60px; transition: transform 0.3s ease; border-radius: 12px; }
#contact-section-home .social-btns img:hover { transform: scale(1.1); }


/* ============================ */
/* ==== MOBILE & RESPONSIVE ==== */
/* ============================ */
@media (max-width: 992px) {
    header { justify-content: space-between; }
    .mobile-menu-button { display: flex; }
    .nav-menu { display: none; flex-direction: column; position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100vh - var(--header-height)); background-color: var(--primary-color); transform: translateX(100%); transition: transform 0.4s ease-in-out; z-index: 1005; overflow-y: auto; }
    .nav-menu[aria-hidden="false"] { display: flex; transform: translateX(0); }
    .nav-menu ul { flex-direction: column; align-items: center; padding: 20px 0; }
    .nav-menu ul li { margin: 10px 0; width: 100%; text-align: center; }
    .nav-menu ul li a { display: block; padding: 15px 20px; font-size: 1.2em; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: white; }
    .nav-menu ul li:last-child a { border-bottom: none; }
    .nav-menu ul li a:hover, .nav-menu ul li a.active { background-color: var(--secondary-color); color: var(--text-color-light); }
}
@media (max-width: 768px) {
    #hero h1 { font-size: 2.5em; }
    #hero p { font-size: 1em; }
    .hero-logo { width: 120px; height: 120px; }
    .glass-section h2 { font-size: 2em; }
    .glass-section .section-card { padding: 30px; }
    .about-content-grid, .contact-section-home .inner, #contact-page .inner { grid-template-columns: 1fr; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .social-btns, .btn-area { justify-content: center; }
    .brand-name { font-size: 1.3em; }
    .header-logo { height: 40px; }
}
@media (max-width: 480px) {
    header { padding: 10px 3%; }
    #hero h1 { font-size: 2em; }
    #hero p { font-size: 0.9em; }
    .hero-logo { width: 100px; height: 100px; }
    section { padding: 60px 3%; }
    .glass-section .section-card { padding: 25px; }
    .glass-section h2 { font-size: 1.8em; }
    .contact-left h3, .contact-center h3, .quick-links h4 { font-size: 1.4em; }
    /* .brand-name { display: none; } */
}