/* 
 * Bengkel Las Abadi Makmur - Custom Stylesheet
 * Desain maskulin, kokoh, dan profesional
 * Warna dominan: Hitam, Abu-abu, Oranye
 */

/* ========================================
   ROOT VARIABLES & RESET
   ======================================== */
:root {
    /* Color Palette */
    --primary-color: #FF6B00;
    --primary-dark: #CC5500;
    --primary-light: #FF8533;
    --secondary-color: #1A1A1A;
    --dark-bg: #0D0D0D;
    --light-bg: #F5F5F5;
    --gray-dark: #2A2A2A;
    --gray-medium: #4A4A4A;
    --gray-light: #6A6A6A;
    --white: #FFFFFF;
    --text-light: #E0E0E0;

    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Bebas Neue', cursive;

    /* Spacing */
    --section-padding: 100px 0;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-left: 60px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.section-title {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.bg-dark .section-title {
    color: var(--white);
}

.section-description {
    font-size: 18px;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(13, 13, 13, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white) !important;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.navbar-brand i {
    font-size: 32px;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 16px;
    margin: 0 15px;
    padding: 8px 0 !important;
    position: relative;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    background-image: url('assets/images/hero_welding_background_1768908403064.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.9) 0%, rgba(26, 26, 26, 0.85) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.2);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 72px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    animation: expandWidth 1.5s ease;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 15px 40px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    animation: scrollDown 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
}

@keyframes scrollDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.bg-dark {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.about-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.5);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-content {
    text-align: center;
    color: var(--white);
    animation: rotateReverse 20s linear infinite;
}

@keyframes rotateReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.badge-content h3 {
    font-size: 48px;
    margin-bottom: 0;
}

.badge-content p {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.feature-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition-smooth);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.feature-box i {
    font-size: 32px;
    color: var(--primary-color);
    min-width: 40px;
}

.feature-box h5 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* ========================================
   SERVICE SECTION
   ======================================== */
.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.9) 0%, rgba(204, 85, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 64px;
    color: var(--white);
    transform: scale(0);
    transition: var(--transition-smooth);
}

.service-card:hover .service-overlay i {
    transform: scale(1);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.service-icon i {
    font-size: 32px;
    color: var(--white);
}

.service-content h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: var(--gray-medium);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-color);
    font-size: 18px;
}

.service-card-special {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-special .service-content {
    color: var(--white);
}

.service-card-special h3 {
    color: var(--white);
}

.service-card-special .service-icon {
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
}

.service-card-special .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.service-card-special .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.95) 0%, rgba(204, 85, 0, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.gallery-content p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.gallery-content i {
    font-size: 48px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.contact-icon i {
    font-size: 36px;
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--gray-light);
    margin-bottom: 0;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-success {
    background: #25D366;
    border-color: #25D366;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-success:hover {
    background: #1DA851;
    border-color: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand i {
    font-size: 48px;
    color: var(--primary-color);
}

.footer-brand h3 {
    color: var(--white);
    font-size: 24px;
    line-height: 1.2;
    margin: 0;
}

.footer-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-title {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 20px;
    min-width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 30px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }

    .badge-content h3 {
        font-size: 32px;
    }

    .badge-content p {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .navbar-brand .brand-text {
        font-size: 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 12px;
        padding-left: 40px;
    }

    .section-subtitle::before {
        width: 30px;
    }
}