/* ========================================
   ROMAX MARKETING - Main Stylesheet
   Hardware & Industrial Tools Company
   Theme: Dark Red + Black + White
   ======================================== */

/* CSS Variables */
:root {
    --primary: #8B0000;
    --primary-dark: #5C0000;
    --primary-light: #B22222;
    --primary-hover: #A00000;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --gray-dark: #2d2d2d;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(139,0,0,0.15);
    --transition: all 0.3s ease;
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: var(--light);
    overflow-x: hidden;
    padding-top: 0;
}

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

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--darker);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
}

.top-bar span {
    display: inline-block;
}

.social-top-link {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-left: 12px;
    transition: var(--transition);
}

.social-top-link:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

.inquiry-top-link {
    color: var(--white);
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.inquiry-top-link:hover {
    background: var(--primary-hover);
    color: var(--white);
}

/* ========================================
   NAVBAR
   ======================================== */
.main-navbar {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.main-navbar .navbar-brand i {
    font-size: 2rem;
    color: var(--primary-light);
}

.main-navbar .navbar-brand .brand-text small {
    font-size: 0.65rem;
    font-weight: 300;
    display: block;
    letter-spacing: 4px;
    color: var(--primary-light);
}

.main-navbar .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--white);
    background: rgba(139,0,0,0.3);
}

.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-light);
}

.inquiry-btn-nav {
    background: var(--primary) !important;
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
}

.inquiry-btn-nav:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139,0,0,0.4);
}

.dropdown-menu {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px;
}

.dropdown-menu .dropdown-item {
    color: rgba(255,255,255,0.8);
    border-radius: 4px;
    padding: 8px 16px;
    transition: var(--transition);
}

.dropdown-menu .dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
}

.dropdown-menu .dropdown-divider {
    border-color: rgba(255,255,255,0.1);
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
    100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 0;
}

.hero-content .subtitle {
    display: inline-block;
    background: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btns .btn {
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 6px;
    margin-right: 12px;
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.btn-primary-romax:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139,0,0,0.4);
}

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

.btn-outline-romax:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.carousel-indicators {
    bottom: 40px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139,0,0,0.7);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

/* ========================================
   SECTION STYLES
   ======================================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
}

.section-title p {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title.light h2 {
    color: var(--white);
}

.section-title.light p {
    color: rgba(255,255,255,0.7);
}

/* ========================================
   FEATURED CATEGORIES
   ======================================== */
.category-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.category-card .card-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.category-card .card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139,0,0,0.15) 0%, transparent 70%);
    transition: var(--transition);
}

.category-card:hover .card-icon::before {
    top: 0;
    left: 0;
}

.category-card .card-icon i {
    font-size: 4rem;
    color: var(--primary-light);
    z-index: 1;
    transition: var(--transition);
}

.category-card:hover .card-icon i {
    transform: scale(1.2);
}

.category-card .card-body {
    padding: 25px;
    text-align: center;
}

.category-card .card-body h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.category-card .card-body p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card .btn-category {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
}

.category-card .btn-category i {
    transition: var(--transition);
}

.category-card .btn-category:hover {
    color: var(--primary-hover);
}

.category-card .btn-category:hover i {
    transform: translateX(5px);
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

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

.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-card .product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

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

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

.product-card .product-image .product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    display: flex;
    gap: 8px;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    transform: translate(-50%, -50%) scale(1);
}

.product-actions .action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

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

.product-card .card-body {
    padding: 20px;
}

.product-card .product-brand {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .card-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.product-card .stock-status {
    font-size: 0.8rem;
    color: var(--gray);
}

.product-card .stock-status.in-stock {
    color: #28a745;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-choose-section {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.02"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.why-card {
    text-align: center;
    padding: 35px 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    background: rgba(139,0,0,0.15);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.why-card .why-icon {
    width: 70px;
    height: 70px;
    background: rgba(139,0,0,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.why-card h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands-section {
    background: var(--white);
}

.brand-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 20px;
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.brand-item i {
    font-size: 3rem;
    color: var(--gray-dark);
}

.brand-item span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-dark);
    letter-spacing: 1px;
}

/* ========================================
   INQUIRY SECTION
   ======================================== */
.inquiry-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.inquiry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.inquiry-section .inquiry-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.inquiry-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.inquiry-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.inquiry-section .btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 6px;
    transition: var(--transition);
}

.inquiry-section .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--primary-hover);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
    border-top: 3px solid var(--primary);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--primary-light);
}

