/* Clean CSS for Wibbly Wobbly Robots */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --bg-light: #ffffff;
    --bg-section: #f5f5f5;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--bg-light);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover,
nav a.active {
    opacity: 0.7;
}

/* Hero Section */
.hero-banner {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 4rem 2rem;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Cabin', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Content Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-section);
}

h2 {
    font-family: 'Cabin', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
}

h3 {
    font-family: 'Cabin', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

h4 {
    font-family: 'Cabin', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* About Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.about-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.about-card h4 {
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-card p strong {
    color: var(--text-dark);
    font-weight: 700;
}

.about-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.about-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.about-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-dark);
    font-weight: bold;
}

/* Gallery Section */
.gallery-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.project-item h3 {
    font-family: 'Cabin', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.gallery-caption {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-section,
.contact-info-section {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-section h3,
.contact-info-section h3 {
    font-family: 'Cabin', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-info-section h4 {
    font-family: 'Cabin', sans-serif;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-info-section h4:first-of-type {
    margin-top: 1rem;
}

.contact-info-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    cursor: pointer;
}

.form-group .form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-group .required {
    color: #ff6b6b;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details h4 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.contact-details h4:first-of-type {
    margin-top: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: 'Cabin', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #333333;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-banner {
        min-height: 400px;
        padding: 2rem 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
