/* ---
--- Dapur Cik Qila - Custom CSS ---
--- Inspired by Death Wish Coffee ---
--- Main Colors:
---   Dark Background: #1a1a1a
---   Primary Red: #d14a44
---   Accent Orange: #f3a64a
---   Text/White: #f8f9fa
--- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #f8f9fa;
    padding-top: 160px; /* Increased padding for larger navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.top-bar {
    background-color: #d14a44;
    font-weight: 600;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1031; /* Above navbar */
}

.top-bar a {
    color: #fff;
    text-decoration: underline;
}

.top-bar a:hover {
    text-decoration: none;
}

.navbar {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0; /* Increased padding */
    top: 38px; /* Height of top-bar */
    transition: all 0.4s ease-in-out;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.navbar-brand {
    padding: 0;
}

.navbar-logo {
    height: 80px;
    transition: height 0.4s ease-in-out;
}

.navbar.scrolled .navbar-logo {
    height: 50px;
}

.navbar .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 15px;
    color: #f8f9fa;
    transition: color 0.3s;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: #f3a64a;
}

.navbar-social-icons a {
    margin: 0 10px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.navbar-social-icons a:hover {
    color: #f3a64a;
}

#hero {
    height: calc(100vh - 100px); /* Full height minus navbar/topbar */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery/photo_2024-08-27_13-20-55.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

#hero h1 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    font-weight: 700;
}

.btn-primary {
    background-color: #f3a64a;
    border-color: #f3a64a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d14a44;
    border-color: #d14a44;
    transform: translateY(-3px);
}

.btn-outline-primary {
    color: #f3a64a;
    border-color: #f3a64a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    color: #1a1a1a;
    background-color: #f3a64a;
    border-color: #f3a64a;
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f3a64a;
    margin-bottom: 50px;
}

#about {
    background-color: #222;
}

#products {
    background-color: #1a1a1a;
}

.product-card {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.product-card .card-body {
    color: #f8f9fa;
}

.product-card .card-title {
    color: #f3a64a;
    font-weight: 700;
}

#testimonials {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/gallery/photo_2024-08-27_13-20-52.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    backdrop-filter: blur(5px);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
}
.testimonial-card cite {
    display: block;
    margin-top: 20px;
    font-weight: 600;
    color: #f3a64a;
    font-style: normal;
}

#events {
    background-color: #222;
}
#events .list-group-item {
    background-color: transparent;
    border-color: #444;
    color: #f8f9fa;
}
#events h4 {
    color: #f3a64a;
}

#policy .policy-content {
    background-color: #222;
    color: #f8f9fa;
}

#policy .policy-content h4 {
    color: #f3a64a;
    font-weight: 700;
}

#full-menu .menu-category {
    background-color: #222;
    border: 1px solid #333;
    height: 100%;
}

#full-menu .menu-category-title {
    color: #f3a64a;
    font-weight: 700;
    border-bottom: 2px solid #f3a64a;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#full-menu .menu-category-subtitle {
    color: #f8f9fa;
    font-style: italic;
    margin-top: -15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

#full-menu .menu-category-notes {
    color: #f8f9fa;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.6;
}

#full-menu .menu-item {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

#full-menu .menu-item:last-child {
    border-bottom: none;
}

#full-menu .menu-item span {
    color: #f8f9fa;
}

#full-menu .menu-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #444;
    margin: 0 10px;
}

#full-menu .menu-price {
    font-weight: 700;
    color: #f3a64a;
}

#contact {
    background-color: #1a1a1a;
}
.form-control {
    background-color: #222;
    border: 1px solid #444;
    color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}
.form-control:focus {
    background-color: #222;
    border-color: #f3a64a;
    color: #f8f9fa;
    box-shadow: 0 0 0 0.25rem rgba(243, 166, 74, 0.25);
}
.form-control::placeholder {
    color: #aaa;
}

footer {
    background-color: #000;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #f3a64a;
}

.social-icon {
    color: #ccc;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #f3a64a;
    transform: translateY(-3px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d14a44;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #f3a64a;
    color: #fff;
}

/* --- Gallery Section --- */
.photogrid {
    column-count: 4;
    column-gap: 0;
}

.photogrid-item {
    break-inside: avoid;
}

#gallery .gallery-image {
    transition: all 0.3s ease;
    cursor: pointer;
    display: block; /* Ensure no whitespace */
    width: 100%; /* Fill the container */
}

#gallery .gallery-image:hover {
    transform: scale(1.05);
    z-index: 10;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Responsive adjustments for photogrid */
@media (max-width: 992px) {
    .photogrid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .photogrid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .photogrid {
        column-count: 1;
    }
}

.developer-credit {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 5px;
}

.developer-credit a {
    color: #f3a64a;
    text-decoration: none;
    transition: color 0.3s;
}

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