/**
 * Nicepage CSS - Basic styles for Fooodis Blog System
 */

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    color: #478ac9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container styles */
.u-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section styles */
.u-section {
    padding: 60px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Button styles */
.u-btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
    background-color: #478ac9;
    color: #fff;
    cursor: pointer;
}

.u-btn:hover {
    background-color: #3a7ab5;
    color: #fff;
    text-decoration: none;
}

/* Form styles */
.u-form {
    margin-bottom: 1rem;
}

.u-form-group {
    margin-bottom: 1rem;
}

.u-input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.u-input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive utilities */
.u-responsive-image {
    max-width: 100%;
    height: auto;
}

/* Dark mode */
.u-body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.u-body.dark-mode a {
    color: #78b0e6;
}

.u-body.dark-mode .u-input {
    background-color: #333;
    color: #e0e0e0;
    border-color: #555;
}

/* Media queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .u-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .u-section {
        padding: 30px 0;
    }
}
