/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #C5A572;
    --dark-color: #2C2C2C;
    --light-bg: #F8F6F3;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-img {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 200px;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons svg {
    width: 24px;
    height: 24px;
    fill: var(--text-dark);
    transition: fill 0.3s;
}

.social-icons a:hover svg {
    fill: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/2794Hakala-22.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

/* Services Section */
.services-intro {
    background: var(--dark-color);
    color: var(--white);
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.services-text p {
    margin-bottom: 1.5rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.25rem;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 0 0 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 0 1.5rem 0;
}

.section-cta {
    text-align: center;
}

/* Standard Section */
.standard-section {
    background: var(--light-bg);
}

.standard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.standard-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.badge {
    width: 150px;
    margin-bottom: 2rem;
}

.badge img {
    width: 100%;
}

.standard-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.standard-content p {
    margin-bottom: 1.5rem;
}

.standard-content a {
    color: var(--primary-color);
}

/* Testimonial Section */
.testimonial-section {
    background: var(--primary-color);
    color: var(--white);
}

.marquee {
    overflow: hidden;
    margin-bottom: 3rem;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 4rem;
    font-weight: bold;
    margin-right: 2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
}

/* Careers CTA */
.careers-cta {
    background: var(--dark-color);
    color: var(--white);
}

.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.careers-image img {
    width: 100%;
    border-radius: 10px;
}

.careers-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.careers-content p {
    margin-bottom: 1.5rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.footer-col address {
    font-style: normal;
}

.footer-col a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links svg {
    width: 30px;
    height: 30px;
    fill: var(--text-dark);
    transition: fill 0.3s;
}

.social-links a:hover svg {
    fill: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-content,
    .standard-grid,
    .careers-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .marquee-content span {
        font-size: 2rem;
    }

    .logo-img {
        height: 60px;
    }

    section {
        padding: 3rem 0;
    }
}

/* Page Header */
.page-header {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

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

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

.info-item address {
    font-style: normal;
    line-height: 1.8;
}

.info-item .social-links {
    justify-content: flex-start;
}

/* Form Button Styles */
button.btn {
    cursor: pointer;
    border: 2px solid transparent;
}

button.btn:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .social-links {
        justify-content: flex-start;
    }
}
