/* Reset and Base 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: #fafafa;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.3s ease;
}

.cookie-popup.show {
    bottom: 0;
}

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

.cookie-btn {
    background: #8B4513;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #A0522D;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo h1 {
    color: #8B4513;
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    color: #666;
    font-size: 14px;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #8B4513;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background: #8B4513;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background: #A0522D;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #8B4513;
    border-radius: 2px;
}

/* Tips Section */
.tips-section {
    padding: 80px 0;
    background: white;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-post:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.blog-post:nth-child(even) .post-image {
    order: 2;
}

.post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-content h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.post-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.post-content h4 {
    font-size: 20px;
    color: #8B4513;
    margin: 25px 0 15px;
}

.post-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

/* Experts Section */
.experts-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.expert-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.expert-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.expert-title {
    color: #8B4513;
    font-weight: bold;
    margin-bottom: 20px;
}

blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 60px;
    color: #8B4513;
    position: absolute;
    top: -20px;
    left: -20px;
}

/* Trends Section */
.trends-section {
    padding: 80px 0;
    background: white;
}

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

.trend-card {
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-5px);
}

.trend-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trend-content {
    padding: 25px;
}

.trend-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.trend-content p {
    color: #555;
    line-height: 1.6;
}

/* Registration Section */
.registration-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
}

.registration-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.registration-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.registration-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.registration-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: left;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #8B4513;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    color: #555;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group a {
    color: #8B4513;
}

.submit-btn {
    width: 100%;
    background: #8B4513;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #A0522D;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    color: #8B4513;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8B4513;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navigation ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .blog-post:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .blog-post:nth-child(even) .post-image {
        order: 1;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-content h3 {
        font-size: 24px;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expert-card {
        padding: 25px;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-content h2 {
        font-size: 28px;
    }
    
    .registration-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .tips-section,
    .experts-section,
    .trends-section,
    .registration-section {
        padding: 60px 0;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .registration-form {
        padding: 20px 15px;
    }
}

/* Success Message */
.success-message {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}