.footer-brand small {
    font-size: 0.65rem;
    font-weight: 300;
    display: block;
    letter-spacing: 4px;
    color: var(--primary-light);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    border-radius: 50%;
    margin-right: 8px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact .contact-item i {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   PAGE HEADER / BANNER
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.page-header h1 {
    color: var(--white);
    font-weight: 800;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 10px 0 0;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb-item {
    color: rgba(255,255,255,0.6);
}

.page-header .breadcrumb-item a {
    color: var(--primary-light);
}

.page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(139,0,0,0.4);
}

.about-image .experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.about-image .experience-badge span {
    font-size: 0.85rem;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--primary);
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-item i {
    color: var(--primary);
    font-size: 1.3rem;
}

.about-feature-item span {
    font-weight: 500;
    color: var(--dark);
}

/* ========================================
   BRANCHES PAGE
   ======================================== */
.branch-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.branch-card .branch-header {
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.branch-card .branch-header i {
    font-size: 2rem;
    color: var(--primary-light);
}

.branch-card .branch-header h5 {
    margin: 0;
    font-weight: 700;
}

.branch-card .branch-body {
    padding: 25px;
}

.branch-card .branch-body .info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.branch-card .branch-body .info-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.branch-card .branch-body .info-item span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card .contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(139,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
}

.contact-info-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-info-card p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.15);
}

.contact-form-wrapper .form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
}

/* ========================================
   PRODUCT DETAILS
   ======================================== */
.product-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: var(--white);
    padding: 30px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumbnails .thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbnails .thumb:hover,
.product-thumbnails .thumb.active {
    border-color: var(--primary);
}

.product-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h2 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.product-detail-info .product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-detail-info .product-meta .meta-item {
    font-size: 0.9rem;
    color: var(--gray);
}

.product-detail-info .product-meta .meta-item strong {
    color: var(--dark);
}

.product-detail-info .product-price-large {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-detail-info .product-description {
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 25px;
}

.product-detail-info .action-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination-romax .page-link {
    color: var(--dark);
    border: 1px solid var(--gray-light);
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: 8px;
    transition: var(--transition);
}

.pagination-romax .page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-romax .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ========================================
   FILTER SIDEBAR
   ======================================== */
.filter-sidebar {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.filter-sidebar h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.filter-sidebar .list-group-item {
    border: none;
    padding: 8px 0;
    background: transparent;
    color: var(--gray);
    transition: var(--transition);
}

.filter-sidebar .list-group-item:hover,
.filter-sidebar .list-group-item.active {
    color: var(--primary);
    font-weight: 600;
    padding-left: 5px;
}

/* ========================================
   SEARCH BOX
   ======================================== */
.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 45px 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.15);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    color: var(--primary);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.slide-in-left { animation: slideInLeft 0.8s ease forwards; }
.slide-in-right { animation: slideInRight 0.8s ease forwards; }
.slide-in-up { animation: slideInUp 0.8s ease forwards; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1199px) {
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 991px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-slide { min-height: 70vh; }
    .section-padding { padding: 60px 0; }
    .section-title h2 { font-size: 2rem; }
    .page-header h1 { font-size: 2rem; }
    .about-image .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-slide { min-height: 60vh; }
    .hero-content .hero-btns .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    .section-padding { padding: 40px 0; }
    .section-title h2 { font-size: 1.6rem; }
    .page-header { padding: 40px 0; }
    .page-header h1 { font-size: 1.5rem; }
    .product-card .product-image { height: 180px; }
    .brand-item { height: 60px; }
    .brand-item span { font-size: 1rem; }
    .about-features { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 25px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; right: 20px; }
}

@media (max-width: 575px) {
    .hero-content h1 { font-size: 1.6rem; }
    .hero-slide { min-height: 50vh; }
    .product-detail-image img { height: 280px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ========================================
   UTILITY
   ======================================== */
.text-primary-romax { color: var(--primary); }
.bg-primary-romax { background: var(--primary); }
.bg-dark-romax { background: var(--dark); }
.btn-romax { background: var(--primary); border-color: var(--primary); color: var(--white); }
.btn-romax:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(139,0,0,0.3); }

.stock-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.stock-badge.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Count animation */
.count-up {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

/* Card hover lift */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Shadow on hover */
.hover-shadow:hover {
    box-shadow: var(--shadow-hover);
}
