/* style/about.css */

/* Variables from brand colors */
:root {
    --color-primary: #FF8C1A;
    --color-secondary: #FFA53A;
    --color-button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --color-card-bg: #17191F;
    --color-background-body: #0D0E12; /* This is the body background from shared.css context */
    --color-text-main: #FFF3E6;
    --color-border: #A84F0C;
    --color-glow: #FFB04D;
    --color-deep-orange: #D96800;
}

/* Base styles for the page-about content */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Text color for dark background */
    background-color: var(--color-background-body); /* Ensure consistency, though body bg is in shared */
}

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

.page-about__section {
    padding: 40px 0;
    margin-bottom: 20px;
}

.page-about__section-title {
    font-size: 2.5em;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

/* Top Section (Hero) */
.page-about__top-section {
    padding-top: 10px; /* As per fixed header spacing rule */
    padding-bottom: 60px;
    background-color: var(--color-background-body);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-about__hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 font size */
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure padding/border included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-about__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff; /* Contrast with gradient */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

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

.page-about__btn-secondary {
    background-color: var(--color-card-bg); /* Dark background for secondary button */
    color: var(--color-primary); /* Brand color for text */
    border: 2px solid var(--color-primary);
}

.page-about__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-about__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-about__hero-image {
    margin-top: 40px; /* Space between content and image */
    text-align: center;
}

.page-about__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Minimum size for all images */
    min-height: 200px;
    object-fit: cover; /* Ensure image covers the area without distortion */
}

/* Milestone List */
.page-about__milestone-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-about__milestone-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: var(--color-text-main);
    font-size: 1.05em;
    transition: transform 0.3s ease;
}

.page-about__milestone-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__milestone-item strong {
    color: var(--color-secondary);
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

/* Product Grid */
.page-about__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__product-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__product-title {
    font-size: 1.8em;
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-about__product-description {
    font-size: 1em;
    color: var(--color-text-main);
    flex-grow: 1; /* Allow description to take available space */
}

/* Content Flex (Security & Team Support) */
.page-about__content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

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

.page-about__content-flex .page-about__text-block {
    flex: 1;
}

.page-about__image-wrap {
    flex: 1;
    text-align: center;
}

.page-about__image-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Security List */
.page-about__security-list,
.page-about__responsibility-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-about__security-item,
.page-about__responsibility-item {
    background-color: var(--color-card-bg);
    border-left: 4px solid var(--color-primary);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: var(--color-text-main);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}