:root {
    --primary-color: #4F46E5; /* Indigo */
    --secondary-color: #3B82F6; /* Blue */
    --light-color: #F5F7FA; /* Light Gray */
    --dark-color: #111827; /* Cool Dark Gray */
    --white-color: #FFFFFF;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--white-color);
    color: var(--dark-color);
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}
header.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('community.jpg') no-repeat center center/cover;
    color: var(--white-color);
    min-height: 60vh; /* Reduced from 70vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}
header h1 {
    margin: 0;
    font-size: 3.8rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.coming-soon {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700; /* Gold color */
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: inline-block;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
header p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 15px auto 0;
}
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
section {
    padding: 20px 0; /* Dramatically reduced padding */
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
}
main > section:last-of-type {
    border-bottom: none;
}
section.bg-light {
    background: var(--light-color);
}
h2 {
    text-align: center;
    margin-bottom: 45px; /* Reduced from 60px */
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
}
.section-intro {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Reduced from 40px */
    text-align: left;
}
.card {
    background: var(--white-color);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.6rem;
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-content {
    padding: 24px; /* Reduced from 30px */
}
.icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
}
#local-perks {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/262978/pexels-photo-262978.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
    background-attachment: fixed; /* Creates a nice parallax effect */
}
#local-perks h2,
#local-perks .section-intro,
#local-perks .icon {
    color: var(--white-color);
}
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 25px 20px; /* Reduced padding */
    margin-top: 40px;
}
footer .container {
    padding: 0;
}
footer h2 {
    font-size: 1.6rem; /* Reduced font size */
    margin-bottom: 8px; /* Reduced margin */
}
footer p {
    margin-bottom: 15px; /* Reduced margin */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
footer .btn {
    display: inline-block;
    margin-bottom: 20px; /* Reduced margin */
}
footer .copyright {
    font-size: 0.8rem; /* Reduced font size */
    opacity: 0.7;
    margin-top: 15px; /* Reduced margin */
    border-top: 1px solid #444;
    padding-top: 15px; /* Reduced padding */
}

/* Floating Waitlist Button */
#floating-waitlist-btn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#floating-waitlist-btn i {
    margin-right: 10px;
}

#floating-waitlist-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2.8rem;
    }
    .coming-soon {
        font-size: 1.8rem;
    }
    header p {
        font-size: 1.2rem;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    h2 {
        font-size: 2rem;
    }
    .section-intro {
        font-size: 1rem;
    }
    .container {
        padding: 20px;
    }
    .card {
        margin-bottom: 20px;
    }
    #waitlist-form {
        padding: 0 10px;
    }
}
@media (max-width: 480px) {
    header.hero {
        min-height: 50vh;
    }
    header h1 {
        font-size: 2.2rem;
    }
    .coming-soon {
        font-size: 1.5rem;
        padding: 8px 15px;
    }
    header p {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}
.reveal.active {
    transform: translateY(0);
    opacity: 1;
}
