/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
}
/* Navbar Styling */
.navbar {
    background-color: rgba(255, 255, 255, 10);
    /*Transparandenganlatarbelakangputih*/position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /*Agarnavbarselaludiatas*/box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    /*Menambahkanbayanganuntukmemberikanefekdimensi*/transition: background-color 0.5s ease;
}
nav.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

body {
  padding-top: 70px; /* atur sesuai tinggi navbar agar konten tidak ketiban */
}



.navbar-brand {
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem !important;
    font-weight: bold;
    color: #1d3557;
}

.navbar-nav .nav-link {
    color: #495057; /* Warna teks menu */
    font-size: 1.2rem; /* Ukuran font lebih besar */
    font-weight: 600;
    padding: 12px 20px; /* Menambah ruang di sekitar teks */
    transition: color 0.3s, background-color 0.3s; /* Transisi untuk hover */
}

/* Hover Effect on Navbar Links */
.navbar-nav .nav-link:hover {
    color: #fff; /* Warna teks menjadi putih saat hover */
    background-color: #ff9f5a; /* Memberikan latar belakang oranye saat hover */
    border-radius: 5px; /* Menambahkan sudut melengkung */
}

/* Navbar Toggler */
.navbar-toggler {
    border-color: #1d3557;
}

.navbar-toggler-icon {
    background-color: #1d3557;
}

/* Social Media Icons */
.social-icon {
    font-size: 1.5rem;
    color: #1d3557;
    margin: 0 10px;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: #ff9f5a;
    transform: translateY(-3px); /* Efek pergerakan saat hover */
}

/* Fixed Navbar (Sticky) */
body {
    padding-top: 70px; /* Menambahkan ruang agar konten tidak tertutup oleh navbar */
}


