/* ============================================
   PERCETAKAN DARAWOLONG - CUSTOM STYLES
   ============================================ */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    
    /* Secondary Colors */
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --secondary-light: #fbbf24;
    
    /* Neutral Colors */
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(124, 58, 237, 0.9) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --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);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ===== SECTION PADDING ===== */
.section-padding {
    padding: 100px 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition-fast);
}

.navbar-brand i {
    color: var(--secondary-color);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    padding: 8px 20px !important;
    margin: 0 5px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
    background: rgba(245, 158, 11, 0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.badge-custom {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease;
}

.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-light {
    border: 2px solid var(--white);
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Stats Row */
.stats-row {
    animation: fadeInUp 1.6s ease;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 32px;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.scroll-indicator a:hover {
    opacity: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 20px;
    transition: var(--transition-normal);
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.about-badge i {
    font-size: 24px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Vision Mission Cards */
.vision-mission-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.vision-mission-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.vm-icon i {
    font-size: 28px;
    color: var(--white);
}

.vm-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.vm-text {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-card.featured .service-title,
.service-card.featured .service-description,
.service-card.featured .service-features li {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card.featured .service-icon i {
    color: var(--white);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-description {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 16px;
}

.service-card.featured .service-features li i {
    color: var(--white);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

.service-card.featured .service-link {
    color: var(--white);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: var(--white);
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.portfolio-info p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.btn-view {
    padding: 10px 25px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-view:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* ===== CONTACT SECTION ===== */
.contact-info-wrapper,
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 15px;
    transition: var(--transition-normal);
}

.contact-info-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--white);
}

.contact-details h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-details p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Social Media */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    padding: 12px 20px;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo i {
    color: var(--secondary-color);
}

.footer-description {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray-light);
    font-size: 14px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 18px;
}

.footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    font-size: 14px;
    color: var(--gray-light);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .navbar.scrolled .navbar-brand,
    .navbar.scrolled .nav-link {
        color: var(--dark) !important;
    }
    
    .navbar-toggler {
        border-color: var(--white);
    }
    
    .navbar.scrolled .navbar-toggler {
        border-color: var(--dark);
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .btn-primary,
    .btn-outline-light {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }
    
    .stats-row .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}