/* Reset en basis stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styling */
header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('images/diamant gent kantoren/hoofdfoto.jpg');
    background-size: cover;
    background-position: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.2)
    );
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all 0.3s ease;
}

/* Styling voor als er wordt gescrold */
nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Logo en menu items worden zwart bij scrollen */
nav.nav-scrolled .logo {
    color: #1a1a1a;
}

nav.nav-scrolled .nav-links a {
    color: #1a1a1a;
}

nav.nav-scrolled .nav-links a::after {
    background-color: #1a1a1a;
}

.logo {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: white;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    background: transparent;
}

.logo img {
    height: 90px;
    width: 200px;
    display: block;
    object-fit: contain;
    background: transparent;
}

/* Responsive adjustments for the logo */
@media (max-width: 1200px) {
    .logo img {
        height: 80px;
        width: 180px;
    }
}

@media (max-width: 992px) {
    .logo img {
        height: 70px;
        width: 160px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
        width: 140px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
        width: 120px;
    }
}

.nav-links {
    display: flex;
    gap: 4rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 300;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Kleuren aanpassen wanneer er wordt gescrold */
nav.nav-scrolled .logo {
    color: #1a1a1a;
}

nav.nav-scrolled .nav-links a {
    color: #1a1a1a;
}

nav.nav-scrolled .nav-links a::after {
    background-color: #1a1a1a;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 15vh;
}

.header-content h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.header-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 3px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: #333;
}

/* Recente Projecten Sectie */
.recent-projects {
    padding: 8rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-header .subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.recent-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.project-card.featured {
    grid-column: 1 / -1;
    aspect-ratio: 21/9;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.5),
        transparent
    );
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

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

.project-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.project-overlay h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.project-card:not(.featured) .project-overlay h3 {
    font-size: 1.5rem;
}

.project-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-project {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: gap 0.3s ease;
}

.view-project:hover {
    gap: 1rem;
}

.section-footer {
    text-align: center;
    margin-top: 4rem;
}

