:root {
    --color-primary: rgb(114, 131, 85);
    --color-primary-dark: rgb(99, 112, 76);
    --color-primary-light: rgb(154, 170, 125);
    --color-bg-light: rgb(219, 225, 209);
    --color-bg-lighter: rgb(210, 217, 197);
    --color-text-light: rgb(230, 235, 220);
    --color-white: #FFF;
    --color-text-dark: #555;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    color: #FFF;
    font-family: "Inter", sans-serif;
    background-color: rgb(114,131,85);

    display: flex;
    flex-direction: column;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-image: url('back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    animation: fadeIn 0.8s ease-out both;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    max-width: 850px;
    padding: 48px 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(8px);
}

.hero-content .headshot {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    margin: 0;
    color: #FFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-content .subtitle {
    font-size: 20px;
    color: #FFF;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 24px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.contacts a {
    color: #FFF;
    text-decoration: none;
    border-radius: 16px;
    padding: 14px 24px;
    background-color: rgba(114, 131, 85, 0.9);
    width: fit-content;
    outline: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.contacts a i {
    margin-right: 8px;
}

.contacts a:hover,
.contacts a:focus {
    background-color: rgba(99, 112, 76, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.services {
    max-width: 1200px;
    padding: 64px 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: #FFF;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgb(154, 170, 125);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: rgb(114, 131, 85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #FFF;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: rgb(99, 112, 76);
    transform: scale(1.1);
}

.service-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: rgb(114, 131, 85);
    margin: 0 0 16px 0;
}

.service-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
}

footer {
    display: flex;
    justify-content: center;
    padding-top: 48px;
}

.offcolor {
    max-width: 850px;
    width: 100%;
    padding: 0 20px;
    color: rgb(210, 217, 197);
    margin-bottom: 48px;
    text-align: center;
}

.bio-section {
    background-color: rgb(114, 131, 85);
    width: 100%;
    padding: 80px 20px;
}

.bio-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.bio-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFF;
    margin: 0 0 32px 0;
}

.bio-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgb(230, 235, 220);
    margin: 0;
}

.services-section {
    background: linear-gradient(135deg, rgb(219, 225, 209) 0%, rgb(210, 217, 197) 100%);
    width: 100%;
    padding: 48px 0;
}

.services-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: rgb(114, 131, 85);
    margin: 0 0 24px 0;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 32px 24px;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content .subtitle {
        font-size: 16px;
    }

    .hero-content .headshot {
        width: 150px;
        height: 150px;
    }

    .bio-section {
        padding: 48px 24px;
    }

    .bio-container {
        padding: 0 24px;
    }

    .bio-title {
        font-size: 36px;
        margin: 0 0 24px 0;
    }

    .bio-text {
        font-size: 16px;
        line-height: 1.7;
        word-wrap: break-word;
    }

    .services-title {
        font-size: 36px;
    }

    .services {
        padding: 48px 20px;
        grid-template-columns: 1fr;
    }

    .contacts a {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .subtitle {
        font-size: 14px;
    }

    .hero-content .headshot {
        width: 120px;
        height: 120px;
    }

    .bio-section {
        padding: 48px 16px;
    }

    .bio-container {
        padding: 0 8px;
    }

    .bio-title {
        font-size: 28px;
    }

    .bio-text {
        font-size: 15px;
    }

    .services-title {
        font-size: 28px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-card h2 {
        font-size: 20px;
    }
}
