/* Reset and Base Styles */
:root {
    --primary: #9A3412;
    --primary-light: #C2410C;
    --primary-dark: #7C2D12;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: var(--gray-900);
}

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

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

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

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

    h2 {
        font-size: 3rem;
    }

    h3 {
        font-size: 2rem;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo {
    height: 7rem;
    width: auto;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-button.button-scrolled {
    color: var(--gray-900);
}

.desktop-menu {
    display: flex;
    gap: 2rem;
}

.desktop-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.desktop-menu.menu-scrolled a {
    color: var(--gray-900);
}

.desktop-menu a:hover {
    color: var(--gray-200);
}

.desktop-menu.menu-scrolled a:hover {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
    display: block;
    color: var(--gray-900);
    text-decoration: none;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu.hidden {
        display: none;
    }

    .mobile-menu:not(.hidden) {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text {
    max-width: 800px;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--gray-100);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 4rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.card {
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--primary);
    border-radius: 1rem;
    transform: rotate(3deg);
    z-index: 0;
}

.vision.card::before {
    transform: rotate(-3deg);
}

.card-content {
    position: relative;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    height: 12rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary);
    padding: 1.5rem 1.5rem 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0 1.5rem 1.5rem;
}

.service-card li {
    display: flex;
    align-items: start;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.service-card li::before {
    content: '•';
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--primary);
    color: var(--white);
}

.contact-intro {
    text-align: center;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--gray-200);
}

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

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 6rem;
    width: auto;
}

.footer-content {
    text-align: center;
}

.copyright {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .footer-contacts {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .separator {
        display: inline;
    }
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.separator {
    display: none;
    color: var(--gray-400);
}

/* Utilities */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 640px) {
    .btn {
        width: 100%;
    }

    .hero-text p {
        font-size: 1.125rem;
    }

    .section-header p {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}