/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --link-color: #3498db;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9fafb;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links a:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.nav-links a.active {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    padding: 5rem 5%;
    background: linear-gradient(to right, #f5f7fa, #e5e9f2);
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 3rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #5a6a7e;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 128, 185, 0.3);
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Featured Posts Section */
.featured-posts {
    padding: 5rem 5%;
    background-color: white;
}

.featured-posts h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.post-content p {
    color: #5a6a7e;
    margin-bottom: 1.2rem;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: "→";
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover::after {
    transform: translateX(5px);
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.view-all-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.view-all-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Beginner Mistakes Section */
.beginner-mistakes {
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.beginner-mistakes h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.mistakes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.mistake {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: flex-start;
}

.mistake-icon {
    color: var(--accent-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.mistake-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mistake-content p {
    color: #5a6a7e;
}

/* Blog Page Styles */
.blog-header {
    text-align: center;
    padding: 5rem 5% 3rem;
    background: linear-gradient(to right, #f5f7fa, #e5e9f2);
}

.blog-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    color: #5a6a7e;
    max-width: 700px;
    margin: 0 auto;
}

.blog-posts {
    padding: 3rem 5% 5rem;
}

.blog-post {
    margin-bottom: 4rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.blog-post .post-image {
    width: 100%;
}

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

.blog-post .post-content {
    padding: 2rem;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.post-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* About Page Styles */
.about-header {
    text-align: center;
    padding: 5rem 5% 3rem;
    background: linear-gradient(to right, #f5f7fa, #e5e9f2);
}

.about-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.about-header p {
    font-size: 1.2rem;
    color: #5a6a7e;
    max-width: 700px;
    margin: 0 auto;
}

.about-intro {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background-color: white;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #5a6a7e;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
}

.team-section {
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.team-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.team-section > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #5a6a7e;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    padding-bottom: 1.5rem;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.2rem 0 0.3rem;
    font-size: 1.3rem;
}

.team-member p {
    color: #5a6a7e;
    padding: 0 1.5rem;
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f7fa;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.achievements-section {
    padding: 5rem 5%;
    background-color: white;
}

.achievements-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement {
    text-align: center;
    padding: 2rem;
    background-color: #f5f7fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.achievement:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.achievement-icon {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.achievement h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.achievement p {
    color: #5a6a7e;
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    padding: 5rem 5% 3rem;
    background: linear-gradient(to right, #f5f7fa, #e5e9f2);
}

.contact-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #5a6a7e;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: white;
}

.contact-info h2, .contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    color: var(--secondary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #5a6a7e;
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f7fa;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.contact-form {
    background-color: #f5f7fa;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check input {
    margin-right: 0.5rem;
}

.submit-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 128, 185, 0.3);
}

.map-section {
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.thank-you-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 1.5rem;
    color: #5a6a7e;
}

.close-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.close-button:hover {
    background-color: #2980b9;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 5% 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #a0aec0;
}

.footer-contact p i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glossary Section */
.glossary-section {
    padding: 3rem 5%;
    background-color: #f9fafb;
    border-top: 1px solid #e2e8f0;
}

.glossary-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.glossary-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.glossary-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.glossary-item p {
    color: #5a6a7e;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-right: 1.5rem;
}

.cookie-content button {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#accept-cookies {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

#customize-cookies {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

#reject-cookies {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

#accept-cookies:hover {
    background-color: #2980b9;
}

#customize-cookies:hover, #reject-cookies:hover {
    background-color: #f5f7fa;
}

.cookie-content a {
    margin-left: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .blog-post .post-image {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
    }
    
    .nav-links li {
        margin: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .featured-posts h2, .beginner-mistakes h2, .blog-header h1, .about-header h1, .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .mistakes-container, .team-grid, .achievements-grid, .glossary-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        margin-bottom: 1rem;
    }
}
