/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #0D4F3C;
    --secondary-green: #1A5D4A;
    --accent-green: #2A6E56;
    --light-green: #E8F5F0;
    --gold: #D4AF37;
    --light-gold: #F4E07B;
    --dark-gold: #B8941F;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --shadow: rgba(13, 79, 60, 0.1);
    --shadow-hover: rgba(13, 79, 60, 0.2);
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: var(--dark-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-green);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 30px rgba(13, 79, 60, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 2px 40px var(--shadow);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: var(--primary-green);
    letter-spacing: -0.5px;
}

.nav-logo span {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn-nav {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.cta-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, var(--accent-green) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 4rem;
    transform: translateY(20px);
}

.hero-text {
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.95;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.cta-primary {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Properties Section */
.properties {
    padding: 6rem 0;
    background: var(--light-gray);
}

.properties h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-green);
}

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

.property-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.property-image {
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.property-details {
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

.about p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: var(--primary-green);
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

/* Newsletter Popup */
.newsletter-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.newsletter-popup.show {
    display: block;
    animation: popupFadeIn 0.3s ease;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
}

.popup-overlay.show {
    display: block;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--primary-green);
}

.newsletter-popup h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.newsletter-popup p {
    color: var(--gray);
    margin-bottom: 1rem;
    text-align: center;
}

.newsletter-popup ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.newsletter-popup li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.newsletter-popup li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info > p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-method p {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 400;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--light-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-green);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .about h2,
    .properties h2 {
        font-size: 2rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
}
