/* Global Styles */
* {
    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: #f8f8f8;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .logo {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.header .tagline {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Navigation */
.navbar {
    background-color: #c0392b;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #e74c3c;
    transform: translateY(-2px);
}

/* Main Content */
.main {
    padding: 40px 0;
    min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 60px 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 50px;
    border-left: 5px solid #e74c3c;
}

.hero h2 {
    font-size: 2.2em;
    color: #c0392b;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1em;
    color: #666;
}

/* Blog Section */
.blog {
    margin-bottom: 50px;
}

.blog h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
}

.blog-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 300px 1fr;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.post-image {
    overflow: hidden;
    height: 250px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-content h3 {
    color: #c0392b;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.post-date {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.post-content p {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    width: fit-content;
}

.read-more:hover {
    color: #c0392b;
    border-bottom-color: #c0392b;
}

/* Tips Section */
.tips {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.tips h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tip-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.15);
}

.tip-card h3 {
    color: #c0392b;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.tip-card p {
    color: #666;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
    text-align: center;
    border-left: 4px solid #e74c3c;
}

.contact h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
}

.contact p {
    color: #666;
    margin-bottom: 20px;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 6px;
    display: inline-block;
}

.contact-info p {
    margin: 0;
    font-size: 1.1em;
}

.contact-info a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer p {
    margin: 8px 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .logo {
        font-size: 2em;
    }

    .navbar .container {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .blog-post {
        grid-template-columns: 1fr;
    }

    .post-image {
        height: 200px;
    }

    .hero h2 {
        font-size: 1.6em;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 40px 20px;
    }

    .tips {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header .logo {
        font-size: 1.5em;
    }

    .header .tagline {
        font-size: 0.9em;
    }

    .nav-link {
        font-size: 0.9em;
        padding: 6px 10px;
    }

    .hero h2 {
        font-size: 1.3em;
    }

    .post-content h3 {
        font-size: 1.2em;
    }
}
