/*
Theme Name: Podomoro Theme
Theme URI: https://www.bukitpodomoro.com/
Author: Your Name
Author URI: https://example.com/
Description: Tema WordPress kustom yang diadaptasi dari desain Bukit Podomoro.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: podomorotheme
Tags: landing-page, one-page, custom-theme, tailwindcss

This theme is based on an existing HTML design.
*/

/* Konfigurasi Font dan Warna Kustom */
 body {
    font-family: 'Inter', sans-serif;
    background-color: #F7F7F7; /* Soft gray background */
    color: #1F2937; /* Dark gray for text */
 }
 h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Merriweather', serif;
 }
 .text-gold {
    color: #D4A017; /* Softer gold */
 }
 .bg-gold {
    background-color: #D4A017;
 }
 .border-gold {
    border-color: #D4A017;
 }
 .bg-dark-navy {
    background-color: #1E3A8A; /* Navy blue for accents */
 }
 
 /* Kustomisasi Latar Hero Section */
 .hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://www.bukitpodomoro.com/uploads/HP/PT01_PRY01_20220607_629f4382d08b8.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Removed fixed for smoother mobile experience */
 }

 /* Styling Form yang Lebih Elegan */
 .form-input {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #D1D5DB;
    border-radius: 0;
    padding: 0.75rem 0;
    transition: border-color 0.3s ease, transform 0.3s ease;
 }
 .form-input:focus {
    outline: none;
    border-color: #D4A017;
    transform: translateY(-2px);
 }

 /* Efek Transisi Halus */
 .transition-all-300 {
    transition: all 0.3s ease-in-out;
 }
 
 /* Style untuk Kartu Produk */
 .product-card-img {
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
 }
 .product-card:hover .product-card-img {
    transform: scale(1.05);
 }

 /* Style untuk Galeri Fasilitas */
 .facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.5s ease;
 }
 .facility-slide:hover .facility-img {
    transform: scale(1.05);
 }
 .facility-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 70%);
 }

 /* Sticky Header Effect */
 header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 }

/* ============================================= */
/* == CSS BARU DARI OFFICIAL3.HTML == */
/* ============================================= */
.hr-wp {
    width: 50px;
    border: 2px solid #D4A017;
    margin: 1rem auto;
}
.title-wp {
    font-size: 2rem;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 0.5rem;
    color: rgba(32,32,32, 0.9);
}
@media (max-width: 767px) {
    .title-wp { font-size: 1.5rem; }
}

/* Hover effect for product cards */
.hover-products-item {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-item:hover .hover-products-item {
    visibility: visible;
    opacity: 1;
}
.btn-products-item {
     border: 2px solid white;
}

/* Custom styles for swiping on mobile */
.product-carousel-container {
    position: relative;
}
.product-carousel-inner {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    gap: 1rem; /* Adjust space between items */
    padding-bottom: 1rem;
}
.product-carousel-inner::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
}
.product-carousel-item {
    flex: 0 0 80%; /* Show one item at a time on mobile */
    scroll-snap-align: start; /* Snap to the start of each item */
}
@media (min-width: 768px) {
    .product-carousel-inner {
        overflow-x: hidden; /* Disable swiping on desktop */
        gap: 2rem;
    }
    .product-carousel-item {
         flex: 1 1 auto;
    }
}

/* ==============================================
Style untuk Template Halaman About Developer
============================================== 
*/
/* WordPress akan menambahkan class body khusus berdasarkan nama file template,
   sehingga style ini hanya akan aktif di halaman yang menggunakan template tersebut. */

.page-template-template-about-developer .hr-wp {
    width: 50px;
    border-top-width: 4px;
    border-color: #AF9345;
    margin: 1rem auto;
}

.page-template-template-about-developer .hr-wp-light {
    width: 50px;
    border-top-width: 4px;
    border-color: #AF9345;
    margin: 1rem 0;
}

/* Mengaktifkan kembali x-cloak dari Alpine.js */
[x-cloak] { 
    display: none !important; 
}

@media (max-width: 575px) {
  .page-template-template-about-developer .hr-wp, 
  .page-template-template-about-developer .hr-wp-light {
      width:30px; 
      border-top-width: 2px;
  }
}
/*
Theme Name: Podomoro Theme
Theme URI: https://www.bukitpodomoro.com/
Author: Your Name
Author URI: https://example.com/
Description: Tema WordPress kustom yang diadaptasi dari desain Bukit Podomoro.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: podomorotheme
Tags: landing-page, one-page, custom-theme, tailwindcss

This theme is based on an existing HTML design.
*/

