:root {
    --background: #ffffff;
    --foreground: #171717;
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-900: #111827;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #0a0a0a;
        --foreground: #ededed;
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.5;
}

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

/* Navigation */
.nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: 50;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
    
    .nav-links a {
        color: var(--gray-600);
        text-decoration: none;
        transition: color 0.2s;
    }
    
    .nav-links a:hover {
        color: var(--primary);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--primary), #4f46e5);
    color: white;
    text-align: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.avif');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.hero p {
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.5rem;
    }
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: var(--gray-200);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.services h2 {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    background-color: var(--gray-100);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon img {
    width: 6rem;
    height: 6rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    text-align: center;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #9ca3af;
}

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

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

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Page-specific hero sections */
.about-hero,
.services-hero,
.contact-hero {
    background: linear-gradient(to right, var(--primary), #4f46e5);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.about-hero h1,
.services-hero h1,
.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p,
.services-hero p,
.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About page specific styles */
.about-grid {
    padding: 4rem 0;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text ul {
    list-style: none;
    margin: 1.5rem 0;
}

.about-text ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-text ul li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Services page specific styles */
.services-detail {
    padding: 4rem 0;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.cta-section {
    background-color: var(--gray-100);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-600);
}

/* Contact page specific styles */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: var(--primary-light);
}

.contact-info {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 0.5rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-item p {
    color: var(--gray-600);
} 