/* Base Styles */
:root {
    --primary-color: #6a5acd;
    --primary-dark: #5047a3;
    --primary-light: #8a7cdd;
    --secondary-color: #ff7043;
    --secondary-dark: #e0612c;
    --secondary-light: #ff9370;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f9f9f9;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --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: var(--background-color);
}

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

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

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

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
}

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

p {
    margin-bottom: 1.5rem;
}

/* Header Styles */
header {
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

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

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

header h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

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

nav a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    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);
}

.date-time-container {
    margin-right: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 3D Button Styles */
.btn-3d {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    box-shadow: 0 6px var(--secondary-dark);
    transform-style: preserve-3d;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-3d:hover {
    background-color: var(--secondary-light);
}

.btn-3d:active {
    transform: translateY(4px);
    box-shadow: 0 2px var(--secondary-dark);
}

/* Button Styles */
.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    text-align: center;
}

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

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

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

/* Hero Section Styles */
.hero {
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    background: linear-gradient(to right, var(--background-color), var(--background-alt));
}

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

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

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

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

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 5%;
    background-color: var(--background-color);
}

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

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px 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: var(--text-light);
    margin-bottom: 1rem;
}

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

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

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

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

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

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

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-main);
}

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

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

/* Footer Styles */
footer {
    background-color: #222;
    color: #ddd;
    padding: 3rem 5% 1.5rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

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

.footer-logo h3 {
    color: white;
    margin: 0;
}

.footer-links h4, 
.footer-policy h4, 
.footer-social h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-links ul, 
.footer-policy ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a, 
.footer-policy a {
    color: #ddd;
}

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

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

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

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

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.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 {
    margin: 0;
    flex: 2;
    min-width: 200px;
}

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

.cookie-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--secondary-color);
    margin-left: 1rem;
    text-decoration: underline;
}

/* Blog Page Styles */
.blog-hero {
    text-align: center;
    padding: 4rem 5% 2rem;
    background-color: var(--background-alt);
}

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

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

.post-item {
    display: flex;
    margin-bottom: 3rem;
    background-color: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image {
    flex: 1;
    min-width: 300px;
}

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

.post-details {
    flex: 2;
    padding: 2rem;
}

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

.post-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-details p {
    margin-bottom: 1.5rem;
}

/* Gallery Page Styles */
.gallery-hero {
    text-align: center;
    padding: 4rem 5% 2rem;
    background-color: var(--background-alt);
}

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

.gallery-filters {
    padding: 2rem 5%;
    text-align: center;
}

.gallery-filters h3 {
    margin-bottom: 1.5rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background-color: var(--background-alt);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    padding: 0 5% 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

.gallery-item-info h4 {
    margin-bottom: 0.3rem;
    color: white;
}

.gallery-item-info p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 4rem 5% 2rem;
    background-color: var(--background-alt);
}

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

.about-mission {
    padding: 3rem 5%;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.mission-content {
    flex: 3;
}

.mission-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.mission-image {
    flex: 2;
}

.mission-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.team-section {
    padding: 3rem 5%;
    background-color: var(--background-alt);
}

.team-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

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

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

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

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

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

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

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.social-links a {
    color: var(--text-light);
    transition: var(--transition);
}

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

.values-section {
    padding: 3rem 5%;
}

.values-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

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

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

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

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

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    margin-bottom: 0;
}

/* Contact Page Styles */
.contact-hero {
    text-align: center;
    padding: 4rem 5% 2rem;
    background-color: var(--background-alt);
}

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

.contact-container {
    padding: 3rem 5% 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

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

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

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

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

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

.registration-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

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

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

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

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

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

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

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

.checkbox-group input {
    width: auto;
    margin-right: 0.8rem;
}

.checkbox-group label {
    margin: 0;
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

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

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

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

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

.close-btn {
    margin-top: 1.5rem;
}

/* Blog Post Styles */
.post-content-wrapper {
    display: flex;
    padding: 3rem 5% 4rem;
    gap: 3rem;
}

.blog-post {
    flex: 3;
    min-width: 0;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-meta {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-author {
    margin-left: 1rem;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.post-content h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--primary-dark);
}

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

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

.post-content strong {
    color: var(--text-color);
}

.post-image-container {
    margin: 2rem 0;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
    align-items: center;
}

.tag-label {
    font-weight: 600;
}

.tag {
    background-color: var(--background-alt);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tag:hover {
    background-color: var(--primary-light);
    color: white;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-share {
    margin-top: 2rem;
}

.post-share h4 {
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.share-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: white;
}

.share-btn svg {
    margin-right: 0.5rem;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.pinterest {
    background-color: #bd081c;
}

.email {
    background-color: #555;
}

.post-sidebar {
    flex: 1;
    min-width: 250px;
}

.sidebar-widget {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.recent-posts, 
.categories {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.recent-posts a, 
.categories a {
    color: var(--text-color);
    transition: var(--transition);
    padding: 0.3rem 0;
}

.recent-posts a:hover, 
.categories a:hover, 
.recent-posts a.active {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.newsletter-widget p {
    margin-bottom: 1.2rem;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar-newsletter-form input {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-main);
}

.sidebar-newsletter-form .btn {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero, 
    .about-mission {
        flex-direction: column;
    }
    
    .hero-content, 
    .mission-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-image {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input, 
    .newsletter-form .btn {
        width: 100%;
        border-radius: 4px;
    }
    
    .post-content-wrapper {
        flex-direction: column;
    }
    
    .date-time-container {
        margin: 1rem 0;
    }
    
    .btn-3d {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-content a {
        margin: 0.5rem 0 0;
    }
}
