

html {
    scroll-behavior: smooth;
}
       :root {
            --gold: #c5a059;
            --dark: #121212;
            --light: #fcfcfc;
            --gray: #666;
            --white: #ffffff;
        }

        /* Base Styles */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Montserrat', sans-serif; 
            background-color: var(--light); 
            color: var(--dark); 
            line-height: 1.6;
            scroll-behavior: smooth;
        }
        h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }

        /* Navigation */
        header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 15px 8%; background: var(--white); 
            position: fixed; top: 0; width: 100%; z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
        }
        .logo { font-size: 1rem; font-weight: 700; letter-spacing: 3px; color: var(--dark); text-decoration: none; }
        
        .nav-links { display: flex; list-style: none; gap: 35px; align-items: center; }
        .nav-links a { 
            text-decoration: none; color: var(--dark); font-size: 0.8rem; 
            letter-spacing: 2px; transition: 0.3s; font-weight: 400;
        }
        .nav-links a:hover { color: var(--gold); }

        .burger { display: none; cursor: pointer; font-size: 1.4rem; z-index: 1100; }

        /* Hero */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), 
                        url('https://pbs.twimg.com/media/G9Ya_8wawAArEo5?format=jpg&name=medium') center/cover no-repeat;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            text-align: center; color: var(--white); padding: 0 20px;
        }
        .hero h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); margin-bottom: 10px; letter-spacing: 5px; animation: fadeIn 1.5s; }
        .hero p { font-size: 1.1rem; margin-bottom: 30px; letter-spacing: 2px; font-weight: 300; }
        .btn-shop { 
            padding: 15px 45px; background: transparent; border: 1px solid var(--white); 
            color: var(--white); text-decoration: none; transition: 0.4s; letter-spacing: 3px; font-size: 0.8rem;
        }
        .btn-shop:hover { background: var(--white); color: var(--dark); }

        .btn-contact {
            display: inline-block;
            padding: 15px 45px;
            background: transparent;
            border: 1px solid #000;
            color: #000;
            text-decoration: none;
            letter-spacing: 3px;
            font-size: 0.8rem;
            margin-top: 10px;
            transition: 0.3s ease;
        }
        
        /* hover effect without changing text color */
        .btn-contact:hover {
            background: var(--gold);
            border-color: #000;
            color: #000;
        }
        
       /* Sections General */
       section { padding: 80px 8%; }
        .section-header { text-align: center; margin-bottom: 50px; }
        .section-header h2 { font-size: 2.5rem; letter-spacing: 3px; margin-bottom: 10px; }
        .section-header span { color: var(--gold); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }

        /* Products Grid */
        .products-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
            gap: 40px; 
        }
        .product-card { 
            background: var(--white); padding: 25px; 
            transition: 0.5s; position: relative; overflow: hidden;
            border-bottom: 3px solid transparent;
        }
        .product-card:hover { transform: translateY(-10px); border-bottom-color: var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
        .product-card img { width: 100%; height: 320px; object-fit: cover; margin-bottom: 20px; transition: 0.5s; }
        .product-card:hover img { transform: scale(1.05); }
        
        .product-card h3 { font-size: 1.4rem; margin-bottom: 15px; letter-spacing: 1px; }

        /* Size Selector Radios */
        .size-selector { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
        .size-btn { flex: 1; }
        .size-btn input { display: none; }
        .size-btn label { 
            display: block; padding: 10px; border: 1px solid #eee; cursor: pointer; 
            font-size: 0.75rem; letter-spacing: 1px; transition: 0.3s; 
        }
        .size-btn input:checked + label { background: var(--dark); color: var(--white); border-color: var(--dark); }

        .price-tag { font-weight: 600; color: var(--gold); font-size: 1.2rem; margin-bottom: 20px; display: block; }
        .add-cart-btn { 
            width: 100%; padding: 12px; background: var(--dark); color: white; border: none; 
            cursor: pointer; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; transition: 0.3s;
        }
        .add-cart-btn:hover { background: var(--gold); }

        .cart-icon {
            position: relative;
            font-size: 1.1rem;
        }
        
        .cart-badge {
            position: absolute;
            top: -6px;
            right: -10px;
            background: var(--gold);
            color: white;
            font-size: 0.65rem;
            font-weight: 600;
            padding: 3px 6px;
            border-radius: 999px;
            min-width: 18px;
            text-align: center;
            line-height: 1;
        }
        

   /* Gallery */

.gallery-grid {

    display: grid;
    
    /* auto-fit akan mengisi ruang, minmax memastikan saiz gambar konsisten */
    
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    
    gap: 15px;
    
    /* Ini adalah kunci untuk letakkan grid di tengah desktop */
    
    justify-content: center;
    
    width: 100%;
    
    } */
    
    
    
    .gallery-item {
    
    height: 300px;
    
    width: 100%; /* Memastikan item memenuhi ruang grid */
    
    overflow: hidden;
    
    }
    
    
    
    .gallery-item img {
    
    width: 100%;
    
    height: 100%;
    
    object-fit: cover; /* Pastikan ejaan 'cover', bukan 'object-transform' */
    
    transition: 0.5s;
    
    cursor: pointer;
    
    }
    
    
        /* Contact Section */
        .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: white; padding: 40px; }
        .contact-form input, .contact-form textarea {
            width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #ddd; outline: none;
        }
        .contact-form button {
            background: var(--gold); color: white; border: none; padding: 15px 30px; cursor: pointer; width: 100%;
        }

        /* Social Icons */
        .social-links { display: flex; gap: 20px; margin-top: 20px; }
        .social-links a { color: var(--dark); font-size: 1.5rem; transition: 0.3s; }
        .social-links a:hover { color: var(--gold); }
        /* Cart UI */
        #cart-drawer {
            position: fixed; bottom: 30px; right: 30px; width: 380px;
            background: var(--white); box-shadow: 0 10px 50px rgba(0,0,0,0.15);
            border-radius: 12px; z-index: 2000; transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
        }
        #cart-drawer.minimized { width: 65px; height: 65px; border-radius: 10%; cursor: pointer; }
        
        .cart-header { 
            background: var(--dark); color: white; padding: 20px; 
            display: flex; justify-content: space-between; align-items: center; cursor: pointer;
        }
        .cart-right {
            display: none;
          }
          
          /* Show close when drawer is open */
          #cart-drawer:not(.minimized) .cart-right {
            display: block;
          }
        .cart-body { padding: 20px; max-height: 400px; overflow-y: auto; }
        .cart-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }
        
        .whatsapp-checkout {
            background: #25D366; color: white; text-decoration: none;
            display: block; text-align: center; padding: 15px; margin: 20px; border-radius: 30px; font-weight: 600;
        }

        /* Responsive Fixes */
        @media (max-width: 768px) {
            header { padding: 15px 5%; }
            .burger { display: block; }
            .nav-links {
                position: fixed; top: 0; right: -100%; height: 100vh; width: 80%;
                background: var(--white); flex-direction: column; padding-top: 100px;
                transition: 0.5s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
            }
            .nav-links.active { right: 0; }
            .contact-container, .gallery-grid { grid-template-columns: 1fr; }
            #cart-drawer { width: calc(100% - 40px); left: 20px; right: 20px; }
            #cart-drawer.minimized { width: 60px; height: 60px; left: auto; right: 20px; }
        }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        .center-div {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 480px) {
    footer {
        padding: 40px 15px;
        /* Ensure footer doesn't get hidden behind the floating cart */
        padding-bottom: 100px; 
    }
    
    .footer-text {
        font-size: 0.65rem;
        letter-spacing: 1.5px; /* Slightly tighter for smaller screens */
    }

        .logo-area-vertical {
            align-items: center;
            text-align: center; /* ✅ THIS is the key */
        }
      
   
   
}


