@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

/* General Styles */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
    color: #333;
}

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

/* Header */
header {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 2rem;
}

.logo img {
    max-width: 100px;
    border-radius: 50%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d89f73;
}

/* Hero Section */
.hero {
    background-color: #fff;
    padding: 1rem 0 2rem 0; /* Reduced padding for mobile */
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: #777;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #d89f73;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

/* Features Section */
.features {
    padding: 1rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.feature {
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
}

.feature img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background-color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Footer */
footer {
    background-color: #fff;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* 🎨 ADJUST TYPOGRAPHY FOR READABILITY */
    .hero-content h1 {
        font-size: 2.25rem; /* Make main title smaller */
    }

    .hero-content p {
        font-size: 1.1rem; /* Adjust paragraph size */
    }

    .features h2, .about h2, .contact h2 {
        font-size: 2rem; /* Make section titles smaller */
    }
    
    /* 📱 FIX THE GRID LAYOUT */
    .features-grid {
        grid-template-columns: 1fr; /* Stack grid items vertically */
    }
    
    /* 🖼️ FIX IMAGE SIZING */
    .feature img {
        height: auto; /* Let image height adjust to maintain aspect ratio */
        max-height: 220px; /* Optional: prevent images from getting too tall */
    }

    /* 🍔 HIDE DESKTOP NAVIGATION */
    nav ul {
        display: none; /* Note: You'll want to add a hamburger menu later */
    }
}