/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: #333; background-color: #fcfcfc; overflow-x: hidden; padding-top: 150px; /* INCREASED padding for larger navbar */ }
h1, h2, h3 { font-family: 'Playfair Display', serif; color: #1a1a1a; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================
   2. SMART NAVBAR (LARGER LOGO)
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 5px solid #c05c26;
    transition: transform 0.4s ease-in-out, padding 0.3s ease;
}

.navbar.scroll-down { transform: translateY(-100%); }
.navbar.scroll-up { transform: translateY(0); padding: 10px 5%; }

.logo-link { display: flex; align-items: center; }

/* INCREASED LOGO SIZE */
.nav-logo {
    height: 140px; /* Bigger Logo */
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.navbar.scroll-up .nav-logo { height: 100px; /* Slightly smaller on scroll */ }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #333; padding: 10px 0; position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0; background-color: #c05c26; transition: width 0.3s ease-out; }
.nav-links a:hover { color: #c05c26; }
.nav-links a:hover::after { width: 100%; }

/* DROPDOWN MENU */
.dropdown { position: relative; display: inline-block; }
.dropbtn i { font-size: 0.8rem; margin-left: 5px; transition: transform 0.3s; }
.dropdown:hover .dropbtn i { transform: rotate(180deg); }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.1);
    z-index: 1;
    top: 100%;
    left: 0;
    border-top: 3px solid #c05c26;
    border-radius: 0 0 4px 4px;
    animation: fadeIn 0.3s ease;
}
.dropdown-content a { color: #444; padding: 15px 20px; text-decoration: none; display: block; font-size: 0.9rem; border-bottom: 1px solid #f5f5f5; text-transform: capitalize; }
.dropdown-content a:hover { background-color: #fff8f5; color: #c05c26; padding-left: 25px; }
.dropdown:hover .dropdown-content { display: block; }

/* BURGER */
.burger { display: none; cursor: pointer; }
.burger div { width: 30px; height: 3px; background-color: #333; margin: 6px; transition: all 0.3s ease; }

/* =========================================
   3. SECTIONS
   ========================================= */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.project-hero { height: 70vh; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.hero-content { z-index: 1; padding: 0 20px; animation: fadeInUp 1s ease-out; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; color: white; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; font-weight: 300; }
.project-tag { background: #c05c26; padding: 5px 15px; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px; display: inline-block; letter-spacing: 1px; }
.btn-primary { padding: 12px 30px; background-color: #c05c26; color: white; text-transform: uppercase; letter-spacing: 1px; border: none; transition: background 0.3s ease; display: inline-block; }
.btn-primary:hover { background-color: #a0491b; }
.section-padding { padding: 80px 5%; }
.bg-light { background-color: #f4f4f4; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.line { width: 60px; height: 3px; background-color: #c05c26; margin: 0 auto; }
.about-content { text-align: center; max-width: 900px; margin: 0 auto; font-size: 1.1rem; color: #555; }
.features-row { display: flex; justify-content: space-between; gap: 30px; margin-top: 40px; text-align: center; }
.feature-box { flex: 1; padding: 20px; background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-radius: 5px; }
.feature-box i { font-size: 2rem; color: #c05c26; margin-bottom: 15px; }

/* PROJECT GRID */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.project-card-link { display: block; transition: transform 0.4s ease; }
.project-card-link:hover { transform: translateY(-10px); }
.project-card { background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; border-radius: 5px; height: 100%; }
.card-image { height: 250px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .card-image img { transform: scale(1.1); }
.badge { position: absolute; top: 20px; right: 20px; background-color: #c05c26; color: white; padding: 5px 15px; font-size: 0.8rem; text-transform: uppercase; font-weight: 600; }
.badge.upcoming { background-color: #1a1a1a; }
.card-info { padding: 25px; }
.card-info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.location { color: #777; font-size: 0.9rem; margin-bottom: 15px; }
.desc { font-size: 0.95rem; color: #555; margin-bottom: 20px; }
.btn-text { color: #c05c26; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }

/* FLOOR PLAN SLIDER */
.floor-plans-section { padding: 80px 0; background: #f9f9f9; overflow: hidden; }
.floor-plan-container { display: flex; gap: 30px; overflow-x: auto; padding: 40px 5%; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.floor-plan-container::-webkit-scrollbar { height: 8px; }
.floor-plan-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.plan-card { width: 300px; min-width: 300px; flex: 0 0 auto; position: relative; background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.08); transition: transform 0.3s ease; cursor: pointer; border: 1px solid #eee; }
.plan-card:hover { transform: translateY(-10px); }
.plan-card img { width: 100%; height: 300px; object-fit: contain; background: #fff; padding: 10px; }
.plan-info { text-align: center; padding: 15px; background: #fff; border-top: 1px solid #eee; }
.plan-info h3 { font-size: 1.1rem; margin-bottom: 5px; color: #333; }
.enlarge-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(192, 92, 38, 0.85); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; color: white; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.plan-card:hover .enlarge-overlay { opacity: 1; }

/* GALLERY & SPECS */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 5px; transition: transform 0.3s; }
.gallery-grid img:hover { transform: scale(1.02); }
.two-col-layout { display: flex; gap: 50px; flex-wrap: wrap; }
.col { flex: 1; min-width: 300px; }
.col h3 { margin-bottom: 20px; font-size: 1.8rem; border-left: 4px solid #c05c26; padding-left: 15px; }
.specs-list { list-style: none; }
.specs-list li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; font-size: 1rem; color: #555; }
.specs-list li i { color: #c05c26; width: 25px; margin-right: 10px; }

/* MAP SECTION */
.map-section { padding: 80px 5%; background: #fff; }
.map-container { position: relative; width: 100%; height: 600px; background: #f0f0f0; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.map-container iframe { width: 100%; height: 100%; border: 0; }
.map-card-overlay { position: absolute; top: 30px; left: 30px; background: white; padding: 25px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); max-width: 350px; z-index: 10; }
.map-card-overlay h3 { font-size: 1.3rem; margin-bottom: 8px; color: #c05c26; }
.map-card-overlay p { font-size: 0.95rem; color: #555; margin-bottom: 15px; line-height: 1.5; }
.view-map-link { font-size: 0.8rem; color: #1a73e8; text-decoration: none; font-weight: 600; }
.view-map-link:hover { text-decoration: underline; }

/* FOOTER */
footer { background-color: #1a1a1a; color: white; padding: 60px 5% 20px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
/* LARGER FOOTER LOGO */
.footer-logo { height: 150px; width: auto; margin-bottom: 15px; border-radius: 4px; }
.footer-col h4 { color: #c05c26; margin-bottom: 15px; text-transform: uppercase; }
.footer-col p { color: #aaa; margin-bottom: 10px; }
.social-links { margin-top: 20px; }
.social-icon { display: inline-flex; justify-content: center; align-items: center; width: 45px; height: 45px; background: rgba(255,255,255,0.1); color: white; border-radius: 50%; text-decoration: none; transition: all 0.3s ease; font-size: 1.4rem; }
.social-icon:hover { background: #c05c26; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(192, 92, 38, 0.4); }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.8rem; color: #666; }

/* MODAL */
.modal { display: none; position: fixed; z-index: 2000; padding-top: 50px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); }
.modal-content { margin: auto; display: block; max-width: 90%; max-height: 85vh; object-fit: contain; animation: zoomIn 0.3s; }
.close-modal { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; }
@keyframes zoomIn { from {transform: scale(0.8); opacity: 0} to {transform: scale(1); opacity: 1} }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .burger { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; flex-direction: column; align-items: flex-start; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 2px solid #c05c26; }
    .nav-links.nav-active { display: flex; }
    .nav-links a { width: 100%; padding: 15px 0; border-bottom: 1px solid #eee; }
    .hero-content h1 { font-size: 2.5rem; }
    .project-grid { grid-template-columns: 1fr; }
    /* Mobile Logo Adjustment */
    .nav-logo { height: 90px; }
    .navbar.scroll-up .nav-logo { height: 75px; }
    .features-row { flex-direction: column; }
    .dropdown-content { position: static; box-shadow: none; border-top: none; padding-left: 20px; background: #f9f9f9; width: 100%; display: none; }
    .dropdown.active .dropdown-content { display: block; }
    .map-card-overlay { position: relative; top: 0; left: 0; max-width: 100%; box-shadow: none; border-bottom: 1px solid #eee; }
    .map-container { display: flex; flex-direction: column; height: auto; }
    .map-container iframe { height: 400px; }
}