/* =============================================
   new-style.css
   Merged styles for Gracewebpages:
   - Groupgearstory.asp
   - SustainabilityatGroupGear.asp
   
   Compared with basic-style.css:
   - Removed duplicate: body { margin: 0 } (already in basic-style.css)
   - Renamed .container  → .gg-container  (basic-style.css uses .container:after clearfix)
   - Renamed footer      → .gg-page-footer (basic-style.css uses footer { clear:both })
   ============================================= */

/* --- CSS Custom Properties (Sustainability page) --- */
:root {
    --primary-teal: #008080;
    --secondary-teal: #20b2aa;
    --light-grey: #f4f7f4;
    --dark-text: #333;
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.08);
}

/* =============================================
   Page: Group Gear Story
   ============================================= */
body.page-gg-story {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    scroll-behavior: smooth;
}

.hero-gradient {
    background: linear-gradient(135deg, #f0fdfa 0%, #e2e8f0 100%);
}

.accent-text {
    background: linear-gradient(135deg, #0d9488, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.year-pill {
    background: #0d9488;
    color: white;
    padding: 2px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    z-index: 10;
}

/* Vertical Line Logic */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #cbd5e1;
    z-index: 0;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
        transform: none;
    }
}

/* =============================================
   Page: Sustainability at GroupGear
   ============================================= */

/* body margin:0 removed — already in basic-style.css */
body.page-sustainability {
    
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-grey);
    padding: 0;
    scroll-behavior: smooth;
}

/* --- Header Section --- */
.hero-header {
    background: #004d4d;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- General Layout ---
   Renamed from .container → .gg-container
   (basic-style.css uses .container:after as a clearfix utility) */
.gg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
    animation: slideInUp 0.8s ease-out;
}

.section-intro h2 {
    font-size: 2.2rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeIn 1s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card-image-container {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eaddca;
    border-bottom: 5px solid var(--secondary-teal);
    position: relative;
    overflow: hidden;
}

.feature-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 5px solid var(--secondary-teal);
}

.feature-card-content {
    padding: 30px;
    flex-grow: 1;
}

.feature-card-content h3 {
    color: var(--primary-teal);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.feature-card-content ul {
    list-style: none;
    padding: 0;
}

.feature-card-content li {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.feature-card-content li strong {
    color: var(--primary-teal);
    display: block;
    margin-bottom: 3px;
}

.icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-box {
    background-color: #e0f2f1;
    color: var(--primary-teal);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    border: 1px dashed var(--secondary-teal);
}

/* --- Footer ---
   Renamed from element selector `footer` → .gg-page-footer
   (basic-style.css uses footer { clear:both; margin-bottom:10px }) */
.gg-page-footer {
    text-align: center;
    padding: 40px;
    background-color: #222;
    color: #bbb;
    margin-top: 60px;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 2.5rem;
    }

    .gg-container {
        padding: 40px 15px;
    }
}
