/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Common Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Header Styles */
.header-section {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
}

.nav-menu {
    flex: 1;
    margin: 0 40px;
}

.menu-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu-link {
    font-weight: 500;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
}

.menu-link:hover {
    color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.1);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn-login, .btn-register {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: #fff;
    color: #ff6b35;
    border: 1px solid #ff6b35;
}

.btn-login:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.btn-register {
    background-color: #ff6b35;
    color: #fff;
    border: 1px solid #ff6b35;
}

.btn-register:hover {
    background-color: #e85a2a;
}

/* Main Content Styles */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 60px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #fff;
    color: #ff6b35;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #ff6b35;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Featured Section Styles */
.featured-section {
    padding: 60px 0;
    background-color: #fff;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.featured-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.featured-icon {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.featured-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.featured-item p {
    color: #666;
    line-height: 1.5;
}

/* Content Section Styles */
.content-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.main-content-area {
    flex: 3;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-item {
    margin-bottom: 40px;
}

.article-item h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.article-item p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.7;
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.widget-list {
    list-style: none;
}

.widget-item {
    margin-bottom: 10px;
}

.widget-link {
    color: #666;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
}

.widget-link:hover {
    color: #ff6b35;
    padding-left: 10px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #ff6b35;
    font-size: 1.1rem;
}

/* Contact Section Styles */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.contact-icon {
    font-size: 2rem;
    color: #ff6b35;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-info p {
    margin: 5px 0;
    color: #666;
}

/* Form Styles */
.login-form, .register-form, .contact-form {
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
}

.forgot-password a {
    color: #ff6b35;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.register-prompt, .login-prompt {
    text-align: center;
    margin: 20px 0;
    color: #666;
}

.register-prompt a, .login-prompt a {
    color: #ff6b35;
    font-weight: 500;
}

/* Footer Styles */
.footer-section {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ff6b35;
}

.footer-column p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
}

.footer-item {
    margin-bottom: 10px;
}

.footer-link {
    color: #ccc;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-link:hover {
    color: #ff6b35;
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        margin: 0;
    }

    .menu-list {
        gap: 20px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .content-container {
        flex-direction: column;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-list {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-login, .btn-register {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}