/* About Page Specific Styles */

/* --- Hero Section --- */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1596394516093-501ba68a0ba6?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 80px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        margin-bottom: 40px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }
}

/* --- Section Title Common --- */
.about-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.about-section-title p {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.about-section-title h2 {
    font-size: 2.5rem;
    color: #333;
}

@media (max-width: 768px) {
    .about-section-title h2 {
        font-size: 2rem;
    }

    .about-section-title {
        margin-bottom: 40px;
    }
}

/* --- Veterans Section --- */
.veterans-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.veterans-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.veterans-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.veterans-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- History Section --- */
.history-section {
    background-color: #f9f5f0;
    /* Light beige bg */
    padding: 100px 0;
}

.history-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Vertical Line */
.history-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #dcdcdc;
    z-index: 0;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}

.history-item:nth-child(even) {
    flex-direction: row-reverse;
}

.history-content {
    width: 45%;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Arrow/Triangle */
.history-content::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
}

.history-item:nth-child(odd) .history-content::after {
    left: 100%;
    border-left-color: white;
}

.history-item:nth-child(even) .history-content::after {
    right: 100%;
    border-right-color: white;
}

/* Center Dot */
.history-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border: 4px solid #f9f5f0;
    border-radius: 50%;
    z-index: 2;
}

.history-image {
    width: 45%;
}

.history-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.history-year {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.history-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.history-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Conservation Section --- */
.conservation-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.conservation-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- Sustainability Section --- */
.sustainability-section {
    background-color: #f4f4f4;
    padding: 100px 0;
    text-align: center;
}

.sustainability-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 20px;
    align-items: start;
}

.sustainability-image img {
    width: 100%;
    border-radius: 20px;
    height: 400px;
    object-fit: cover;
}

.accordion-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background: #a67c52;
    color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #8b6540;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.accordion-content p {
    padding: 20px;
    color: #666;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Approximate max height */
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 1024px) {

    .veterans-section,
    .conservation-section,
    .sustainability-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 5%;
    }

    .history-container::before {
        left: 20px;
    }

    .history-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 50px;
        margin-bottom: 60px;
    }

    .history-content,
    .history-image {
        width: 100%;
    }

    .history-image {
        margin-top: 20px;
        order: -1;
    }

    .history-item::before {
        left: -32px;
        /* Adjust for container padding/margin */
    }

    .history-content::after {
        display: none;
    }
}