/* ============================
   GENERAL RESET
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* ============================
   HEADER (Transparent Overlay)
============================ */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: transparent; /* No white background */
    z-index: 10;
}

header .logo {
    font-size: 20px;
    font-weight: bold;
}

header .logo img {
    width: 150px;
    height: auto;
}

header nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap; /* allow wrapping on smaller widths */
    justify-content: flex-end;
}

header nav a {
    color: white; /* White nav text over hero image */
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #FFBABA; /* Soft pink hover */
}

/* ============================
   HERO SECTION (Full Background)
============================ */
#hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-img {
    position: absolute;
    top: -80px; /* Raises image to hide header area */
    left: 0;
    width: 100%;
    height: calc(100% + 80px);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35); /* Darker overlay for readability */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    background-color: rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 20px;
    font-weight: 800;
    margin-top: 15px;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
    background-color: rgba(0,0,0,0.3);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
}

/* ============================
   HERO BUTTON
============================ */
#hero button {
    padding: 14px 35px;
    font-size: 18px;
    background-color: #D32F2F;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s;
}

#hero button:hover {
    background-color: #B71C1C;
    transform: scale(1.05);
}

/* ============================
   HERO SEARCH BAR SIZE (UPDATED)
============================ */
.hero-search {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-search select,
.hero-search input {
    flex: 1; /* Makes all same width */
    min-width: 220px; /* Prevents shrinking too much */
    height: 50px;
    font-size: 18px;
    padding: 0 15px;
    border-radius: 6px;
    border: none;
}

.hero-search button {
    background: #D32F2F;
    color: #fff;
    padding: 0 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.hero-search button:hover {
    background-color: #B71C1C;
    transform: scale(1.05);
}

/* ============================
   HERO SUBTITLE (DHA-registered since 2012)
============================ */
.hero-subtitle {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

/* ============================
   SERVICES SECTION
============================ */
#services {
    padding: 80px 50px;
    text-align: center;
    background-color: white;
}

#services h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #D32F2F;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    width: 280px;
    background-color: white;
    padding: 30px 20px;
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.15);
}

.service img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #D32F2F;
}

.service p {
    font-size: 16px;
    color: #333333;
}

/* ============================
   FEATURED PROPERTIES SECTION
============================ */
#featured-properties {
    padding: 80px 50px;
    text-align: center;
}

#featured-properties h2 {
    color: #D32F2F;
    margin-bottom: 40px;
}

.properties-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.property-card {
    width: 300px;
    background-color: white;
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.15);
}

.property-card h3 {
    margin: 15px 0 10px;
    color: #D32F2F;
}

.property-card p {
    margin-bottom: 15px;
    color: #333333;
}

/* ============================
   BROWSE PROPERTIES SECTION
============================ */
#browse-properties {
    padding: 80px 50px;
    background-color: #f8f8f8;
    text-align: center;
}

#browse-properties h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #D32F2F;
}

.browse-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.browse-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px 25px;
    width: 300px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.browse-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.12);
}

.browse-card h3 {
    color: #D32F2F;
    font-size: 22px;
    margin-bottom: 15px;
}

.browse-options button {
    display: inline-block;
    background-color: #f3f3f3;
    border: none;
    border-radius: 8px;
    color: #333;
    padding: 10px 14px;
    margin: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.browse-options button:hover {
    background-color: #D32F2F;
    color: white;
}

/* ============================
   EXPLORE MORE SECTION
============================ */
#explore-more {
    padding: 80px 50px;
    text-align: center;
    background-color: white;
}

#explore-more h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #D32F2F;
}

.explore-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.explore-card {
    width: 250px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.15);
}

.explore-card h4 {
    color: #D32F2F;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.explore-card p {
    color: #333;
    font-size: 14px;
}

/* Color themes for Explore cards */
.explore-card.yellow { background: #fff8e1; }
.explore-card.blue { background: #e3f2fd; }
.explore-card.green { background: #e8f5e9; }
.explore-card.pink { background: #fce4ec; }
.explore-card.teal { background: #e0f2f1; }
.explore-card.purple { background: #f3e5f5; }
.explore-card.orange { background: #fff3e0; }
.explore-card.gray { background: #f5f5f5; }

/* ============================
   CLIENT FEEDBACK SECTION
============================ */
#client-feedback {
    padding: 80px 50px;
    background-color: #f8f8f8;
    text-align: center;
}

#client-feedback h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #D32F2F;
}

.feedback-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feedback-card {
    background-color: white;
    width: 300px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.15);
}

.feedback-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 18px;
    color: #D32F2F;
    margin-bottom: 5px;
}

.client-details p {
    font-size: 14px;
    color: #777;
}

/* ============================
   ABOUT SECTION
============================ */
#about {
    padding: 80px 50px;
    background-color: white;
    text-align: center;
}

#about h2 {
    color: #D32F2F;
    margin-bottom: 20px;
}

#about p {
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================
   CONTACT SECTION
============================ */
#contact {
    padding: 80px 50px;
    text-align: center;
}

#contact h2 {
    color: #D32F2F;
    margin-bottom: 40px;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact input, 
#contact textarea {
    width: 300px;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#contact button {
    padding: 14px 35px;
    font-size: 16px;
    background-color: #D32F2F;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
    border-radius: 6px;
}

#contact button:hover {
    background-color: #B71C1C;
    transform: scale(1.02);
}

/* ============================
   FOOTER
============================ */
footer {
    padding: 20px 50px;
    text-align: center;
    background-color: #D32F2F;
    color: white;
}

/* ============================
   RESPONSIVE DESIGN
============================ */

/* Medium screens (tablets / small laptops) */
@media (max-width: 992px) {
    #services,
    #featured-properties,
    #browse-properties,
    #explore-more,
    #client-feedback,
    #about,
    #contact {
        padding: 60px 30px;
    }

    .services-container, 
    .properties-grid,
    .browse-grid,
    .explore-grid,
    .feedback-container {
        flex-direction: column;
        align-items: center;
    }

    .service,
    .property-card,
    .browse-card,
    .explore-card,
    .feedback-card {
        width: 100%;
        max-width: 420px;
    }

    header {
        padding: 15px 25px;
        background: rgba(0,0,0,0.6);
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    header .logo img {
        width: 120px;
    }

    header nav {
        justify-content: flex-start;
        gap: 15px;
        flex-wrap: wrap;
    }

    header nav a {
        color: #fff;
        font-size: 14px;
    }

    #hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 34px;
        padding: 8px 15px;
    }

    .hero-content p {
        font-size: 18px;
        padding: 5px 10px;
    }

    /* Responsive fix for search bar */
    .hero-search {
        flex-wrap: wrap;
    }

    .hero-search select,
    .hero-search input,
    .hero-search button {
        min-width: 200px;
    }
}

/* Small screens (phones) */
@media (max-width: 600px) {
    header {
        padding: 10px 15px;
        align-items: center;
    }

    header .logo img {
        width: 90px;
    }

    header nav {
        justify-content: center;
        gap: 10px;
    }

    header nav a {
        font-size: 13px;
    }

    #hero {
        height: 75vh;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 16px;
    }

    #services,
    #featured-properties,
    #browse-properties,
    #explore-more,
    #client-feedback,
    #about,
    #contact,
    footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .service,
    .property-card,
    .browse-card,
    .explore-card,
    .feedback-card {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .hero-search {
        flex-direction: column;
        align-items: center;
    }

    .hero-search select,
    .hero-search input,
    .hero-search button {
        width: 100%;
        min-width: 0;
        margin: 5px 0;
    }

    #contact input, 
    #contact textarea {
        width: 100%;
    }
}