.brand-name {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.8rem;
    font-weight: bold;
}
.hero-section {
    background-color: #1d3557;
    color: white;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.login-card {
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: none;
}
.btn-login {
    background-color: #ff9f5a;
    border: none;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-login:hover {
    background-color: #ff8c3b;
    transform: translateY(-2px);
}
.btn-register {
    background-color: #8ecae6;
    border: none;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-register:hover {
    background-color: #73b8d9;
    transform: translateY(-2px);
}
.tabs-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem;
}
.nav-tabs {
    border-bottom: none;
}
.nav-tabs .nav-link {
    margin-bottom: 0;
    border: none;
    color: #495057;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
}
.nav-tabs .nav-link.active {
    color: #1d3557;
    background-color: transparent;
    border-bottom: 3px solid #ff9f5a;
}
.food-item {
    border-radius: 15px;
    transition: all 0.3s;
}
.food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.footer {
    background-color: #1d3557;
    color: white;
}
.social-icon {
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    transition: all 0.3s;
}
.social-icon:hover {
    color: #ff9f5a;
    transform: translateY(-3px);
}
.seafood-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* New Styles for 4 Columns and 1:1 Image Ratio */
.food-item {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.food-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes the image fill the card */
    aspect-ratio: 1 / 1; /* Ensures a 1:1 ratio for images */
}

/* Arrange items in 4 columns */
@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%; /* 4 items per row */
        max-width: 25%;
    }
}
#category-section .nav-link {
    font-weight: bold;
    color: #333;
  }
  
  #category-section .nav-link.active {
    color: #fff;
    background-color: #e74c3c;
  }
  
  .cart-button {
    background-color: #1d3557; /* Dark blue color */
    border: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.history-container {
    max-width: 800px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
  
.history-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.history-item:last-child {
    border-bottom: none;
}
  
.item-info {
    flex: 1;
}
  
.item-info h3 {
    margin: 0;
    font-size: 16px;
    color: #222;
}
  
.item-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}
  
.item-status {
    font-weight: bold;
    font-size: 14px;
    color: green;
}
  
.item-status.cancelled {
    color: red;
}

.table thead th {
    background-color: #1d3557;
    color: white;
}

.table tbody tr:hover {
    background-color: #f0f0f0;
}
/* status pesanan */
/* .container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
} */
  
h2 {
    color: #1d3557;
    margin-bottom: 1.5rem;
    text-align: center;
}
  
.order-card {
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 6px solid #ccc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: border-color 0.3s;
}
  
.order-name {
    font-weight: bold;
    font-size: 1.2rem;
}
  
.status {
    font-weight: bold;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    display: inline-block;
    color: white;
    font-size: 0.9rem;
}
  
.status.proses {
    background-color: #f4a261;
    border-left-color: #f4a261;
}
  
.status.siap {
    background-color: #2a9d8f;
}
  
.status.selesai {
    background-color: #264653;
}
  
.hidden {
    display: none;
}
  
button {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    background-color: #1d72b8;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
  
button:hover {
    background-color: #ffffff;
}
  /* Additional styles for security page */
        .security-header {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .security-card {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .security-card-title {
            font-weight: 600;
            color: #1d3557;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .security-menu {
            background-color: white;
            border-radius: 10px;
            padding: 0;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .security-menu-item {
            padding: 15px 20px;
            border-bottom: 1px solid #f1f1f1;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .security-menu-item:last-child {
            border-bottom: none;
        }
        
        .security-menu-item.active {
            background-color: rgba(255, 107, 53, 0.1);
            border-left: 4px solid #1d3557;
        }
        
        .security-menu-item:hover {
            background-color: rgba(255, 107, 53, 0.05);
        }
        
        .security-menu-item i {
            color: #1d3557;
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
   /* Additional styles for profile page */
        .profile-header {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .profile-pic {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #1d3557;
        }
        
        .profile-name {
            font-weight: 700;
            color: #333;
            margin-top: 15px;
            margin-bottom: 5px;
        }
        
        .profile-card {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .profile-card-title {
            font-weight: 600;
            color: #1d3557;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .profile-menu {
            background-color: white;
            border-radius: 10px;
            padding: 0;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .profile-menu-item {
            padding: 15px 20px;
            border-bottom: 1px solid #f1f1f1;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .profile-menu-item:last-child {
            border-bottom: none;
        }
        
        .profile-menu-item.active {
            background-color: rgba(255, 107, 53, 0.1);
            border-left: 4px solid #1d3557;
        }
        
        .profile-menu-item:hover {
            background-color: rgba(255, 107, 53, 0.05);
        }
        
        .profile-menu-item i {
            color: #1d3557;
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        .form-label {
            font-weight: 500;
            color: #555;
        }
        
        .data-item {
            margin-bottom: 15px;
        }
        
        .data-label {
            font-weight: 500;
            color: #777;
            font-size: 0.9rem;
        }
        
        .data-value {
            font-weight: 500;
            color: #333;
            font-size: 1rem;
        }
        
        .btn-primary {
            background-color: #1d3557;
            border-color: #1d3557;
        }
        
        .btn-primary:hover {
            background-color: #e65f2e;
            border-color: #e65f2e;
        }
        
        .btn-outline-primary {
            color: #1d3557;
            border-color: #1d3557;
        }
        
        .btn-outline-primary:hover {
            background-color: #1d3557;
            border-color: #1d3557;
        }
        
        .order-card {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            transition: all 0.2s ease;
        }
        
        .order-card:hover {
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .order-status {
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        .status-completed {
            background-color: #d4edda;
            color: #155724;
        }
        
        .status-processing {
            background-color: #fff3cd;
            color: #856404;
        }
        
        .status-cancelled {
            background-color: #f8d7da;
            color: #721c24;
        }
        
        .address-card {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            transition: all 0.2s ease;
        }
        
        .address-card:hover {
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .address-card .badge {
            background-color: #1d3557;
        }
        
        .address-actions {
            display: flex;
            gap: 10px;
        }
        
        .address-actions button {
            flex: 1;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .profile-header {
                text-align: center;
            }
            
            .profile-info {
                text-align: center;
                margin-top: 20px;
            }
        }
        .modal {
        position: fixed; 
        z-index: 1000; 
        left: 0; top: 0; width: 100%; height: 100%; 
        overflow: auto; 
        background-color: rgba(0,0,0,0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        /* Hapus padding */
        /* padding: 20px; */
        }


        .modal-content {
        background-color: white;
        padding: 25px 30px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        width: 100%;
        max-width: 400px; /* maksimal lebar */
        box-sizing: border-box;
        position: relative;
        font-family: Arial, sans-serif;
        margin: auto;
        }
        .modal {
        overflow-y: auto;
        }


        .close {
        position: absolute;
        right: 15px;
        top: 12px;
        font-size: 26px;
        font-weight: bold;
        color: #888;
        cursor: pointer;
        transition: color 0.3s ease;
        }

        .close:hover {
        color: #333;
        }

        .modal-content h3 {
        margin-top: 0;
        margin-bottom: 20px;
        font-weight: 600;
        color: #222;
        }

        .modal-content label {
        font-weight: 600;
        font-size: 14px;
        color: #444;
        }

        .modal-content input[type="password"] {
        width: 100%;
        padding: 8px 12px;
        margin-top: 6px;
        margin-bottom: 15px;
        border: 1.5px solid #ccc;
        border-radius: 8px;
        font-size: 14px;
        box-sizing: border-box;
        transition: border-color 0.3s ease;
        }

        .modal-content input[type="password"]:focus {
        border-color: #007bff;
        outline: none;
        }

        .modal-content button[type="submit"] {
        background-color: #007bff;
        color: white;
        font-weight: 600;
        border: none;
        padding: 10px 18px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 15px;
        width: 100%;
        transition: background-color 0.3s ease;
        }

        .modal-content button[type="submit"]:hover {
        background-color: #0056b3;
        }

        #passwordMessage {
        font-size: 14px;
        margin-top: 10px;
        }
 
    /* Body and general styles */
    body {
      font-family: Arial, sans-serif;
      background-color: #f8f9fa;
      margin: 0;
      padding-top: 70px; /* space for fixed navbar */
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Navbar */
    .navbar {
      background-color: #fff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1030;
      padding: 0.5rem 1rem;
    }

    .navbar-brand img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 10px;
    }

    /* Payment confirmation container */
    .payment-container {
      max-width: 480px;
      margin: 1rem auto 3rem;
      background: #fff;
      padding: 2rem 2.5rem;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
      text-align: center;
    }

    .checkmark {
      width: 100px;
      height: auto;
      margin-bottom: 1rem;
    }

    .btn-back {
      margin-top: 20px;
      width: 100%;
    }

    /* Location Section */
    #location {
      background-color: #f8f9fa;
      padding: 3rem 0;
      flex-grow: 1;
    }

    /* Footer */
    footer.footer {
      background-color: #343a40;
      color: #fff;
      padding: 3rem 0 2rem;
      margin-top: auto;
    }

    footer.footer a {
      color: #ddd;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    footer.footer a:hover {
      color: #fff;
      text-decoration: underline;
    }

    footer .brand-name {
      font-weight: 700;
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .social-icon {
      font-size: 1.5rem;
      margin-right: 1rem;
      color: #ddd;
      transition: color 0.3s ease;
    }

    .social-icon:hover {
      color: #fff;
    }

    /* Responsive */
    @media (max-width: 767px) {
      .payment-container {
        margin: 1rem 1rem 3rem;
        padding: 1.5rem 1.5rem;
      }

      #location .col-lg-6 {
        margin-bottom: 2rem;
      }
    }
 /* Atur tinggi gambar agar proporsional */
  .swiper-slide img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
  }

  .card-title {
    font-size: 1rem;
    margin-top: 8px;
  }

  .swiper-slide {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
  }
      .info-banner {
      border: 2px solid #000000; /* Warna border biru */
      padding: 20px;
      display: flex;
      justify-content: space-around; /* Mengatur jarak antar elemen */
      align-items: center;
      background-color: #f9f9f9;
      border-radius: 8px; /* Memberikan sudut melengkung pada border */
      margin-top: 30px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Memberikan bayangan halus */
    }

    /* Styling untuk setiap item dalam banner */
    .info-item {
      text-align: center;
    }

    .info-item i {
      font-size: 40px;
      color: #007bff;
      margin-bottom: 8px;
    }

    .info-item span {
      display: block;
      font-size: 16px;
      font-weight: bold;
      color: #333;
    }
        .quantity-btn {
      width: 32px;
      height: 32px;
      padding: 0;
    }
    .item-img {
      width: 80px;
      height: 80px;
      object-fit: cover;
    }
    .total-box {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 10px;
    }