.logo-area-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* left */
    gap: 8px;
    text-align: left;
}

  

.logo-area-vertical img {
  height: 100px;             /* logo sedikit besar */
  border-radius: 90%;

}

.logo-area-vertical .brand-name {
  font-size: 20px;          /* nama lebih besar */
  font-weight: 600;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #999;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.lang-btn.active {
    color: var(--gold);
    font-weight: 600;
}

/* Sembunyikan elemen mengikut bahasa (Opsional jika guna JS) */
body.lang-ms [data-en] { display: none; }
body.lang-en [data-ms] { display: none; }
   
.social-links,
.social-links-footer {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-links {
  justify-content: flex-start;
}

.social-links-footer {
  justify-content: flex-end;
}

.social-links a,
.social-links-footer a {
  color: var(--accent-pink);
  text-decoration: none;
  font-size: 1.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover,
.social-links-footer a:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

  .site-footer {
    background: #fff;
    padding: 60px 8%;
    border-top: 1px solid #eee;
  }
  
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr; /* split desktop */
    align-items: center;
  }
  
  .footer-right {
    text-align: right;
  }
  
  .footer-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #777;
    margin-top: 15px;
  }

  @media (max-width: 768px) {
    .footer-inner {
      grid-template-columns: 1fr; /* stack */
      text-align: center;
      gap: 30px;
    }
  
    .footer-right {
      text-align: center;
    }
  
    .social-links-footer {
      justify-content: center;
    }
    .logo-area-vertical {
        align-items: center;
        text-align: center; /* ✅ THIS is the key */
    }
  

   
  }

  #greeting {
    animation: fadeInDown 1.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leaderboard-container {
    width: 100%;
    height: 50px;
    background: var(--dark);
    color: var(--gold);
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    position: relative;
}

