/* ==========================================================================
   Tambal Ban Wante - Company Profile Stylesheet
   Theme: Industrial Garage (Dark Slate, Fiery Orange/Amber, Steel Gray & Teal Accents)
   ========================================================================== */

:root {
    /* Primary Color Palette from Logo & Workshop Images */
    --primary-orange: #ff7a00;
    --primary-dark-orange: #e06000;
    --primary-amber: #fca311;
    --accent-teal: #0d8b94;
    --accent-cyan: #00d2d3;
    
    /* Dark Background Tones */
    --bg-dark: #0f1318;
    --bg-surface: #171c24;
    --bg-card: #1f2631;
    --bg-card-hover: #26303e;
    
    /* Text Tones */
    --text-white: #ffffff;
    --text-light: #e6ebf1;
    --text-muted: #9aa4b2;
    --text-dark: #12161a;
    
    /* Borders & Accents */
    --border-color: rgba(255, 122, 0, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow-orange: 0 10px 25px rgba(255, 122, 0, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
    
    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-normal: 0.35s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.25;
}

.brand-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    color: var(--text-white);
    text-transform: uppercase;
}

.brand-sub {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-orange);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-orange);
    background: rgba(255, 122, 0, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.3rem;
    letter-spacing: -0.5px;
}

.section-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-amber));
    border-radius: 2px;
    margin: 15px auto;
}

.section-desc {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-dark-orange));
    color: var(--text-white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c1a, #ff6a00);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 122, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--text-white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(15, 19, 24, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(15, 19, 24, 0.96);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-orange);
}

.logo-text {
    display: flex;
    gap: 6px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    /*background-image: url('img/Gambar_2.jpg');*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 19, 24, 0.94) 0%, rgba(15, 19, 24, 0.85) 60%, rgba(13, 139, 148, 0.5) 100%);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 122, 0, 0.15);
    color: var(--primary-orange);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary-orange);
    background: linear-gradient(90deg, #ff7a00, #ffb03a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 122, 0, 0.15);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.feature-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Product Section
   ========================================================================== */
.product-section {
    background-color: var(--bg-surface);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 32px 24px 24px;
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 122, 0, 0.15);
    background: var(--bg-card-hover);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-amber);
    background: rgba(252, 163, 17, 0.12);
    border: 1px solid rgba(252, 163, 17, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.product-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.18), rgba(13, 139, 148, 0.2));
    border: 1px solid var(--border-color);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.product-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: 18px;
}

.product-status {
    font-size: 0.8rem;
    color: #00d2d3;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    line-height: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(13, 139, 148, 0.15);
    border: 1px solid rgba(13, 139, 148, 0.3);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-surface);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-frame {
    position: relative;
    border-radius: 18px;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-teal));
    box-shadow: var(--shadow-card);
}

.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.about-badge-exp {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    border: 2px solid var(--primary-orange);
    border-radius: 14px;
    padding: 16px 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.exp-number {
    font-family: 'Teko', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-orange);
    line-height: 1;
}

.exp-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-white);
    max-width: 120px;
}

.about-desc-lead {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 16px;
}

.about-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.about-check-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.check-item i {
    color: var(--primary-orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-cta-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    background: var(--bg-card);
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.cta-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.cta-info h5 {
    font-size: 1rem;
    color: var(--primary-amber);
    margin-bottom: 2px;
}

.cta-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section & Google Maps
   ========================================================================== */
.contact-section {
    background-color: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--primary-orange);
    transform: translateX(4px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 122, 0, 0.12);
    border: 1px solid var(--border-color);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    word-break: break-word;
}

.contact-link {
    font-size: 0.85rem;
    color: var(--primary-orange);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-link:hover {
    color: var(--primary-amber);
    text-decoration: underline;
}

.status-open {
    font-size: 0.8rem;
    color: #2ed573;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.status-open i {
    font-size: 0.6rem;
}

/* Map Embed Styling */
.map-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
}

.map-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-title i {
    color: var(--primary-orange);
}

.map-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 210, 211, 0.12);
    border: 1px solid rgba(0, 210, 211, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
}

.map-frame-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
    min-height: 400px;
}

.map-frame-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    filter: invert(90%) hue-rotate(180deg) contrast(95%);
    /* Filter dark mode aesthetic to match site theme */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #090c0f;
    border-top: 1px solid var(--border-subtle);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .footer-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--primary-orange);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: var(--text-white);
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary-orange);
    padding-left: 6px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-orange);
    width: 18px;
}

.footer-bottom {
    background: #050709;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.back-to-top {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    transition: var(--transition-fast);
}

.back-to-top:hover {
    background: var(--primary-orange);
    color: var(--text-white);
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
}

.floating-wa i {
    font-size: 1.4rem;
}

.floating-wa:hover {
    transform: translateY(-4px) scale(1.03);
    background: #20ba5a;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img {
        height: 340px;
    }
    
    .about-badge-exp {
        bottom: 15px;
        right: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-frame-container {
        min-height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: rgba(15, 19, 24, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 25px;
        transition: 0.35s ease;
        border-top: 1px solid var(--border-subtle);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.15rem;
        display: block;
    }

    .nav-cta {
        width: 100%;
        max-width: 250px;
    }

    .hero {
        padding: 130px 0 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .floating-wa-text {
        display: none;
    }

    .floating-wa {
        padding: 14px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
}
