/* Custom Styles for Rabbani Phone */

:root {
    --primary-color: #000;
    --secondary-color: #eee;
    --accent-color: #e6c619;
    --text-color: #333;
    --light-text: #fff;
    --success-color: #28a745;
    --border-radius: 5px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-header {
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

.tagline {
    font-size: 12px;
    margin-top: 4px;
    color: var(--accent-color);
}

.search-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-btn {
    background-color: var(--accent-color);
    border: none;
    color: var(--primary-color);
}

.welcome-text {
    font-size: 14px;
}

/* Navigation */
.main-nav {
    background-color: #111;
    border-top: 1px solid #333;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    flex: 1;
    text-align: center;
}

.nav-menu li a {
    display: block;
    padding: 15px 10px;
    color: var(--light-text);
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-menu li a:hover {
    background-color: #333;
    color: var(--accent-color);
}

/* Main Content Sections */
main {
    padding: 0 0 40px;
}

section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    /* Background diatur oleh class luxury-gradient di elegant-styles.css */
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 24px;
    color: #555;
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

/* Features Section */
.features-section {
    background-color: #fff;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.features-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--success-color);
}

/* Products Section */
.products-section {
    background-color: #f9f9f9;
}

.category-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    height: 100%;
}

.category-card h3 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.product-item {
    margin-bottom: 15px;
    text-align: center;
}

.product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.product-specs {
    font-size: 14px;
    color: #777;
}

.product-price {
    font-weight: bold;
    color: var(--accent-color);
}

.btn-more {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #777;
    font-size: 14px;
}

.advantages {
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.advantage-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.advantage-tag {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.advantage-tag a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Testimonial Section */
.testimonial-section {
    background-color: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Contact Links */
.contact-links {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.contact-links h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-links a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Cicilan Section */
.cicilan-section {
    padding: 50px 0;
}

.page-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.nav-tabs-custom {
    margin-bottom: 20px;
    background-color: #f1f1f1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tab-link {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
}

.tab-link.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cicilan-info h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.advantages-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--success-color);
}

.requirement-box {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.requirement-box h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.requirement-box h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.requirement-item {
    display: flex;
    margin-bottom: 20px;
}

.requirement-item .icon {
    margin-right: 15px;
    font-size: 24px;
    color: var(--primary-color);
}

.requirement-item .content strong {
    display: block;
    margin-bottom: 5px;
}

.requirement-item .content ul {
    padding-left: 20px;
}

.commitment-list {
    padding-left: 20px;
}

/* Buttons */
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
    transition: all 0.3s;
}

.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary:hover,
.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

/* Social Links */
.social-links a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .feature-card, .product-card, .contact-card {
        margin-bottom: 20px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #007bff);
    transform-origin: 0%;
    transform: scaleX(0);
    z-index: 1000;
}

/* WhatsApp Float Button styles removed - replaced with live chat widget */
