/* Header and Modal Z-index Fix */
.hiraola-header_area,
.header-area,
.sticky-header {
    z-index: 1100 !important;
    position: relative;
}

.modal {
    z-index: 1000 !important;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .modal {
        padding-top: 70px;
    }
}

/* Modal Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: row;
    width: 90%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    margin: auto;
}

.modal-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background: rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slide {
    display: none;
    width: 100%;
    text-align: center;
}

.slide img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 12px;
    object-fit: contain;
}

.active-slide {
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 50%;
    z-index: 1000;
    display: none;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

.modal-right {
    flex: 1;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    z-index: 1001;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    font-size: 20px;
    color: white;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.social-instagram { background: #E1306C; }
.social-instagram:hover { background: #c91d57; }
.social-facebook { background: #3b5998; }
.social-facebook:hover { background: #2d4373; }

.modal-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.modal-buttons button {
    padding: 10px 18px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-enquiry { background: #ff9800; color: white; }
.btn-enquiry:hover { background: #e68900; }

.btn-more { background: #2196f3; color: white; }
.btn-more:hover { background: #0b7dda; }

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-left, .modal-right {
        flex: unset;
        width: 100%;
    }
    .modal-left {
        min-height: 300px;
    }
    .slide img {
        max-height: 300px;
    }
    .prev, .next {
        font-size: 24px;
        padding: 8px;
    }
    .modal-buttons {
        flex-direction: column;
    }
}

.col-lg-4 {
    transition: all 0.4s ease;
}

/* Filter styles */
.product-item-selection_area {
    margin-left: auto;
}

.product-short {
    display: flex;
    align-items: center;
}

.select-label {
    margin-bottom: 0;
    font-weight: 600;
}

#productFilter {
    min-width: 180px;
}

/* Header Styles */
.top-bar {
    background: #d4af37;
    color: #000;
    padding: 8px 30px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-item a {
    color: #000;
    text-decoration: none;
}

.top-bar-item a:hover {
    text-decoration: underline;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px;
    z-index: 1000;
    transition: 0.5s ease;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 8px 0;
}

.logo-tagline {
    font-size: 0.8rem;
    color: #d4af37;
    margin-top: 8px;
}

.navbar {
    display: flex;
    gap: 25px;
    transition: all 0.4s ease;
}

.nav-item {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
    padding: 5px 0;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #d4af37;
    transition: 0.4s ease;
}

.navbar a:hover {
    color: #d4af37;
}

.navbar a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-top: 2px solid #d4af37;
    padding: 10px 0;
}

.dropdown-content a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background: #f9f9f9;
    color: #d4af37;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.whatsapp-icon {
    font-size: 1.5rem;
    color: #25D366;
    transition: transform 0.3s;
    background: #fff;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 25px;
    height: 20px;
    position: relative;
    justify-content: center;
}

.hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 10px;
    transition: 0.4s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #d4af37;
    background: linear-gradient(135deg, #fff9e6, #fff);
}

.mobile-sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37;
}

.mobile-sidebar-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.mobile-nav {
    padding: 20px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-item a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.mobile-nav-item a:hover {
    background: #f9f9f9;
    color: #d4af37;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s;
}

.mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    background: #f9f9f9;
    padding: 0;
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-content a {
    padding-left: 40px;
    font-size: 0.9rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

@media (max-width: 1024px) {
    .navbar {
        gap: 15px;
    }
    
    .navbar a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 8px 15px;
        font-size: 0.75rem;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .logo-image {
        height: 50px;
    }

    .logo-tagline {
        font-size: 0.75rem;
        margin-top: -5px;
    }
    
    .navbar {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .right-section {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .top-bar {
        flex-direction: column;
        gap: 5px;
        padding: 5px 10px;
    }
    
    .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
        margin-top: -3px;
    }
}

/* SEO Content Section Styles */
.seo-hero-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    padding: 50px 0;
    margin-bottom: 40px;
    border-bottom: 3px solid #d4af37;
}

.category-intro {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.category-intro:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #d4af37, #b8860b);
}

.category-intro:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #d4af37, #b8860b);
}

.category-intro h1 {
    color: #b8860b;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.intro-highlight {
    color: #d4af37;
    font-weight: 600;
}

.seo-content-section {
    margin: 40px 0;
    padding: 35px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #d4af37;
    transition: transform 0.3s ease;
}

.seo-content-section:hover {
    transform: translateY(-5px);
}

.seo-content-section h2 {
    color: #b8860b;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.seo-content-section h2 i {
    margin-right: 12px;
    color: #d4af37;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
    justify-content: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trust-badge i {
    color: #d4af37;
    font-size: 20px;
}

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.size-guide-table th, .size-guide-table td {
    border: 1px solid #e9ecef;
    padding: 12px 15px;
    text-align: center;
}

.size-guide-table th {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    font-weight: 600;
}

.size-guide-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.care-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.care-tip {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.care-tip:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.care-tip i {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 10px;
}

.design-comparison {
    display: flex;
    gap: 30px;
    margin: 25px 0;
}

.design-type {
    flex: 1;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.design-type h3 {
    color: #b8860b;
    margin-bottom: 15px;
}

.local-credibility {
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
}

.local-credibility h3 {
    color: #b8860b;
    margin-bottom: 20px;
}

.seo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.benefit-item i {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .seo-hero-section {
        padding: 30px 0;
    }
    
    .category-intro, .seo-content-section {
        padding: 25px 20px;
    }
    
    .category-intro h1 {
        font-size: 26px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badge {
        width: 100%;
        max-width: 100%;
    }
    
    .design-comparison {
        flex-direction: column;
    }
    
    .seo-benefits {
        grid-template-columns: 1fr;
    }
}