/**
 * ============================================
 * CASIO ELITE - Homepage Styles
 * Modern, Elegant, Luxury Watch Store
 * ============================================
 */

/* ============================================
   RESPONSIVE FIXES - MOBILE COMPATIBILITY
============================================ */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
}

section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix for all grid and flex containers */
.grid, .flex {
    max-width: 100%;
}

/* Fix for hero section */
.hero-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.hero-bg,
.hero-overlay,
.hero-particles {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix for all sections */
section[id],
section[class*="section"] {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Fix for preloader */
.preloader {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix for marquee */
.marquee {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix for product grid */
#product-grid,
#categories-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ============================================
   FLOATING BUTTONS
============================================ */
.chat-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffb300, #e5a100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(255, 179, 0, 0.5);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.chat-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 179, 0, 0.6);
}

/* ============================================
   CHAT WIDGET STYLES
============================================ */
.chat-box {
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 1000;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    min-height: 200px;
    max-height: 300px;
    scrollbar-width: thin;
    scrollbar-color: #ffb300 transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #ffb300;
    border-radius: 2px;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: #ffb300;
    box-shadow: 0 0 0 2px rgba(255, 179, 0, 0.2);
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chat-send-btn {
    background: #ffb300;
    color: #000;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.chat-send-btn:hover {
    background: #e5a100;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 80px;
        left: 15px;
    }
    
    .chat-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        left: 15px;
    }
    
    .chat-box {
        width: calc(100vw - 2rem);
        max-width: 320px;
        left: 1rem;
        bottom: 80px;
    }
}

/* ============================================
   CSS VARIABLES
============================================= */
:root {
    --gold: #d4af37;
    --gold-light: #f5e6a3;
    --black: #050505;
    --dark: #0a0a0a;
    --gray: #1a1a1a;
}

/* ============================================
   PRELOADER
============================================= */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.watch-loader {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--gray);
    position: relative;
    animation: watchPulse 2s ease-in-out infinite;
}

.watch-face {
    width: 100%;
    height: 100%;
    position: relative;
}

.watch-hand {
    position: absolute;
    background: var(--gold);
    transform-origin: bottom center;
    bottom: 50%;
    left: 50%;
    border-radius: 4px;
}

.watch-hand.hour {
    width: 4px;
    height: 30px;
    margin-left: -2px;
    animation: hourHand 6s linear infinite;
}

.watch-hand.minute {
    width: 3px;
    height: 40px;
    margin-left: -1.5px;
    animation: minuteHand 1s linear infinite;
}

.watch-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
}

@keyframes hourHand {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes minuteHand {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes watchPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
}

/* ============================================
   NAVBAR
============================================= */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}


/* ============================================
   HERO SECTION
============================================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding-top: 70px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 85vh;
        padding-top: 60px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(5, 5, 5, 0.8) 50%,
        rgba(5, 5, 5, 0.6) 100%
    );
    z-index: 1;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { top: 40%; left: 70%; animation-delay: 4s; }
.particle:nth-child(4) { top: 80%; left: 80%; animation-delay: 6s; }
.particle:nth-child(5) { top: 30%; left: 90%; animation-delay: 8s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
}

/* Hero Text */
.hero-title {
    text-shadow: 0 0 80px rgba(212, 175, 55, 0.2);
}

/* Hero Watch */
.hero-watch-container {
    position: relative;
}

.hero-watch {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-watch-img {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    animation: watchFloat 6s ease-in-out infinite;
}

.watch-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes watchFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-1 { top: 10%; right: 5%; animation-delay: 0s; }
.badge-2 { bottom: 30%; left: -5%; animation-delay: 1s; }
.badge-3 { bottom: 10%; right: 10%; animation-delay: 2s; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* Stats Animation */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.5s; }
.stat-item:nth-child(2) { animation-delay: 0.7s; }
.stat-item:nth-child(3) { animation-delay: 0.9s; }

/* ============================================
   BUTTONS
============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: black;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.8125rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.8125rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-secondary {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--gold);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--gold);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .btn-outline {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.8125rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-outline {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

.btn-outline:hover {
    background: var(--gold);
    color: black;
    transform: scale(1.05);
}

/* ============================================
   MARQUEE
============================================= */
.marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   CATEGORIES
============================================= */
.category-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s;
}

