/* =====================================================
   STYLE.CSS - ALMEERS LIVING
   Premium Custom Curtains for Villas & Hotels in Bali
   ===================================================== */

/* =====================================================
   1. RESET & BASE
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2C2C2C;
    --secondary: #D4A574;
    --accent: #F5F0EB;
    --white: #FFFFFF;
    --light-gray: #F8F6F4;
    --gray: #6B6B6B;
    --dark: #1A1A1A;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: var(--light-gray);
}

/* =====================================================
   2. TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 500; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 12px;
}

/* =====================================================
   3. BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}
.btn-primary:hover {
    background: #c49464;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}
.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 48px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* =====================================================
   4. HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 72px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* =====================================================
   LOGO - DENGAN ICON BULAT (UKURAN NORMAL)
   ===================================================== */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
}

.logo-img {
    height: 45px !important;
    width: 45px !important;
    max-height: 45px !important;
    max-width: 45px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    padding: 2px;
    background: var(--white);
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text span {
    color: var(--secondary);
}

/* Navigation Desktop */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--light-gray);
    color: var(--secondary);
}

.nav-list .btn {
    padding: 8px 20px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* =====================================================
   5. MAIN CONTENT - PADDING TOP UNTUK HEADER
   ===================================================== */
main {
    padding-top: 72px;
    min-height: calc(100vh - 72px);
}

/* =====================================================
   6. MOBILE OVERLAY MENU
   ===================================================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: var(--white);
    padding: 24px 24px 40px;
    transition: all 0.4s ease;
    overflow-y: auto;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}

.mobile-overlay.active .mobile-menu {
    right: 0;
}

.mobile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 0 8px;
}

.mobile-nav-list {
    list-style: none;
    margin-top: 50px;
    padding: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list li a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-list li a:hover {
    color: var(--secondary);
}

.mobile-nav-list .btn {
    display: block;
    text-align: center;
    margin: 8px 0;
    width: 100%;
}

.mobile-contact {
    margin-top: 24px;
}

.mobile-contact .btn {
    width: 100%;
    justify-content: center;
}

/* =====================================================
   7. PAGE HERO - SEMUA HALAMAN
   ===================================================== */
.page-hero {
    padding: 60px 0 40px;
    background: var(--light-gray);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
    word-break: break-word;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* =====================================================
   8. FOOTER LOGO - DENGAN ICON BULAT
   ===================================================== */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo-img {
    height: 40px !important;
    width: 40px !important;
    max-height: 40px !important;
    max-width: 40px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    padding: 2px;
    background: var(--dark);
    flex-shrink: 0;
}

.footer-logo h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: white;
    margin: 0;
}

.footer-logo h4 span {
    color: var(--secondary);
}

/* =====================================================
   9. PRODUCT DETAIL - PERBAIKAN GAMBAR
   ===================================================== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery .main-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-gray);
    aspect-ratio: 4/3;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--secondary);
}

.thumbnail.active {
    border-color: var(--secondary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   10. HERO SECTION - DENGAN PARALLAX
   ===================================================== */
.hero {
    margin-top: 0;
    min-height: calc(100vh - 72px);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    transition: background-position 0.1s ease;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 165, 116, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-actions .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.hero-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-badges i {
    color: var(--secondary);
}

/* =====================================================
   11. VALUES SECTION
   ===================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 2.4rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.value-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.value-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* =====================================================
   12. PRODUCTS
   ===================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info {
    padding: 20px 24px;
}

.product-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-name a:hover {
    color: var(--secondary);
}

.product-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 8px 0 12px;
}

.product-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.price-usd {
    font-size: 0.8rem;
    color: var(--gray);
    margin-left: 8px;
    font-weight: 400;
}

/* =====================================================
   13. PORTFOLIO
   ===================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

.portfolio-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* =====================================================
   14. TESTIMONIALS
   ===================================================== */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: #F5B342;
    margin-bottom: 12px;
}

.testimonial-stars i {
    margin-right: 2px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-gray);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
}

.author-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
}

.product-tag {
    display: inline-block;
    background: var(--light-gray);
    padding: 2px 12px;
    border-radius: 50px;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--gray);
}

/* =====================================================
   15. BLOG
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--light-gray);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--gray);
    display: block;
    margin-bottom: 8px;
}

.blog-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.blog-content h3 a:hover {
    color: var(--secondary);
}

.blog-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.read-more {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    gap: 12px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(4px);
}

/* =====================================================
   16. FINAL CTA
   ===================================================== */
