/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #777;
    --background-color: #fff;
    --background-alt: #f9f9f9;
    --border-color: #e1e1e1;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --border-radius: 4px;
    --font-family: 'Montserrat', Arial, sans-serif;
}

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

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

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

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

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

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

p {
    margin-bottom: 1.5rem;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-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(--primary-color);
    color: white;
}

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

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

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

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

.logo {
    max-width: 180px;
}

.logo img {
    width: 100%;
    height: auto;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

main {
    min-height: 80vh;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 15px;
}

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

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

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

.footer-links ul li a:hover,
.footer-policies ul li a:hover {
    color: white;
    text-decoration: underline;
}

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

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

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

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

/* Homepage Specific */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
}

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

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

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

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

.featured h2 {
    margin-bottom: 40px;
}

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

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

.gallery-item img {
    transition: transform 0.5s ease;
}

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

.gallery-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    margin: 0;
    transition: var(--transition);
}

.testimonials {
    background-color: var(--background-alt);
    padding: 80px 0;
    text-align: center;
}

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

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.testimonial h4 {
    color: var(--text-light);
    font-weight: 600;
}

.recent-posts {
    padding: 80px 0;
    text-align: center;
}

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

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

.post:hover {
    transform: translateY(-5px);
}

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

.post h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.post p {
    padding: 0 20px;
    color: var(--text-light);
}

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

.read-more:hover {
    text-decoration: underline;
}

.blog-button,
.review-button {
    margin-top: 30px;
}

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

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

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

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.post-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Portfolio Page Specific */
.portfolio-filter {
    padding: 40px 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.portfolio-gallery {
    padding-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1 / 1;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transition: var(--transition);
    opacity: 0;
}

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

.gallery-overlay h3 {
    color: white;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-section {
    background-color: var(--background-alt);
    padding: 80px 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Services Page Specific */
.services-intro {
    padding: 80px 0;
}

.services-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-content h2 {
    margin-bottom: 20px;
}

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

.service-categories {
    background-color: var(--background-alt);
    padding: 80px 0;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.service-image {
    height: 100%;
}

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

.service-details {
    padding: 30px;
}

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

.service-features {
    margin: 20px 0;
}

.service-features h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-features ul {
    list-style: disc;
    padding-left: 20px;
}

.service-features ul li {
    margin-bottom: 5px;
}

.service-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.service-pricing p {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.custom-packages {
    padding: 80px 0;
    text-align: center;
}

.process-section {
    background-color: var(--background-alt);
    padding: 80px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

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

.about-story .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 30px;
}

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

.about-mission {
    background-color: var(--background-alt);
    padding: 80px 0;
    text-align: center;
}

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

.mission-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mission-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.team-section {
    padding: 80px 0;
    text-align: center;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
}

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

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

.team-member p {
    padding: 0 20px;
    margin-bottom: 10px;
}

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

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 0 20px;
}

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

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

.equipment-section {
    background-color: var(--background-alt);
    padding: 80px 0;
    text-align: center;
}

.equipment-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.equipment-category {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 250px;
    flex: 1;
}

.equipment-category h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.equipment-category ul {
    list-style: disc;
    text-align: left;
    padding-left: 20px;
}

.equipment-category ul li {
    margin-bottom: 10px;
}

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

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

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

.contact-info h2,
.contact-form h2 {
    margin-bottom: 30px;
}

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

.icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

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

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

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

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

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

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

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

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

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

.checkbox-group label {
    margin: 0;
}

.map-section {
    padding-bottom: 80px;
}

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

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

.review-section {
    background-color: var(--background-alt);
    padding: 80px 0;
    text-align: center;
}

.review-section form {
    max-width: 600px;
    margin: 40px auto;
    text-align: left;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin-right: 5px;
    position: relative;
    display: block;
}

.star-rating label:before {
    content: '☆';
    position: absolute;
    font-size: 25px;
    color: var(--text-light);
}

.star-rating input:checked ~ label:before,
.star-rating label:hover ~ label:before,
.star-rating label:hover:before {
    content: '★';
    color: #f8ce0b;
}

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

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

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.cookie-content {
    max-width: var(--container-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 20px;
    max-width: 800px;
}

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

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

/* Pagination */
.pagination {
    text-align: center;
    padding: 20px 0;
}

.current-page {
    display: inline-block;
    padding: 8px 12px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .blog-post,
    .service-card {
        grid-template-columns: 1fr;
    }
    
    .services-intro .container,
    .about-story .container,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        margin-bottom: 80px;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid,
    .posts-grid,
    .mission-values,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        min-width: 100%;
    }
}
