/* Base Styles */
:root {
    --primary-color: #6200ea;
    --primary-dark: #3700b3;
    --primary-light: #bb86fc;
    --secondary-color: #03dac6;
    --secondary-dark: #018786;
    --error-color: #cf6679;
    --background: #121212;
    --surface: #1e1e1e;
    --on-background: #f5f5f5;
    --on-surface: #e0e0e0;
    --on-primary: #ffffff;
    --on-secondary: #000000;
    --border-color: #333;
    --success-color: #4caf50;
    --info-color: #2196f3;
    --warning-color: #ff9800;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--on-background);
    background-color: var(--background);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--on-background);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--on-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--on-primary);
}

.btn:active {
    transform: translateY(0);
}

section {
    padding: 4rem 0;
}

/* Header Styles */
header {
    background-color: var(--surface);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--on-surface);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/1.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--on-primary);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--on-primary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Posts Section */
.featured-posts {
    background-color: var(--surface);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.post-card {
    background-color: var(--background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    color: var(--on-surface);
    margin-bottom: 1.25rem;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.read-more:hover:after {
    margin-left: 0.75rem;
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/2.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 4rem 0;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    background-color: rgba(30, 30, 30, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
    min-width: 100px;
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
}

.countdown-item p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Beginner Mistakes Section */
.beginner-mistakes {
    background-color: var(--surface);
}

.beginner-mistakes h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.mistake-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.mistake-icon {
    margin-bottom: 1.5rem;
}

.mistake-card h3 {
    margin-bottom: 1rem;
}

.mistake-card p {
    color: var(--on-surface);
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/3.jpg') no-repeat center center/cover;
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
}

/* Blog Posts */
.blog-posts {
    padding: 4rem 0;
}

.blog-post {
    margin-bottom: 4rem;
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-post:last-child {
    margin-bottom: 0;
}

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

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--on-surface);
    font-size: 0.875rem;
}

.post-excerpt {
    margin-top: 1.5rem;
}

.post-excerpt h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-excerpt ul, .post-excerpt ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-excerpt li {
    margin-bottom: 0.5rem;
}

.back-to-top {
    display: inline-block;
    margin-top: 2rem;
    font-weight: 600;
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

.about-intro, .about-values, .team-section, .company-info {
    margin-bottom: 4rem;
}

.about-intro p, .company-info p {
    max-width: 800px;
}

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

.value-card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.value-icon {
    margin-bottom: 1.5rem;
}

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

.team-member {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.team-member p:first-of-type {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-card {
    display: flex;
    margin-bottom: 2rem;
    background-color: var(--surface);
    padding: 1.5rem;
    border-radius: 8px;
}

.info-icon {
    color: var(--primary-light);
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.info-details h3 {
    margin-bottom: 0.5rem;
}

.info-details p {
    margin-bottom: 0.5rem;
}

.social-connect {
    margin-top: 3rem;
}

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

.social-icons a {
    background-color: var(--surface);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-container {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 8px;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input, .form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--background);
    color: var(--on-background);
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
}

.location-map {
    padding: 4rem 0;
    background-color: var(--surface);
}

.location-map h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    max-height: 400px;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--surface);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--on-surface);
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal h2 {
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--surface);
    padding: 4rem 0 2rem;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links h3, .footer-legal h3, .footer-contact h3, .footer-social h3 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 0.75rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-contact p svg {
    margin-right: 0.75rem;
    min-width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-consent.active {
    display: block;
}

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

.cookie-content p {
    flex: 1;
    margin-bottom: 0;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-cookie.accept {
    background-color: var(--primary-color);
    color: var(--on-primary);
}

.btn-cookie.accept:hover {
    background-color: var(--primary-dark);
}

.btn-cookie.customize {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--on-surface);
}

.btn-cookie.customize:hover {
    background-color: var(--border-color);
}

.btn-cookie.decline {
    background-color: transparent;
    color: var(--on-surface);
}

.btn-cookie.decline:hover {
    background-color: var(--border-color);
}

.cookie-more {
    margin-left: 1rem;
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    #countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .countdown-item span {
        font-size: 1.75rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .posts-grid, .mistakes-grid, .values-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .post-image img {
        height: 250px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
}