.section-footer .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.section-footer .cta-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Over Ons Sectie */
.about {
    padding: 8rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.about-content .lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-content .lead-text:last-child {
    margin-bottom: 0;
}

.about-image {
    position: relative;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-icon i {
    font-size: 24px;
    color: #333;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.2);
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* Partners Sectie */
.partners {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-header {
    text-align: center;
    margin-bottom: 5rem;
}

.partners-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.partners-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.partner-logo img:hover {
    opacity: 0.7;
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-info p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-social a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #4a90e2;
}

.footer-form {
    padding: 0 2rem;
}

.footer-form h3 {
    margin-bottom: 25px;
    font-size: 1.5em;
    color: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: -10px;
    background-color: #1a1a1a;
    padding: 0 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group textarea + label {
    top: -10px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    color: #ffffff;
}

.submit-btn {
    background-color: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.footer-links {
    padding: 0 2rem;
}

.footer-links h3 {
    margin-bottom: 25px;
    font-size: 1.5em;
    color: #ffffff;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #ffffff;
}

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

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info,
    .footer-form,
    .footer-links {
        padding: 0;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Waarom Het Projectbureau Sectie */
.why-us {
    padding: 8rem 0;
    background: linear-gradient(to right, #f8f8f8 0%, #fff 100%);
}

.why-us-header {
    text-align: center;
    margin-bottom: 5rem;
}

.why-us-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.why-us-header .subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.reason-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    gap: 2rem;
}

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

.reason-icon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reason-icon i {
    font-size: 24px;
    color: white;
}

.reason-content {
    flex: 1;
}

.reason-number {
    font-size: 1rem;
    font-weight: 600;
    color: #999;
    margin-bottom: 1rem;
    display: block;
}

.reason-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.reason-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reason-details {
    list-style: none;
    padding: 0;
}

.reason-details li {
    color: #444;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.reason-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a1a1a;
}

/* Responsive aanpassingen voor Why Us sectie */
@media (max-width: 992px) {
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .reason-card {
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .reason-icon {
        margin: 0 auto;
    }

    .reason-details li {
        padding-left: 0;
    }

    .reason-details li::before {
        display: none;
    }
}

/* Testimonials Sectie */
.testimonials {
    padding: 8rem 0;
    background: #f8f8f8;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

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

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
    display: block;
    line-height: 1.4;
}

.quote-icon {
    color: #1a1a1a;
    opacity: 0.1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-item blockquote {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    font-style: italic;
}

@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-info {
        text-align: center;
    }
}

/* Onze Projecten Sectie */
.projects {
    padding: 8rem 0;
    background: #f8f8f8;
}

.projects .container {
    max-width: 1400px;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.project-filters button {
    padding: 0.8rem 2rem;
    border: none;
    background: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.project-filters button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.project-filters button:hover::after,
.project-filters button.active::after {
    width: 100%;
}

.project-filters button.active {
    color: #1a1a1a;
    font-weight: 500;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
}

.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.project-item.wide {
    grid-column: span 2;
    aspect-ratio: 16/7;
}

.project-item.tall {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

.project-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16/12;
}

.project-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.4) 60%,
        transparent
    );
    padding: 2.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.project-overlay h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.project-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 1rem;
}

/* Responsive aanpassingen */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .project-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .project-filters button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-overlay {
        padding: 2rem;
    }
    
    .project-overlay h3 {
        font-size: 1.5rem;
    }
    
    .project-overlay p {
        font-size: 1rem;
    }
}

html {
    scroll-behavior: smooth;
}

/* Project Detail Overlay */
.project-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-detail-overlay.active {
    display: flex;
    opacity: 1;
}

.project-detail-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    margin: auto;
    background: white;
    border-radius: 12px;
    overflow-y: auto;
    padding: 3rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-detail-overlay.active .project-detail-content {
    transform: translateY(0);
}

.close-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
    line-height: 1;
}

.project-detail-header {
    margin-bottom: 3rem;
    text-align: center;
}

.project-detail-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #f0f0f0;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
}

.project-detail-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.project-detail-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    width: 100%;
}

.gallery-item {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.project-description h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

.project-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-specs {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
}

.project-specs h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.project-specs ul {
    list-style: none;
    padding: 0;
}

.project-specs li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.project-specs li.spacer {
    height: 16px;
}

.project-specs strong {
    flex: 0 0 140px;
    margin-right: 16px;
}

.project-specs span {
    flex: 1;
}

@media (max-width: 768px) {
    .project-detail-content {
        padding: 2rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-info {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 350px;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-animation {
    position: relative;
    width: 60px;
    height: 60px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-overlay.active .loading-animation {
    transform: scale(1);
    opacity: 1;
}

.loading-animation:before,
.loading-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #f0f0f0;
    border-top-color: #333;
    border-radius: 50%;
    animation: rotate 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loading-animation:after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: transparent;
    border-top-color: #666;
    animation-duration: 0.8s;
    animation-direction: reverse;
}

.loading-text {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #333;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-overlay.active .loading-text {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background: #fff;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle i {
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.faq-item.active .faq-question {
    background: #f8f8f8;
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .faq {
        padding: 4rem 0;
    }

    .faq h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8f8f8;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.service-item:hover .service-icon {
    background: #e0e0e0;
}

.service-icon i {
    font-size: 2rem;
    color: #333;
    transition: color 0.3s ease;
}

.service-item:hover .service-icon i {
    color: #000;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
    text-align: center;
}

/* Responsive adjustments for larger screens */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1400px;
        gap: 3rem;
    }

    .service-item {
        padding: 2.5rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
    }

    .service-icon i {
        font-size: 2.2rem;
    }

    .service-item h3 {
        font-size: 1.5rem;
    }

    .service-item p {
        font-size: 1.1rem;
    }
}
