/* public/css/style.css */

/* 1. Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

/* 2. Header & Navigation */
header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

/* 3. Main Content Area */
main {
    padding: 40px 5%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

section {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 600px;
}

h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

p {
    margin-bottom: 30px;
    color: #666;
}

/* 4. Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #2980b9;
}

/* 5. Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 6. Responsive Design */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav {
        margin-top: 15px;
    }
}
