/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Animated background effect for hero section */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: left;
    justify-content: left;
    text-align: left;
    padding: 80px 1rem 0rem 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, #2444BF 0%, #1E64C3 50%, #0D98CA 100%),
        radial-gradient(circle at 20% 80%, #2444BF 0%, #2444BF 60%, transparent 80%),
        radial-gradient(circle at 80% 20%, #1E64C3 0%, #1E64C3 60%, transparent 80%),
        radial-gradient(circle at 40% 40%, #1F93C1 0%, #1F93C1 60%, transparent 80%),
        radial-gradient(circle at 60% 60%, #2444BF 0%, #2444BF 60%, transparent 80%);
    pointer-events: none;
    z-index: -1;
    opacity: 1;
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Funnel Display font for Groundworks branding */
.nav-logo,
.hero-title {
    font-family: 'Funnel Display', serif;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
}



.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(3.3rem, 7.5vw, 4.2rem);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.6;
}

/* Sections */
.section {
    padding: 0rem 2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 4rem;
    text-align: left;
    padding: 0 2rem;
    letter-spacing: -0.02em;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0;
}

.project-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-4px);
}



.project-image {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 240px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e0e0e0;
}



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

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

.project-content {
    padding: 0;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.project-title-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.project-badge {
    background-color: #ff6b6b;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
}

.project-description {
    color: #666666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.project-link {
    color: #000000;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial blockquote {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial cite {
    color: #888888;
    font-size: 0.9rem;
    line-height: 1.4;
}

.testimonial cite strong {
    color: #ffffff;
    font-weight: 600;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #666666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .project-image {
        height: 200px;
    }
    

    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .project-image {
        height: 180px;
    }
    

    
    .project-card,
    .testimonial {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card,
.testimonial {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Selection styles */
::selection {
    background-color: rgba(0, 0, 0, 0.2);
    color: #000000;
} 