@media (max-width: 1024px) {
    .category-card {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .category-card {
        height: 280px;
        border-radius: 16px;
    }
}

@media (max-width: 640px) {
    .category-card {
        height: 250px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .category-card {
        height: 220px;
    }
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 1;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

@media (max-width: 768px) {
    .category-content {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .category-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .category-content {
        padding: 12px;
    }
}

.category-card .category-count {
    display: inline-block;
    background: var(--gold);
    color: black;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.category-card .view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.category-card:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FEATURES
============================================= */
.feature-item {
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(-10px);
}

.feature-item:hover .feature-icon {
    background: var(--gold);
}

.feature-item:hover .feature-icon i {
    color: black;
}

/* ============================================
   TESTIMONIALS
============================================= */
.testimonial-card {
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTACT
============================================= */
.contact-card {
    transition: all 0.3s;
}

.contact-card:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(-10px);
}

/* ============================================
   PRODUCT MODAL
============================================= */
.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
}

.product-modal-content {
    background: var(--dark);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.product-modal.open .product-modal-content {
    transform: scale(1);
}

/* ============================================
   COUNTDOWN
============================================= */
.countdown-box {
    text-align: center;
}

/* ============================================
   GLASS HOVER EFFECT
============================================= */
.glass-hover {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

/* ============================================
   ANIMATIONS
============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ============================================
   OFFERS SECTION
============================================= */
.offers-bg-image {
    background-image: url('https://images.unsplash.com/photo-1509941943113-4c08df4a0c5e?auto=format&fit=crop&q=80&w=2000');
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.border-opacity-10 {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESPONSIVE
============================================= */

/* Extra Large Screens */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Large Screens (Tablets Landscape) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-badge {
        display: none;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .category-card {
        height: 350px;
    }
}

/* Medium Screens (Tablets Portrait) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 1 auto;
        text-align: center;
        min-width: 100px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .category-card {
        height: 280px;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
}

/* Small Screens (Mobile Landscape) */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.625rem;
        letter-spacing: 0.2em;
    }
    
    .hero-desc {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
    }
    
    .category-card {
        height: 250px;
    }
    
    .category-content {
        padding: 1.5rem;
    }
    
    .category-card h3 {
        font-size: 1.25rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.8125rem;
        width: 100%;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-card > div:first-child {
        margin: 0 auto;
    }
    
    .social-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .glass {
        padding: 1rem;
    }
    
    .hero-watch-img {
        max-width: 100%;
    }
}

/* Extra Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.5rem;
    }
    
    .hero-desc {
        font-size: 0.8125rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .category-card {
        height: 220px;
    }
    
    .category-content {
        padding: 1rem;
    }
    
    .category-card h3 {
        font-size: 1.125rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .feature-icon i {
        font-size: 1.125rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-card p {
        font-size: 0.8125rem;
    }
    
    .contact-card {
        padding: 0.75rem;
    }
    
    .contact-card .w-14 {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .contact-card i {
        font-size: 1.125rem;
    }
    
    .social-btn {
        width: 2.25rem;
        height: 2.25rem;
    }
    
    .social-btn i {
        font-size: 0.875rem;
    }
    
    .glass {
        padding: 0.75rem;
    }
    
    .countdown-box span {
        font-size: 2rem;
    }
    
    .marquee-content span {
        font-size: 1rem;
    }
    
    .hero-watch-container {
        margin-top: 2rem;
    }
    
    .preloader-content p {
        font-size: 0.875rem;
    }
    
    .watch-loader {
        width: 80px;
        height: 80px;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .category-card {
        height: 200px;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 8px 12px;
        font-size: 0.6875rem;
    }
    
    .countdown-box span {
        font-size: 1.5rem;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-desc {
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin-top: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline:hover {
        transform: none;
    }
    
    .category-card:hover {
        transform: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
    
    .contact-card:hover {
        transform: none;
    }
    
    /* Increase touch target sizes */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        min-height: 44px;
    }
    
    .social-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    #searchBtn,
    #mobileMenuBtn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .category-card img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .preloader,
    .chat-float,
    .whatsapp-float,
    .chat-box,
    #navbar,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
}

