/* styles.css - External stylesheet for all pages */
/* Color Scheme: Forest Green, Gold, and Fresh Green - Matching TGK Msiza Logo */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #1a3a2f;
    --forest-green-light: #2d5a4a;
    --gold: #c9a227;
    --gold-light: #e0c158;
    --gold-dark: #a88420;
    --fresh-green: #4a9b4a;
    --fresh-green-light: #6bb36b;
    --cream: #f8f6f0;
    --white: #ffffff;
    --text-dark: #2c3e2c;
    --text-muted: #5a6b5a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--cream);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-green-light) 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(26, 58, 47, 0.3);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .desktop-nav,
    .desktop-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    header {
        position: relative;
    }
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-green-light) 50%, var(--fresh-green) 100%);
    color: var(--white);
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    color: var(--cream);
}

/* About Section */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    color: var(--forest-green);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--fresh-green));
    border-radius: 2px;
}

/* Company Story */
.company-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.story-content h3 {
    color: var(--forest-green);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.story-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.story-image {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--gold) 100%);
    height: 400px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(26, 58, 47, 0.2);
    position: relative;
    overflow: hidden;
}

.story-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
    animation: shimmer 8s infinite linear;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Director Profile */
.director-section {
    background: linear-gradient(180deg, var(--cream) 0%, #e8e6e0 100%);
    padding: 5rem 5%;
    position: relative;
}

.director-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--fresh-green), var(--gold));
}

.director-container {
    max-width: 1000px;
    margin: 0 auto;
}

.director-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 58, 47, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.director-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--gold);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.4);
}

.director-info h3 {
    color: var(--forest-green);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.director-title {
    color: var(--gold-dark);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.director-info p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.director-quote {
    background: linear-gradient(135deg, rgba(74, 155, 74, 0.1) 0%, rgba(201, 162, 39, 0.1) 100%);
    padding: 2rem;
    border-left: 5px solid var(--gold);
    margin: 2rem 0;
    font-style: italic;
    color: var(--forest-green);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.director-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Values Section */
.values-section {
    padding: 5rem 5%;
    background: var(--white);
}

.values-container {
    max-width: 1000px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, var(--cream) 0%, var(--white) 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--fresh-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(26, 58, 47, 0.15);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.2);
    color: var(--fresh-green);
}

.value-card h4 {
    color: var(--forest-green);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-green-light) 50%, var(--fresh-green) 100%);
    color: var(--white);
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c9a227' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--forest-green);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(201, 162, 39, 0.5);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

/* Footer */
footer {
    background: var(--forest-green);
    color: var(--cream);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 4px solid var(--gold);
}

footer p {
    color: var(--gold-light);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        margin-top: 0;
        padding: 4rem 5%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .company-story {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .story-image {
        height: 280px;
        order: -1;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .director-profile {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .director-image {
        margin: 0 auto;
        width: 220px;
        height: 220px;
    }

    .director-info h3 {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section h3 {
        font-size: 2rem;
    }
}

/* Additional subtle animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-container,
.director-profile,
.value-card {
    animation: fadeInUp 0.8s ease-out;
}