/* --- Global Styles & Typography --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; line-height: 1.6; color: #333; background-color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

/* Global rule for all headings: lowercase and regular weight (not bold) to match the Dwello logo */
h1, h2, h3, h4 { text-transform: lowercase; font-weight: 400; color: #2C4B5E; }

.section-title { text-align: center; font-size: 3rem; margin-bottom: 10px; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }

/* --- Navigation --- */
.navbar { background: #fff; padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.flex-nav { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; }
/* Menu links set to lowercase to match brand aesthetic */
.nav-links a { text-decoration: none; color: #2C4B5E; font-weight: 700; transition: color 0.3s; text-transform: lowercase; }
.nav-links a:hover { color: #8DB28F; }
.btn-nav { background: #2C4B5E; color: #fff !important; padding: 10px 20px; border-radius: 5px; font-weight: 600; }

/* --- Hero Section (Positioned Higher) --- */
.hero { 
    background: url('https://unsplash.com/photos/mziiNf5jjyY/download?w=1600') no-repeat center center; 
    background-size: cover; 
    height: 85vh; 
    display: flex; 
    /* Changed from flex-end to flex-start to move text up */
    align-items: flex-start; 
    /* Padding-top controls exactly how high the text sits */
    padding-top: 450px; 
    color: #fff; 
}



.hero .container { text-align: left; width: 100%; padding-top: 5vh; } /* Nudges text slightly down to sit perfectly on the cushions */

/* Fluid Typography: Scales smoothly between 3.5rem (small screens) and 5.5rem (large screens) */
.hero h1 { 
    font-size: clamp(3.5rem, 6vw, 5.5rem); 
    margin-bottom: 20px; 
    line-height: 1.05; 
    letter-spacing: -2px; 
    color: #fff; 
    text-shadow: 0px 4px 15px rgba(0,0,0,0.3); /* Invisible drop shadow for legibility */
}
.highlight { color: #8DB28F; }

.hero p { 
    font-size: clamp(1rem, 1.5vw, 1.25rem); /* Fluid scaling for paragraph */
    margin-bottom: 40px; 
    max-width: 550px; 
    font-weight: 600; 
    opacity: 0.95; 
    text-shadow: 0px 2px 10px rgba(0,0,0,0.4); 
}

/* The Hero Button */
.btn-primary { background: #8DB28F; color: #fff; padding: 15px 35px; border-radius: 5px; text-decoration: none; font-weight: 700; font-size: 1.2rem; transition: transform 0.3s; display: inline-block; text-transform: lowercase; box-shadow: 0px 4px 15px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: scale(1.05); }

/* --- 3 Core Values / About Section --- */
.bg-light { background-color: #f0f4f8; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: #fff; padding: 40px 30px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #eee; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.card p { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; font-weight: 600; }
.read-more { color: #8DB28F; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: color 0.3s; display: inline-block; text-transform: lowercase; }
.read-more:hover { color: #2C4B5E; }

/* --- Property Grid --- */
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.property-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease; border: 1px solid #eee; }
.property-card:hover { transform: translateY(-10px); }
.property-image { height: 240px; position: relative; background-color: #e2e8f0; background-size: cover; background-position: center; }

/* Placeholder Images for Properties */
.img-1 { background-image: url('https://images.unsplash.com/photo-1598928506311-c55ded91a20c?auto=format&fit=crop&w=500&q=60'); }
.img-2 { background-image: url('https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=500&q=60'); }
.img-3 { background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=500&q=60'); }

.badge { position: absolute; top: 15px; left: 15px; background: #2C4B5E; color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: lowercase; letter-spacing: 0.5px; }
.property-info { padding: 25px; }
.price { font-size: 1.6rem; font-weight: 700; color: #8DB28F; }
.period { font-size: 0.9rem; color: #999; font-weight: 600; }
.property-info h4 { margin: 10px 0 5px; font-size: 1.5rem; }
.property-info p { color: #777; font-size: 0.95rem; margin-bottom: 20px; font-weight: 600; }
.btn-card { display: block; width: 100%; text-align: center; padding: 12px; border: 2px solid #2C4B5E; color: #2C4B5E; text-decoration: none; font-weight: 700; border-radius: 8px; transition: all 0.3s; text-transform: lowercase; }
.btn-card:hover { background: #2C4B5E; color: #fff; }

/* --- Waiting List CTA --- */
.waiting-list-cta { margin-top: 60px; background: #E9F0EC; padding: 40px; border-radius: 15px; text-align: center; }
.waiting-list-cta h3 { margin-bottom: 10px; font-size: 1.8rem; }
.btn-secondary { display: inline-block; margin-top: 20px; color: #2C4B5E; text-decoration: underline; font-weight: 700; text-transform: lowercase; }

/* --- Footer --- */
.footer { text-align: center; padding: 60px 0; color: #999; font-size: 0.9rem; border-top: 1px solid #eee; }
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; opacity: 0.6; filter: grayscale(100%); }

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    /* Pure image on mobile too, vertically centered */
    .hero { height: 65vh; background: url('https://unsplash.com/photos/77JACslA8G0/download?w=800') no-repeat center center; background-size: cover; align-items: center; padding-bottom: 0; }
    .hero .container { padding-top: 0; }
    .hero h1 { font-size: clamp(2.8rem, 10vw, 3.5rem); letter-spacing: -1px; }
    .hero p { font-size: 1.1rem; }
    .nav-links { display: none; }
    .card { padding: 30px 20px; }
}
/* --- Holding Page Specific Styles --- */
.holding-page { background-color: #fefefe; }
.holding-container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

.minimal-header { margin-bottom: 60px; }
.minimal-header .logo-img { height: 60px; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* Left Text Section */
.text-section h1 { font-size: 3.5rem; margin-bottom: 20px; color: #111; font-weight: 800; letter-spacing: -1px; }
.lead-text { font-size: 1.2rem; color: #444; margin-bottom: 30px; }
.text-section p { font-size: 1.05rem; color: #555; line-height: 1.6; }

/* The Cosi-style highlight box */
.highlight-box { background-color: #eaf1eb; /* Soft Dwello green tint */ padding: 20px; border-left: 4px solid #8DB28F; margin-bottom: 30px; border-radius: 0 8px 8px 0; }
.highlight-box p { color: #2C4B5E; font-weight: 700; margin: 0; }

/* Right Form Section (Cosi Style) */
.custom-form { background: #fff; }
.form-row { display: flex; gap: 20px; }
.half { flex: 1; }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; font-size: 0.95rem; }
.sub-label { font-size: 0.85rem !important; color: #777 !important; margin-top: -5px; margin-bottom: 10px; }

/* Soft gray input boxes */
.custom-form input[type="text"], 
.custom-form input[type="tel"], 
.custom-form input[type="email"], 
.custom-form select, 
.custom-form textarea { 
    width: 100%; 
    padding: 14px; 
    border: none; 
    border-radius: 8px; 
    background-color: #f4f5f7; 
    font-family: 'Nunito', sans-serif; 
    font-size: 1rem; 
    color: #333; 
    transition: background-color 0.3s;
}
.custom-form input:focus, .custom-form select:focus, .custom-form textarea:focus { background-color: #e8eaed; outline: none; }

/* Radio Buttons */
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-group label { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 0.95rem; cursor: pointer; }

/* Submit Button */
.btn-submit { background: #111; color: #fff; border: none; padding: 16px 40px; border-radius: 30px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.1rem; cursor: pointer; transition: background 0.3s; margin-top: 10px; }
.btn-submit:hover { background: #8DB28F; }

/* Mobile Stacking */
@media (max-width: 850px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .text-section h1 { font-size: 2.8rem; }
    .form-row { flex-direction: column; gap: 0; }
}
/* --- Thank You Page Styles --- */
.thanks-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background-color: #fdfdfd; }
.thanks-content { text-align: center; background: #fff; padding: 60px 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #eee; max-width: 600px; width: 100%; }
.center-logo { margin: 0 auto 40px auto; height: 50px; }
.thanks-content h1 { font-size: 4rem; margin-bottom: 10px; color: #2C4B5E; letter-spacing: -1px; }
.thanks-content p { font-size: 1.2rem; color: #333; font-weight: 700; }
.thanks-subtext { font-size: 1rem !important; color: #666 !important; margin-top: 10px; margin-bottom: 40px; font-weight: 600 !important; }
.thanks-btn { box-shadow: none; }