/*
 * Core styling for the Avenow landing page.
 *
 * This stylesheet defines the visual appearance of the site, including
 * typography, layout, colour palette and responsive behaviour. The design
 * aims for a clean, modern look that conveys trust and openness while
 * highlighting the organisation’s environmental and spiritual ethos.
 */

/* Global resets and base typography */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
    background: transparent;
}

.brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: #c8e7ed;
}

/* Hero section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

/* Dark overlay to improve text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0 0 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin: 0 0 30px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    background-color: #00a88e;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #008f77;
}

/* Section styles */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0a6c82;
    font-weight: 700;
}

.about p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Features section */
.features {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.feature i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #00a88e;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 1.6rem;
    color: #0a6c82;
    font-weight: 600;
}

.feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 350px;
    margin: 0 auto;
}

/* Contact section */
.contact ul {
    list-style: none;
    padding: 0;
    margin: 20px auto 0;
    max-width: 600px;
    text-align: left;
}

.contact li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact a {
    color: #00a88e;
    text-decoration: none;
}

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

/* Footer */
footer {
    background-color: #0a6c82;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.3rem;
    }
    .features {
        flex-direction: row;
    }
}