:root {
    --navy: #0a1d3b;
    --dark-navy: #051324;
    --gold: #FFB300;
    --dark-gold: #E6A100;
    --light: #F8F9FA;
    --gray: #6C757D;
    --dark: #343A40;
    --light-blue: #E8F4FD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: var(--navy);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    transition: padding 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
}

.logo span {
    color: white;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    color: white;
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

.location-badge {
  background: var(--gold);
  color: var(--navy);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
/* Sembunyikan location badge di mobile */
@media (max-width: 768px) {
  .location-badge {
      display: none;
  }
}
/* Hero Section */
.hero {
  background: linear-gradient(rgba(5, 19, 36, 0.85), rgba(5, 19, 36, 0.85)), url('/images/berkah-image-1.webp');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero h1 .highlight {
  color: var(--gold);
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  font-weight: 300;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.hero-badge {
  background: rgba(255, 179, 0, 0.2);
  border: 2px solid var(--gold);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge i {
  color: var(--gold);
}

.btn {
  display: inline-block;
  background-color: var(--gold);
  color: var(--navy);
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}

.btn:hover {
  background-color: transparent;
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--navy);
}

/* Features */
.features {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--navy), var(--dark-navy));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--navy);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray);
}

/* About */
.about {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(10, 35, 66, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background-color: var(--gold);
    border-radius: 10px;
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    background-color: var(--navy);
    border-radius: 10px;
    z-index: -1;
}

/* Products */
.products {
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-img {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3; /* Rasio aspek konsisten 4:3 */
    width: 100%;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Brands */
.brands {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.brands::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 179, 0, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.brands-container {
    position: relative;
    z-index: 1;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 25px;
    align-items: center;
}

.brand-item {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.brand-item img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
}

/* E-catalog */
.ecatalog {
    background: linear-gradient(rgba(5, 19, 36, 0.726), rgba(5, 19, 36, 0.623)), url('/images/berkah-image-1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
}

.ecatalog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, transparent 100%);
    opacity: 0.9;
}

.ecatalog .container {
    position: relative;
    z-index: 1;
}

.ecatalog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ekatalog-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.ekatalog-logo {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
}

.ecatalog h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.ecatalog p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
    list-style: none;
}

.benefits-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-list li i {
    color: var(--gold);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Location Section */
.location {
    background-color: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-info h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.location-info p {
    margin-bottom: 20px;
    color: var(--gray);
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Promotion - IMPROVED SECTION */
.promotion {
    background: linear-gradient(135deg, var(--light-blue) 0%, #d4e7f7 100%);
    color: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promotion::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 179, 0, 0.1);
    border-radius: 50%;
}

.promotion::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background-color: rgba(10, 35, 66, 0.05);
    border-radius: 50%;
}

.promo-header {
    margin-bottom: 40px;
}

.promo-header h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.promo-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark);
}

.promo-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.promo-benefit {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.promo-benefit i {
    color: var(--gold);
    margin-right: 10px;
    font-size: 1.2rem;
}

.promo-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-navy);
    color: white;
    padding: 70px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-contact h3 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--gold);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--navy);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content, .location-content {
        grid-template-columns: 1fr;
    }
    
    .about-image, .location-map {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--navy);
        width: 80%;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 40px 20px;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .promo-header h2 {
        font-size: 2rem;
    }
    
    .promo-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .promo-form {
        padding: 25px 20px;
    }
    
    .ecatalog-content {
        padding: 30px 20px;
    }
    
    .ecatalog h2 {
        font-size: 1.8rem;
    }
    
    .ecatalog p {
        font-size: 1rem;
    }
    
    .ekatalog-logo-container {
        padding: 15px;
        max-width: 300px;
    }
    
    .ekatalog-logo {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 12px 25px;
    }
    
    .feature-card, .product-card {
        padding: 25px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
    
    .promo-header h2 {
        font-size: 1.8rem;
    }
    
    .promo-header p {
        font-size: 1rem;
    }
    
    .ekatalog-logo-container {
        max-width: 250px;
    }
    
    .ekatalog-logo {
        max-width: 200px;
    }
}