/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --link-color: #3498db;
    --link-hover-color: #2980b9;
    --background-color: #ffffff;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-size-base: 16px;
    --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);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    background-color: #d35400;
    color: white;
}

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

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

.btn-tertiary {
    background-color: #7f8c8d;
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

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

#decrease-font {
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

#decrease-font:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

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

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

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

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

.post-card {
    background-color: white;
    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 {
    margin-bottom: 0.5rem;
}

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

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Services Section */
.services {
    padding: 5rem 5%;
}

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

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

.service-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

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

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

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

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

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

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-weight: 700;
    color: var(--dark-color);
}

.client-type {
    color: #666;
    font-size: 0.9rem;
}

/* Blog Page Styles */
.blog-page {
    padding: 3rem 5%;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4rem;
}

.blog-post:last-child {
    border-bottom: none;
}

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

.post-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.post-meta span {
    margin-right: 1.5rem;
}

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

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

/* Portfolio Page Styles */
.portfolio-page {
    padding: 3rem 5%;
}

.portfolio-filter {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.overlay-content {
    text-align: center;
    padding: 1rem;
    color: white;
}

.overlay-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.portfolio-cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 8px;
}

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

.portfolio-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* About Page Styles */
.about-page {
    padding: 3rem 5%;
}

.about-story, .about-approach {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
}

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

.team-section {
    text-align: center;
    margin-bottom: 5rem;
}

.team-section h2 {
    margin-bottom: 1rem;
}

.team-section > p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.team-member {
    background-color: white;
    border-radius: 8px;
    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: 300px;
    object-fit: cover;
}

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

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

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

.team-member p:last-of-type {
    margin-bottom: 1.5rem;
}

.values-section {
    margin-bottom: 5rem;
}

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

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

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.value-item h3 {
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-page {
    padding: 3rem 5%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
}

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

.info-icon {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.info-text h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

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

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    margin-bottom: 1rem;
}

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

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

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

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

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

.form-group textarea {
    resize: vertical;
}

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

.consent-checkbox input {
    margin-top: 0.25rem;
    margin-right: 0.5rem;
    width: auto;
}

.map-section {
    margin-bottom: 5rem;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 2rem;
}

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

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

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

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

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

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

.thank-you-content h2 {
    margin-bottom: 1rem;
}

.thank-you-content p {
    margin-bottom: 2rem;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 5% 1rem;
}

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

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

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-contact p i {
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-policies {
    display: flex;
    gap: 1.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-buttons {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-more {
    font-size: 0.9rem;
}

.cookie-more a {
    color: var(--secondary-color);
}

/* Summary Section */
.summary {
    background-color: var(--light-color);
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
}

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

.summary p {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-story, .about-approach {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero {
        padding: 6rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .featured-posts, .services, .testimonials {
        padding: 3rem 1rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
}

/* Helper Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}
