/* ==============================================
   TeamCo - Custom Styles
   Modern Minimalist Black & Yellow Theme
   ============================================== */

/* ============================================
   1. ROOT VARIABLES & BASE STYLES
   ============================================ */
:root {
    /* Primary Colors - Blue & Gray Modern Theme */
    --primary-yellow: #3a86ff;   /* Ganti jadi biru utama */
    --primary-black: #0d1117;    /* Hitam kebiruan */
    --dark-gray: #1f2937;        /* Abu gelap elegan */
    --medium-gray: #374151;      /* Abu sedang */
    --light-gray: #e5e7eb;       /* Abu muda netral */
    --white: #ffffff;            /* Putih bersih */
    
    /* Accent Colors */
    --yellow-light: #64b5f6;     /* Biru muda lembut */
    --yellow-dark: #1565c0;      /* Biru tua solid */
    --text-dark: #111827;        /* Warna teks utama */
    --text-light: #d1d5db;       /* Warna teks di background gelap */

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-yellow: 0 4px 20px rgba(255, 199, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   2. NAVIGATION
   ============================================ */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-yellow);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border-color: var(--primary-yellow);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFC700' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   3. BUTTONS
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
    border: none;
    color: var(--primary-black);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-yellow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--yellow-light), var(--primary-yellow));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 199, 0, 0.4);
    color: var(--primary-black);
}

.btn-outline-primary {
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
    background: transparent;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 199, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="%230A0A0A"/><circle cx="50" cy="50" r="1" fill="%23FFC700" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
}

.hero-image img:hover {
    transform: scale(1.02);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-yellow);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   5. STATS SECTION
   ============================================ */
.stats-section {
    padding: 5rem 0;
    background: var(--dark-gray);
}

.stat-item {
    padding: 2rem;
    border-radius: 15px;
    background: var(--medium-gray);
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   6. SECTIONS
   ============================================ */
.about-preview-section,
.about-section,
.business-scope-section,
.products-section {
    padding: 6rem 0;
    background: var(--primary-black);
}

.product-categories-section,
.mission-section,
.values-section {
    padding: 6rem 0;
    background: var(--dark-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================
   7. CATEGORY CARDS
   ============================================ */
.category-card {
    background: var(--medium-gray);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-image {
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.category-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.category-link {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-link:hover {
    color: var(--yellow-light);
    gap: 0.75rem;
}

/* ============================================
   8. FEATURE CARDS
   ============================================ */
.why-choose-section {
    padding: 6rem 0;
    background: var(--primary-black);
}

.feature-card {
    background: var(--dark-gray);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--medium-gray);
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    box-shadow: var(--shadow-yellow);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-text {
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   9. MISSION & SCOPE CARDS
   ============================================ */
.mission-card,
.scope-card,
.value-card {
    background: var(--primary-black);
    padding: 3rem 2rem;
    border-radius: 15px;
    transition: var(--transition-normal);
    border: 2px solid var(--medium-gray);
    height: 100%;
}

.mission-card:hover,
.scope-card:hover,
.value-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-yellow);
    transform: translateY(-5px);
}

.mission-icon,
.scope-icon,
.value-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    display: block;
}

.mission-title,
.scope-title,
.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.mission-text,
.scope-text,
.value-text {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   10. PRODUCT CARDS
   ============================================ */
.product-card {
    background: var(--dark-gray);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--white);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.product-category {
    color: var(--primary-yellow);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ============================================
   11. CTA SECTION
   ============================================ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-black) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   12. PAGE HEADER
   ============================================ */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* ============================================
   13. CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 6rem 0;
    background: var(--primary-black);
}

.contact-info-wrapper {
    background: var(--dark-gray);
    padding: 3rem;
    border-radius: 15px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--medium-gray);
}

.contact-info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.contact-details h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--dark-gray);
    padding: 3rem;
    border-radius: 15px;
}

.form-label {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    background: var(--medium-gray);
    border: 2px solid transparent;
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    background: var(--medium-gray);
    border-color: var(--primary-yellow);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 199, 0, 0.25);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-select option {
    background: var(--medium-gray);
    color: var(--white);
}

#formMessage {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#formMessage.show {
    opacity: 1;
}

#formMessage.success {
    background-color: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

#formMessage.error {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

#formMessage .icon {
    margin-right: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

#formMessage.success .icon {
    color: #28a745;
}

#formMessage.error .icon {
    color: #dc3545;
}

/* Opsional: animasi loading saat “Sending...” */
#formMessage .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #ffc700;
    border-radius: 50%;
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



/* ============================================
   14. MAP SECTION
   ============================================ */
.map-section {
    padding: 4rem 0 6rem;
    background: var(--primary-black);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* ============================================
   15. FOOTER
   ============================================ */
.footer {
    background: var(--dark-gray);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--medium-gray);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-yellow);
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: var(--medium-gray);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--text-light);
    margin: 0;
}

.footer-legal {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: var(--transition-fast);
}

.footer-legal:hover {
    color: var(--primary-yellow);
}

/* ============================================
   16. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .category-image,
    .product-image {
        height: 200px;
    }
    
    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-legal {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }
}

/* ============================================
   17. UTILITIES
   ============================================ */
.text-yellow {
    color: var(--primary-yellow) !important;
}

.bg-dark-gray {
    background-color: var(--dark-gray) !important;
}

.bg-medium-gray {
    background-color: var(--medium-gray) !important;
}

/* ============================================
   18. ANIMATIONS
   ============================================ */
[data-aos] {
    transition-duration: 0.8s;
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}