/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
header {
    background-color: #2c3e50;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.logo {
    color: #ecf0f1;
    font-size: 1.8rem;
    font-weight: bold;
}

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

/* Mobile menu toggle (hidden checkbox) */
.menu-toggle {
    display: none;
}

/* Mobile menu button */
.menu-btn {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 5rem 1rem;
    background-color: #f9f9f9;
}

.feature-card {
    background: white;
    padding: 2rem;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

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

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #2c3e50;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        padding: 0;
        margin: 0;
    }
    
    /* When checkbox is checked, show the menu */
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    /* Hamburger to X animation */
    .menu-toggle:checked + .menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked + .menu-btn span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
        padding: 3rem 1rem;
    }
    
    .feature-card {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 100%;
    }
}