.final-cta {
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-content p {
    font-size: 1.1rem;
    margin: 16px 0 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* =====================================================
   17. FOOTER
   ===================================================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 16px 0 20px;
    max-width: 320px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contact i {
    width: 20px;
    color: var(--secondary);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* =====================================================
   18. WHATSAPP FLOATING BUTTON
   ===================================================== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.wa-float:hover {
    transform: scale(1.1);
    background: #1da851;
    color: var(--white);
}

/* =====================================================
   19. BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 998;
    background: var(--secondary, #D4A574);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    background: #c49464;
}

/* =====================================================
   20. STICKY FILTERS (BLOG, PRODUCTS, GALLERY)
   ===================================================== */
.category-filter-section {
    position: sticky;
    top: 72px;
    z-index: 99;
    background: white;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.gallery-filters {
    position: sticky;
    top: 72px;
    z-index: 99;
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =====================================================
   21. PERBAIKAN MOBILE - LENGKAP
   ===================================================== */

/* Judul halaman tidak terpotong */
.page-hero h1,
.hero-title,
.section-header h1,
.product-detail h1,
.consultation-page h1,
.about-text h2,
.blog-hero h1,
.portfolio-hero h1 {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
}

/* Pastikan gambar tidak stretch */
img {
    max-width: 100% !important;
    height: auto !important;
}

.portfolio-item img,
.product-image img,
.blog-image img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* =====================================================
   22. RESPONSIVE - TABLET (769px - 1024px)
   ===================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
    .product-gallery .main-image img {
        height: 350px !important;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .testimonial-slider {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
    .page-hero {
        padding: 40px 0 32px !important;
    }
    .page-hero h1 {
        font-size: 2rem !important;
    }
}

/* =====================================================
   23. RESPONSIVE - MOBILE (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {
    /* =============================================
       HEADER
    ============================================= */
    .header {
        height: 60px !important;
    }
    
    main {
        padding-top: 60px !important;
        min-height: calc(100vh - 60px) !important;
    }

    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }

    /* Logo Mobile */
    .logo-img {
        height: 36px !important;
        width: 36px !important;
        max-height: 36px !important;
        max-width: 36px !important;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .logo a {
        gap: 6px;
    }
    .footer-logo-img {
        height: 32px !important;
        width: 32px !important;
        max-height: 32px !important;
        max-width: 32px !important;
    }
    .footer-logo h4 {
        font-size: 1rem;
    }

    /* =============================================
       STICKY FILTERS - MOBILE
    ============================================= */
    .category-filter-section {
        top: 60px !important;
        padding: 10px 0 !important;
    }
    .gallery-filters {
        top: 60px !important;
        padding: 8px 0 !important;
    }

    /* =============================================
       PAGE HERO - MOBILE
    ============================================= */
    .page-hero {
        padding: 20px 0 24px !important;
        margin-top: 0 !important;
    }
    .page-hero h1 {
        font-size: 1.4rem !important;
        padding-top: 4px !important;
        line-height: 1.3 !important;
    }
    .page-hero p {
        font-size: 0.95rem !important;
        margin-top: 4px !important;
    }

    /* =============================================
       HERO - MOBILE
    ============================================= */
    .hero {
        min-height: calc(100vh - 60px) !important;
        margin-top: 0 !important;
    }
    .hero-bg {
        min-height: 450px !important;
        background-attachment: scroll !important;
        padding: 40px 0 !important;
    }
    .hero-content {
        padding: 20px 0 !important;
        text-align: center !important;
    }
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    .hero-badge {
        font-size: 0.7rem !important;
        padding: 4px 14px !important;
    }
    .hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }
    .hero-badges {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .hero-badges span {
        font-size: 0.8rem !important;
    }

    /* =============================================
       PRODUCT DETAIL - MOBILE
    ============================================= */
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .product-gallery {
        position: relative !important;
        top: 0 !important;
    }
    
    .product-gallery .main-image {
        height: auto !important;
        aspect-ratio: 4/3 !important;
    }
    
    .product-gallery .main-image img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        aspect-ratio: 4/3 !important;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }
    
    .thumbnail {
        aspect-ratio: 1 !important;
    }
    
    .thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Product Info Mobile */
    .product-info-section {
        padding: 0 !important;
    }
    
    .product-header h1 {
        font-size: 1.4rem !important;
        word-wrap: break-word !important;
    }
    
    .product-price-display {
        font-size: 1.2rem !important;
    }
    
    .product-price-display span {
        display: inline-block !important;
    }
    
    .product-description p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    /* Customization Form Mobile */
    .customization-form .form-group {
        margin-bottom: 16px !important;
    }
    
    .customization-form label {
        font-size: 0.85rem !important;
    }
    
    .input-with-unit input {
        font-size: 0.95rem !important;
        padding: 10px 14px !important;
    }
    
    .color-swatches {
        gap: 8px !important;
    }
    
    .swatch-item {
        min-width: 50px !important;
        padding: 4px !important;
    }
    
    .swatch-item .swatch-color,
    .swatch-item img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .option-btn {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
    }
    
    .quantity-selector {
        width: 100% !important;
    }
    
    .quantity-selector input {
        width: 100% !important;
        flex: 1 !important;
    }
    
    .price-summary {
        padding: 16px !important;
    }
    
    .summary-row {
        font-size: 0.85rem !important;
    }
    
    .summary-row.total {
        font-size: 1rem !important;
    }
    
    .form-actions .btn {
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }

    /* =============================================
       BLOG - MOBILE
    ============================================= */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .blog-card .blog-image {
        aspect-ratio: 16/9 !important;
    }
    .blog-content h3 {
        font-size: 0.95rem !important;
    }
    .blog-content p {
        font-size: 0.85rem !important;
    }
    .blog-meta {
        font-size: 0.7rem !important;
        flex-wrap: wrap !important;
    }

    /* =============================================
       SECTION HEADERS - MOBILE
    ============================================= */
    .section-header h2 {
        font-size: 1.6rem !important;
        word-wrap: break-word !important;
    }
    .section-header p {
        font-size: 0.95rem !important;
    }

    /* =============================================
       VALUES - MOBILE
    ============================================= */
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .value-item {
        padding: 16px !important;
    }
    .value-item h3 {
        font-size: 0.95rem !important;
    }
    .value-item p {
        font-size: 0.85rem !important;
    }

    /* =============================================
       PRODUCTS - MOBILE
    ============================================= */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .product-card .product-image {
        aspect-ratio: 4/3 !important;
    }
    .product-name {
        font-size: 0.9rem !important;
    }
    .product-price {
        font-size: 1rem !important;
    }

    /* =============================================
       PORTFOLIO - MOBILE
    ============================================= */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .portfolio-item {
        aspect-ratio: 4/3 !important;
    }
    .portfolio-overlay {
        transform: translateY(0) !important;
        padding: 12px !important;
    }
    .portfolio-overlay span {
        font-size: 0.85rem !important;
    }
    .portfolio-overlay p {
        font-size: 0.7rem !important;
    }
    .portfolio-stats {
        gap: 16px !important;
        flex-wrap: wrap !important;
    }
    .stat-number {
        font-size: 1.6rem !important;
    }
    .stat-label {
        font-size: 0.75rem !important;
    }

    /* =============================================
       TESTIMONIALS - MOBILE
    ============================================= */
    .testimonial-slider {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .testimonial-card {
        padding: 16px !important;
    }
    .testimonial-quote {
        font-size: 0.85rem !important;
    }

    /* =============================================
       VIDEO GALLERY - MOBILE
    ============================================= */
    .video-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* =============================================
       GALLERY - MOBILE
    ============================================= */
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* =============================================
       FILTER BUTTONS - MOBILE
    ============================================= */
    .filter-btn,
    .cat-tag {
        font-size: 0.7rem !important;
        padding: 4px 12px !important;
    }
    .category-filter {
        gap: 4px !important;
    }

    /* =============================================
       CONSULTATION PAGE - MOBILE
    ============================================= */
    .consultation-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .consultation-form-wrapper {
        padding: 20px !important;
    }
    .consultation-form-wrapper input,
    .consultation-form-wrapper select,
    .consultation-form-wrapper textarea {
        font-size: 0.95rem !important;
        padding: 10px 14px !important;
    }

    /* =============================================
       FINAL CTA - MOBILE
    ============================================= */
    .final-cta {
        padding: 32px 0 !important;
    }
    .cta-content h2 {
        font-size: 1.2rem !important;
    }
    .cta-content p {
        font-size: 0.9rem !important;
    }
    .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }
    .cta-buttons .btn {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }

    /* =============================================
       FOOTER - MOBILE
    ============================================= */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .footer-bottom-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    /* =============================================
       WHATSAPP FLOATING - MOBILE
    ============================================= */
    .wa-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        bottom: 16px !important;
        right: 16px !important;
    }

    /* Back to Top Mobile */
    .back-to-top {
        bottom: 80px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}

/* =====================================================
   24. RESPONSIVE - MOBILE KECIL (max-width: 480px)
   ===================================================== */
@media (max-width: 480px) {
    /* Header */
    .header {
        height: 56px !important;
    }
    main {
        padding-top: 56px !important;
        min-height: calc(100vh - 56px) !important;
    }
    .category-filter-section {
        top: 56px !important;
        padding: 8px 0 !important;
    }
    .gallery-filters {
        top: 56px !important;
        padding: 6px 0 !important;
    }

    /* Logo */
    .logo-img {
        height: 30px !important;
        width: 30px !important;
        max-height: 30px !important;
        max-width: 30px !important;
    }
    .logo-text {
        font-size: 0.9rem !important;
    }
    .footer-logo-img {
        height: 28px !important;
        width: 28px !important;
        max-height: 28px !important;
        max-width: 28px !important;
    }
    .footer-logo h4 {
        font-size: 0.9rem !important;
    }

    /* Page Hero */
    .page-hero {
        padding: 12px 0 16px !important;
    }
    .page-hero h1 {
        font-size: 1.2rem !important;
    }
    .page-hero p {
        font-size: 0.85rem !important;
    }

    /* Hero */
    .hero {
        min-height: calc(100vh - 56px) !important;
    }
    .hero-bg {
        min-height: 380px !important;
    }
    .hero-title {
        font-size: 1.4rem !important;
    }
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
    .section-header h2 {
        font-size: 1.3rem !important;
    }

    /* Product Detail */
    .product-gallery .main-image {
        aspect-ratio: 4/3 !important;
    }
    .product-gallery .main-image img {
        aspect-ratio: 4/3 !important;
    }
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
    }
    .product-header h1 {
        font-size: 1.2rem !important;
    }
    .product-price-display {
        font-size: 1rem !important;
    }
    .color-swatches {
        gap: 6px !important;
    }
    .swatch-item {
        min-width: 40px !important;
        padding: 3px !important;
    }
    .swatch-item .swatch-color,
    .swatch-item img {
        width: 28px !important;
        height: 28px !important;
    }
    .swatch-item span {
        font-size: 0.6rem !important;
    }
    .option-btn {
        padding: 5px 12px !important;
        font-size: 0.75rem !important;
    }

    /* Grids */
    .video-grid {
        grid-template-columns: 1fr !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    .product-grid {
        grid-template-columns: 1fr !important;
    }
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
    .values-grid {
        grid-template-columns: 1fr !important;
    }
    .testimonial-slider {
        grid-template-columns: 1fr !important;
    }

    /* Filter */
    .filter-btn,
    .cat-tag {
        font-size: 0.6rem !important;
        padding: 3px 10px !important;
    }
}

/* =====================================================
   25. PERBAIKAN ICON - FONT AWESOME
   ===================================================== */

/* Pastikan semua icon menggunakan Font Awesome */
.fa,
.fas,
.far,
.fab {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', sans-serif !important;
}

.fab {
    font-weight: 400 !important;
}

.fas,
.fa {
    font-weight: 900 !important;
}

/* =====================================================
   26. SOCIAL MEDIA ICONS - DIPASTIKAN TAMPIL
   ===================================================== */
.footer-social {
    display: flex !important;
    gap: 12px !important;
    margin-top: 16px !important;
}

.footer-social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.footer-social a:hover {
    background: #D4A574 !important;
    transform: translateY(-3px) !important;
    color: white !important;
}

.footer-social a i {
    color: white !important;
    font-size: 1.1rem !important;
}

.footer-social a:hover i {
    color: white !important;
}

/* =====================================================
   FOOTER CONTACT ICONS
   ===================================================== */
.footer-contact i {
    width: 20px !important;
    color: #D4A574 !important;
    font-size: 1.1rem !important;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
}

.footer-contact a:hover {
    color: #D4A574 !important;
}

/* =====================================================
   MOBILE MENU ICONS
   ===================================================== */
.mobile-contact .btn-whatsapp i {
    margin-right: 8px !important;
}

.mobile-contact .btn-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* =====================================================
   HERO BADGES ICONS
   ===================================================== */
.hero-badges i {
    color: #D4A574 !important;
    font-size: 1rem !important;
}

/* =====================================================
   VALUE ICONS
   ===================================================== */
.value-icon i {
    color: #D4A574 !important;
    font-size: 2.4rem !important;
}

/* =====================================================
   TESTIMONIAL STARS
   ===================================================== */
.testimonial-stars i {
    color: #F5B342 !important;
    margin-right: 2px !important;
}

/* =====================================================
   READ MORE ICON
   ===================================================== */
.read-more i {
    transition: transform 0.3s ease !important;
}

.read-more:hover i {
    transform: translateX(4px) !important;
}

/* =====================================================
   BUTTON ICONS
   ===================================================== */
.btn i {
    margin-right: 6px !important;
}

.btn-whatsapp i {
    margin-right: 8px !important;
}

/* =====================================================
   END OF STYLE.CSS
   ===================================================== */