/* style/about.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --dark-text-on-light-bg: #333333; /* For contrast on light backgrounds like buttons */
}

.page-about {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 50px;
    background-color: var(--background-color);
}

.page-about__hero-image {
    width: 100%;
    height: 675px;
    object-fit: cover; /* Cover for desktop, will be contain for mobile */
    display: block;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-about__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-about__description {
    font-size: 1.1rem;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: var(--dark-text-on-light-bg); /* Ensuring contrast on light gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-about__btn-secondary {
    background-color: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-text-on-light-bg); /* Dark text on primary color background for hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.6);
}

.page-about__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-about__section:last-of-type {
    border-bottom: none;
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.5);
}

.page-about__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.page-about__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
    min-width: 0;
}

.page-about__text-block p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-about__image {
    flex: 1;
    min-width: 400px; /* Minimum width for desktop */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    display: block; /* Ensure it behaves as a block element */
    max-width: 100%;
}

.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__value-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-about__value-item:hover {
    transform: translateY(-5px);
}

.page-about__value-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--glow-color));
    max-width: 100%; /* Ensure responsiveness */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__value-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__value-description {
    font-size: 1rem;
    color: var(--text-main-color);
}

.page-about__contact-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-main-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}