/* Base Styles */
:root {
    --primary-color: #ff6600;
    --secondary-color: #8b0000;
    --accent-color: #ffcc00;
    --text-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --dark-gray: #666666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

* {
    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(--light-color);
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

section {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background-color: var(--light-color);
    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;
    padding: 15px 20px;
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 5px;
    position: relative;
    font-size: 16px;
}

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

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

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

.current-time {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 150px 0;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background-color: var(--gray-color);
}

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

.feature-box {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-box .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Latest Posts Section */
.latest-posts {
    background-color: var(--light-color);
}

.latest-posts h2, 
.blog-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

.latest-posts h2::after,
.blog-posts h2::after {
    left: 50%;
    transform: translateX(-50%);
}

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

.posts-grid.full-width {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.post-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    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: 250px;
    object-fit: cover;
}

.post-card.small img {
    height: 180px;
}

.post-content {
    padding: 20px;
}

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

.post-card.small .post-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.post-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

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

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 10px;
}

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

/* Page Banner */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}

.page-banner h2 {
    color: var(--light-color);
}

.page-banner h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Posts Page */
.blog-posts {
    background-color: var(--gray-color);
}

.newsletter {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    color: var(--light-color);
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--light-color);
}

.newsletter h2::after {
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    margin-top: 30px;
}

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

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

/* Blog Post Single */
.blog-post-container {
    padding: 60px 0;
    background-color: var(--gray-color);
}

.blog-post {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 50px;
}

.post-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-header h2 {
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.post-meta {
    display: flex;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.post-meta span {
    margin-right: 20px;
}

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

.post-content-full {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content-full h3 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content-full ul, 
.post-content-full ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

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

.post-tags {
    padding: 0 30px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    margin-right: 10px;
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    background-color: var(--gray-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.post-share {
    padding: 15px 30px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: 15px;
    font-weight: 600;
}

.post-share a {
    margin-right: 15px;
    color: var(--dark-gray);
}

.post-share a:hover {
    color: var(--primary-color);
}

.related-posts h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* About Page */
.about-intro {
    background-color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.our-values {
    background-color: var(--gray-color);
}

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

.our-values h2::after {
    left: 50%;
    transform: translateX(-50%);
}

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

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

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

.value-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.our-team {
    background-color: var(--light-color);
}

.our-team h2 {
    text-align: center;
    margin-bottom: 50px;
}

.our-team h2::after {
    left: 50%;
    transform: translateX(-50%);
}

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

.team-member {
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    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: 250px;
    object-fit: cover;
}

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

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

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

.team-member p:last-of-type {
    padding-bottom: 20px;
    font-size: 0.9rem;
}

.testimonials {
    background-color: var(--gray-color);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 50px;
}

.testimonials h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 350px;
    text-align: left;
    position: relative;
}

.quote {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.author {
    margin-top: 20px;
    font-style: italic;
}

.our-locations {
    background-color: var(--light-color);
    text-align: center;
}

.our-locations h2 {
    margin-bottom: 20px;
}

.our-locations h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.locations-map {
    margin: 40px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.cta-button {
    margin-top: 30px;
}

/* Contact Page */
.contact-section {
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info h3,
.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.info-icon {
    margin-right: 20px;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.social-contact h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

.social-icons a {
    color: var(--dark-gray);
    transition: var(--transition);
}

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

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

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

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition);
}

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

.form-group.checkbox {
    display: flex;
    align-items: center;
    grid-column: span 2;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: 20px;
}

.map-section {
    padding-top: 0;
    background-color: var(--light-color);
}

.map-section h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.faq-section {
    background-color: var(--gray-color);
}

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

.faq-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

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

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--dark-gray);
}

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

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

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

.thank-you-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.thank-you-message p {
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #333;
    color: var(--light-color);
    padding: 80px 0 30px;
}

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

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

.footer-links h4, 
.footer-contact h4 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, 
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact svg {
    margin-right: 10px;
    min-width: 16px;
}

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

.footer-contact .social-icons a {
    color: #ccc;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

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

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

.cookie-content p {
    margin-bottom: 15px;
    flex: 1 1 100%;
}

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

.btn-cookie {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.btn-cookie.reject {
    background-color: var(--error-color);
    color: var(--light-color);
}

.cookie-policy-link {
    margin-left: auto;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .current-time {
        margin-left: auto;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .post-card img {
        height: 200px;
    }
    
    .post-header h2 {
        font-size: 1.8rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-submit {
        grid-column: span 1;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-policy-link {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .current-time {
        margin: 15px 0 0 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features .container {
        grid-template-columns: 1fr;
    }
    
    .posts-grid,
    .posts-grid.full-width {
        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);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
