/* Base Styles */
:root {
    --primary-color: #4059ad;
    --secondary-color: #6b76b1;
    --accent-color: #f7941e;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f9f9f9;
    --light-bg: #ffffff;
    --dark-bg: #2b2d42;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

p {
    margin-bottom: 20px;
}

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

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

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

/* Typography */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
header {
    background-color: var(--dark-bg);
    color: white;
    padding: 15px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.logo img {
    max-height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    padding-bottom: 5px;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    left: 0;
    bottom: 0;
    transition: var(--transition);
}

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

.header-content {
    text-align: center;
    padding: 80px 0;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    margin: 60px 0;
    padding: 40px 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#countdown {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.time-box {
    width: 80px;
    text-align: center;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
}

.time-box span {
    display: block;
}

#days, #hours, #minutes, #seconds {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.time-text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Posts Section */
.posts {
    padding: 60px 0;
}

.posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.post-card {
    display: flex;
    margin-bottom: 40px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.post-image {
    width: 30%;
}

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

.post-content {
    width: 70%;
    padding: 25px;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.post-date {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.post-excerpt {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

/* Feedback Section */
.feedback-section {
    text-align: center;
    margin: 60px 0;
    padding: 40px 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links h3, 
.footer-contact h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

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

.footer-contact i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-color);
}

.social-media svg {
    fill: white;
    width: 18px;
    height: 18px;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.close-modal, .close-thank-you {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.close-modal:hover, .close-thank-you:hover {
    color: var(--text-color);
}

.modal h2 {
    margin-bottom: 20px;
}

/* Form Styles */
form {
    width: 100%;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    color: white;
    padding: 20px;
    z-index: 999;
    display: none;
}

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

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

.cookie-content a {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* About Page Styles */
.about-intro {
    padding: 60px 0;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.team-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

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

.team-member h3, 
.team-member p {
    padding: 0 20px;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member p:nth-of-type(2) {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

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

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

.social-links svg {
    fill: var(--dark-bg);
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.social-links a:hover svg {
    fill: white;
}

.our-values {
    padding: 60px 0;
}

.our-values h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.value-card {
    background-color: var(--light-bg);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    margin-bottom: 20px;
}

.value-icon svg {
    fill: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.95rem;
}

.achievements {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.achievements h2 {
    color: white;
    margin-bottom: 40px;
}

.achievement-counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.counter-item {
    flex: 1;
    min-width: 200px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Contact Page Styles */
.contact-info-section {
    padding: 60px 0;
}

.contact-info-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.contact-card {
    background-color: var(--light-bg);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.contact-icon {
    margin-bottom: 20px;
}

.contact-icon svg {
    fill: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 0.95rem;
}

.social-links-contact {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links-contact a {
    padding: 5px 10px;
    background-color: var(--bg-color);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.contact-form-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map-section {
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding: 20px 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Post Page Styles */
.post-header {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: white;
}

.post-meta {
    display: flex;
    align-items: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.post-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 5px;
}

.post-content-single {
    padding: 60px 0;
}

.post-image-single {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-text {
    line-height: 1.8;
}

.post-text p {
    margin-bottom: 20px;
}

.post-text h3 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.post-navigation a {
    display: flex;
    align-items: center;
}

.post-navigation .prev i {
    margin-right: 10px;
}

.post-navigation .next i {
    margin-left: 10px;
}

.related-posts {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.related-post-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.related-post-excerpt {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .post-card {
        flex-direction: column;
    }
    
    .post-image, 
    .post-content {
        width: 100%;
    }
    
    .post-image {
        height: 250px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .footer-top {
        gap: 30px;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-contact {
        flex: 1 1 45%;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav li {
        margin: 0 15px;
    }
    
    .header-content {
        padding: 50px 0;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    #countdown {
        flex-wrap: wrap;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .time-box {
        width: 60px;
        padding: 10px;
    }
    
    #days, #hours, #minutes, #seconds {
        font-size: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 5px 10px;
    }
}

/* Additional Styles for Individual Post Pages */
.post-body {
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: var(--primary-color);
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

.post-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-body ul, .post-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    background-color: var(--bg-color);
    font-style: italic;
}

.post-body code {
    font-family: 'Courier New', monospace;
    background-color: var(--bg-color);
    padding: 2px 5px;
    border-radius: 4px;
}

.post-body pre {
    background-color: var(--dark-bg);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 20px 0;
}

.post-body pre code {
    background: none;
    color: white;
    padding: 0;
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.post-body th, .post-body td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: left;
}

.post-body th {
    background-color: var(--bg-color);
    font-weight: 600;
}

/* Icons for Footer */
.icon-location, .icon-phone, .icon-envelope {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 0c-4.198 0-8 3.403-8 7.602 0 4.198 3.469 9.21 8 16.398 4.531-7.188 8-12.2 8-16.398 0-4.199-3.801-7.602-8-7.602zm0 11c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z'/%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M20 22.621l-3.521-6.795c-.008.004-1.974.97-2.064 1.011-2.24 1.086-6.799-7.82-4.609-8.994l2.083-1.026-3.493-6.817-2.106 1.039c-7.202 3.755 4.233 25.982 11.6 22.615.121-.055 2.102-1.029 2.11-1.033z'/%3E%3C/svg%3E");
}

.icon-envelope {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M0 3v18h24v-18h-24zm6.623 7.929l-4.623 5.712v-9.458l4.623 3.746zm-4.141-5.929h19.035l-9.517 7.713-9.518-7.713zm5.694 7.188l3.824 3.099 3.83-3.104 5.612 6.817h-18.779l5.513-6.812zm9.208-1.264l4.616-3.741v9.348l-4.616-5.607z'/%3E%3C/svg%3E");
}