/* Konfigurasi Font dan Warna Kustom */
 body {
    font-family: 'Inter', sans-serif;
    background-color: #F7F7F7; /* Soft gray background */
    color: #1F2937; /* Dark gray for text */
 }
 h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Merriweather', serif;
 }
 .text-gold {
    color: #D4A017; /* Softer gold */
 }
 .bg-gold {
    background-color: #D4A017;
 }
 .border-gold {
    border-color: #D4A017;
 }
 .bg-dark-navy {
    background-color: #1E3A8A; /* Navy blue for accents */
 }
 
 /* Kustomisasi Latar Hero Section */
 .hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://www.bukitpodomoro.com/uploads/HP/PT01_PRY01_20220607_629f4382d08b8.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Removed fixed for smoother mobile experience */
 }

 /* Styling Form yang Lebih Elegan */
 .form-input {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #D1D5DB;
    border-radius: 0;
    padding: 0.75rem 0;
    transition: border-color 0.3s ease, transform 0.3s ease;
 }
 .form-input:focus {
    outline: none;
    border-color: #D4A017;
    transform: translateY(-2px);
 }

 /* Efek Transisi Halus */
 .transition-all-300 {
    transition: all 0.3s ease-in-out;
 }
 
 /* Style untuk Kartu Produk */
 .product-card-img {
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
 }
 .product-card:hover .product-card-img {
    transform: scale(1.05);
 }

 /* Style untuk Galeri Fasilitas */
 .facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.5s ease;
 }
 .facility-slide:hover .facility-img {
    transform: scale(1.05);
 }
 .facility-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 70%);
 }

 /* Sticky Header Effect */
 header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 }

/* ============================================= */
/* == CSS BARU DARI OFFICIAL3.HTML == */
/* ============================================= */
.hr-wp {
    width: 50px;
    border: 2px solid #D4A017;
    margin: 1rem auto;
}
.title-wp {
    font-size: 2rem;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 0.5rem;
    color: rgba(32,32,32, 0.9);
}
@media (max-width: 767px) {
    .title-wp { font-size: 1.5rem; }
}

/* Hover effect for product cards */
.hover-products-item {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-item:hover .hover-products-item {
    visibility: visible;
    opacity: 1;
}
.btn-products-item {
     border: 2px solid white;
}

/* Custom styles for swiping on mobile */
.product-carousel-container {
    position: relative;
}
.product-carousel-inner {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    gap: 1rem; /* Adjust space between items */
    padding-bottom: 1rem;
}
.product-carousel-inner::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
}
.product-carousel-item {
    flex: 0 0 80%; /* Show one item at a time on mobile */
    scroll-snap-align: start; /* Snap to the start of each item */
}
@media (min-width: 768px) {
    .product-carousel-inner {
        overflow-x: hidden; /* Disable swiping on desktop */
        gap: 2rem;
    }
    .product-carousel-item {
         flex: 1 1 auto;
    }
}

/* ==============================================
Style untuk Template Halaman About Developer
============================================== 
*/
/* WordPress akan menambahkan class body khusus berdasarkan nama file template,
   sehingga style ini hanya akan aktif di halaman yang menggunakan template tersebut. */

.page-template-template-about-developer .hr-wp {
    width: 50px;
    border-top-width: 4px;
    border-color: #AF9345;
    margin: 1rem auto;
}

.page-template-template-about-developer .hr-wp-light {
    width: 50px;
    border-top-width: 4px;
    border-color: #AF9345;
    margin: 1rem 0;
}

/* Mengaktifkan kembali x-cloak dari Alpine.js */
[x-cloak] { 
    display: none !important; 
}

@media (max-width: 575px) {
  .page-template-template-about-developer .hr-wp, 
  .page-template-template-about-developer .hr-wp-light {
      width:30px; 
      border-top-width: 2px;
  }
}

/* ==============================================
   Style untuk Template Halaman About
   ============================================== */
.page-template-template-about .bg-dark-primary { 
    background-color: #202020; 
}
.page-template-template-about .text-dark-primary { 
    color: #202020; 
}
.page-template-template-about .text-gold-accent { 
    color: #AF9345; 
}
.page-template-template-about .border-gold-accent { 
    border-color: #AF9345; 
}
.page-template-template-about .bg-gold-accent { 
    background-color: #B59233; 
}

/* Custom hr-wp style for this template */
.page-template-template-about .hr-wp {
    width: 80px;
    height: 2px;
    background-color: #AF9345;
    border: none;
    margin: 20px auto;
}

/* Splide Pagination styling */
.page-template-template-about .splide__pagination__page {
    background: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.page-template-template-about .splide__pagination__page.is-active {
    background: white;
    width: 25px;
    border-radius: 5px;
}
.page-template-template-about .splide__arrow {
    background: rgba(255,255,255,0.8);
    width: 3rem;
    height: 3rem;
}
.page-template-template-about .splide__arrow svg {
    fill: #202020;
}

/* Animasi saat scroll */
.page-template-template-about .scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.page-template-template-about .scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
