/* Base & Reset */
:root {
    --primary-color: #6e57e0;
    --primary-light: #8b7ae8;
    --primary-dark: #4e3cb5;
    --secondary-color: #ff9900;
    --secondary-light: #ffb340;
    --secondary-dark: #e07c00;
    --accent-color: #2ac1de;
    --text-color: #333333;
    --text-light: #777777;
    --bg-color: #ffffff;
    --bg-dark: #f5f5f5;
    --bg-darker: #e9e9e9;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-color: #e5e5e5;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Web Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

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

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

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

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

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

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

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

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

.site-title {
    margin-left: 20px;
}

.site-title h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.clock {
    padding: 8px 12px;
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    font-weight: 500;
    color: var(--text-color);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

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

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

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

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

.feature-card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Latest Posts Section */
.latest-posts {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

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

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

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

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

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

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

.post-content {
    padding: 20px;
}

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

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

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
    background-color: var(--secondary-dark);
}

/* Blog Posts Page */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

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

.blog-posts {
    padding: 80px 0;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto 60px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-post .post-image {
    height: 400px;
}

.blog-post .post-content {
    padding: 30px;
}

.blog-post h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.blog-post .post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.post-body ul li, .post-body ol li {
    margin-bottom: 0.5rem;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

/* About Page */
.about-story {
    padding: 80px 0;
}

.about-story .container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-content {
    flex: 3;
}

.about-image {
    flex: 2;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.team {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

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

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

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

.team-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

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

.team-member p {
    color: var(--text-light);
    margin-bottom: 15px;
    padding: 0 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

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

.member-social svg {
    width: 20px;
    height: 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.member-social a:hover svg {
    color: white;
}

.testimonials {
    padding: 80px 0;
}

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

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

.testimonial {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

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

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

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

.contact-info {
    padding-right: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.info-content h3 {
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-contact {
    margin-top: 40px;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.social-icons svg {
    width: 20px;
    height: 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.social-icons a:hover svg {
    color: white;
}

.contact-form-container {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 30px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.btn-submit {
    justify-self: start;
    background-color: var(--primary-color);
    color: white;
}

.map-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

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

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

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

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

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

.footer-logo p {
    opacity: 0.8;
}

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

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

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

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

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

.footer-social .social-icons {
    margin-top: 15px;
}

.footer-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social .social-icons svg {
    color: white;
}

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

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

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0;
}

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

.modal.show {
    display: flex;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.thank-you-icon {
    width: 70px;
    height: 70px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.thank-you-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.modal-body h2 {
    color: var(--success-color);
    margin-bottom: 15px;
}

.modal-close-btn {
    margin-top: 20px;
}

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

.cookie-banner.show {
    display: block;
}

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

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

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

.btn-accept {
    background-color: var(--success-color);
}

.btn-accept:hover {
    background-color: #218838;
}

.btn-customize {
    background-color: var(--text-light);
}

.btn-customize:hover {
    background-color: #5a5a5a;
}

.btn-decline {
    background-color: var(--text-light);
}

.btn-decline:hover {
    background-color: #5a5a5a;
}

.cookie-more {
    color: var(--text-light);
    text-decoration: underline;
    margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .about-story .container {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .feature-grid,
    .post-grid,
    .team-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
    }
    
    .blog-post .post-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .post-image {
        height: 180px;
    }
    
    .blog-post .post-image {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    50% { border-color: transparent }
}

.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    animation: 
        typing 3.5s steps(40, end),
        blink 0.75s step-end infinite;
}
