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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #0e4d92 0%, #1a73e8 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.rating {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231a73e8;stop-opacity:1" /><stop offset="100%" style="stop-color:%230e4d92;stop-opacity:1" /></linearGradient></defs><rect fill="url(%23g)" width="1200" height="600"/><text x="50%" y="50%" font-size="36" fill="white" text-anchor="middle" opacity="0.3">Chesapeake Bay Waterfront</text></svg>');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: #ff5a5f;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(255, 90, 95, 0.3);
}

.btn-primary:hover {
    background: #e04e53;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 90, 95, 0.4);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
}

/* Quick Facts */
.quick-facts {
    padding: 3rem 0;
    background: #f8fafc;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.fact {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.fact:hover {
    transform: translateY(-5px);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.fact-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a73e8;
}

.fact-label {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    color: #0e4d92;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro {
    text-align: center;
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-8px);
    border-color: #1a73e8;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.15);
}

.feature h3 {
    font-size: 1.6rem;
    color: #0e4d92;
    margin-bottom: 1rem;
}

.feature p {
    font-size: 1.1rem;
    color: #666;
}

/* The Space */
.the-space {
    padding: 5rem 0;
    background: #fafbfc;
}

.the-space h2 {
    text-align: center;
    font-size: 3rem;
    color: #0e4d92;
    margin-bottom: 3rem;
    font-weight: 700;
}

.space-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.space-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #1a73e8;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.space-item h3 {
    font-size: 1.4rem;
    color: #0e4d92;
    margin-bottom: 0.8rem;
}

.space-item p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

/* Bedrooms */
.bedrooms {
    padding: 5rem 0;
    background: white;
}

.bedrooms h2 {
    text-align: center;
    font-size: 3rem;
    color: #0e4d92;
    margin-bottom: 3rem;
    font-weight: 700;
}

.bedroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.bedroom-card {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e6f2ff;
    transition: all 0.3s ease;
}

.bedroom-card:hover {
    border-color: #1a73e8;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.bedroom-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.bedroom-card h3 {
    font-size: 1.4rem;
    color: #0e4d92;
    margin-bottom: 0.5rem;
}

.bedroom-card p {
    font-size: 1.1rem;
    color: #666;
}

/* Amenities Section */
.amenities {
    padding: 5rem 0;
    background: #f1f5f9;
}

.amenities h2 {
    text-align: center;
    font-size: 3rem;
    color: #0e4d92;
    margin-bottom: 3rem;
    font-weight: 700;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.amenity-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.amenity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.amenities-note {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.amenities-note a {
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
}

.amenities-note a:hover {
    text-decoration: underline;
}

/* Location Section */
.location {
    padding: 5rem 0;
    background: white;
}

.location h2 {
    text-align: center;
    font-size: 3rem;
    color: #0e4d92;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.location > .container > p {
    text-align: center;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid #1a73e8;
}

.location-item h3 {
    font-size: 1.5rem;
    color: #0e4d92;
    margin-bottom: 0.8rem;
}

.location-item p {
    font-size: 1.05rem;
    color: #666;
}

/* Reviews */
.reviews {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0e4d92 0%, #1a73e8 100%);
    color: white;
}

.reviews h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.rating-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.big-rating {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
}

.rating-details {
    text-align: left;
}

.stars {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.review-count {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.badge {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.badge-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 350px;
}

.reviews-link {
    text-align: center;
    font-size: 1.2rem;
}

.reviews-link a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: #0e4d92;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact p {
    font-size: 1.2rem;
}

.contact a {
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.3rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .hero {
        height: 450px;
    }
    
    h2 {
        font-size: 2.2rem !important;
    }
    
    .facts-grid,
    .features,
    .space-features,
    .bedroom-grid,
    .amenities-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-showcase {
        flex-direction: column;
        gap: 2rem;
    }
    
    .rating-details {
        text-align: center;
    }
    
    .big-rating {
        font-size: 5rem;
    }
}