.moving-track {
    display: flex;
    width: 200%; /* Dua kali ganda lebar untuk loop */
    animation: scrollText 20s linear infinite;
}

.moving-content {
    display: flex;
    justify-content: space-around;
    width: 100%;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

/* Animasi Pergerakan */
@keyframes scrollText {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Berhenti bergerak bila user letak mouse (hover) supaya senang dibaca */
.leaderboard-container:hover .moving-track {
    animation-play-state: paused;
}






/* Container for gallery + sidebar ad */
.gallery-master-container {
    display: flex;
    justify-content: center;   /* center content on desktop */
    align-items: flex-start;   /* top-align gallery + ad */
    gap: 30px;                 /* space between gallery and sidebar */
    padding: 0 5%;             /* horizontal padding */
    max-width: 100%;         /* optional max width */
    margin: 0 auto;
    position: relative;
}

/* Main gallery stack */
.gallery-main-stack {
    flex: 1;                   /* take remaining space */
    max-width: 1000px;         /* limit gallery width */
}

/* Sidebar sticky ad */
.gallery-sidebar {
    width: 200px;               /* fixed width for ad */
    position: sticky;
    top: 120px;                 /* sticks 120px from top */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Optional: ad box styling */
.skyscraper-banner {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
}

@media (max-width: 1200px) {
    .gallery-sidebar {
        display: none;
    }
    .gallery-master-container {
        padding: 0 20px;  /* less padding on mobile */
    }
}

/* Skyscraper container */
.skyscraper-ad {
    width: 160px;
    position: sticky;
    top: 120px;               /* distance from top */
    background: #fff;
    border: 1px solid #eee;
    padding: 15px 10px;
    text-align: center;
    font-family: inherit;
  }
  
  /* AD label */
  .ad-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 10px;
  }
  
  /* Image */
  .skyscraper-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  /* Text */
  .skyscraper-ad h4 {
    font-size: 0.9rem;
    margin: 5px 0;
  }
  
  .skyscraper-ad p {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 10px;
  }
  
  .ad-price {
    display: block;
    font-weight: 600;
    color: #c5a059;
    margin-bottom: 10px;
  }
  
  /* Button */
  .ad-btn {
    display: block;
    padding: 8px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
  
  .ad-btn:hover {
    background: #c5a059;
  }
  
  /* Hide on mobile */
  @media (max-width: 1200px) {
    .skyscraper-ad {
      display: none;
    }
  }
  
  



  .cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 320px;
    background: #fff;
    color: #000;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-size: 0.9rem;
    z-index: 9999;

    /* animation base */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* when visible */
.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner p {
    margin: 0 0 12px;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.85rem;
}

.cookie-btn.accept {
    background: #000;
    color: #fff;
}

.cookie-btn.decline {
    background: #e5e5e5;
    color: #000;
}



.promo-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  
  .promo-popup.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .popup-content {
    position: relative;
    max-width: 320px;
    width: 85%;
    animation: popupFade 0.4s ease;
  }
  
  .popup-content img {
    width: 100%;
    border-radius: 12px;
    display: block;
  }
  
  .popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }
  
  @keyframes popupFade {
    from {
      transform: scale(0.85);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  




  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-info a i {
    font-size: 1.1rem;
}

.contact-info a:hover {
    color: var(--accent-pink);
}


.featured-story {
    padding: 80px 8%;
    background: #fdfdfd; /* Latar belakang yang cerah & bersih */
}

.featured-container {
    display: flex;
    align-items: center; /* Center secara menegak */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bahagian Gambar */
.featured-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

/* Bahagian Teks */
.featured-text {
    flex: 1;
}

.sub-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.featured-desc {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.featured-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: 0.3s;
}

.featured-btn:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/* Responsif untuk Mobile */
@media (max-width: 968px) {
    .featured-container {
        flex-direction: column; /* Gambar di atas, teks di bawah */
        gap: 40px;
        text-align: center;
    }
    
    .featured-title {
        font-size: 2rem;
    }
}