/* Custom scrollbar for sliders */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Slider touch improvements */
.slider-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Mobile slider specific styles */
@media (max-width: 768px) {
    .slider-container {
        scroll-snap-type: x mandatory;
    }
    
    .mobile-slider-item {
        scroll-snap-align: start;
    }
}

/* Simple logo icon styling */
.logo-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50,20 A30,15 0 0,1 50,50 A30,15 0 0,1 50,20 M20,50 L80,50 M50,50 L50,80' fill='none' stroke='%239c244c' stroke-width='5'/%3E%3C/svg%3E");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

/* WhatsApp Button Styling */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 36, 76, 0.4);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Slider Item Hover Effects */
.slider-item {
    transition: transform 0.3s ease;
}

.slider-item:hover {
    transform: translateY(-5px);
}

/* Custom Brand Colors */
:root {
    --brand-red: #9c244c;
    --brand-tan: #d1b995;
    --brand-cream: #fdf5f7;
    --brand-green: #43b173;
}

/* Additional Custom Styles */
.hero-pattern {
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    background-repeat: no-repeat;
    background-position: left;
    opacity: 0.1;
}

/* Responsive Image Styling */
.responsive-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.responsive-image:hover {
    transform: scale(1.05);
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--brand-red);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: rgba(156, 36, 76, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 36, 76, 0.3);
}

/* Section Spacing */
.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
}

/* Text Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
.focus-visible:focus {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    /* Mobile Header Adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile Logo Sizing */
    .mobile-logo {
        height: 3rem;
        width: auto;
        max-width: 200px;
    }
    
    /* Mobile Menu Improvements */
    #mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 40;
    }
    
    /* Mobile Button Sizing */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
    
    /* Mobile Text Sizing */
    .mobile-text-sm {
        font-size: 0.875rem;
    }
    
    .mobile-text-lg {
        font-size: 1.125rem;
    }
    
    /* Mobile Padding Adjustments */
    .mobile-px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .mobile-py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Mobile Grid Adjustments */
    .mobile-grid-1 {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Image Adjustments */
    .mobile-img-full {
        width: 100%;
        height: auto;
    }
    
    /* Mobile Slider Adjustments */
    .mobile-slider-item {
        min-width: 160px;
        margin: 0 0.25rem;
    }
    
    /* Mobile Slider Buttons */
    .mobile-slider-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile Slider Container */
    .mobile-slider-container {
        position: relative;
        overflow: hidden;
    }
    
    /* Touch scrolling improvements */
    .slider-active {
        cursor: grabbing;
    }
    
    .slider-active * {
        pointer-events: none;
    }
    
    /* Mobile Hero Section */
    .mobile-hero-padding {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Mobile Section Spacing */
    .mobile-section-spacing {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    /* Very small mobile adjustments */
    .xs-mobile-text-xs {
        font-size: 0.75rem;
    }
    
    .xs-mobile-text-sm {
        font-size: 0.875rem;
    }
    
    .xs-mobile-px-2 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .xs-mobile-py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Very small mobile logo */
    .xs-mobile-logo {
        height: 2.5rem;
        width: auto;
        max-width: 150px;
    }
    
    /* Very small mobile buttons */
    .xs-mobile-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet specific adjustments */
    .tablet-text-lg {
        font-size: 1.5rem;
    }
    
    .tablet-px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .tablet-py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch device specific styles */
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }
    
    .touch-hover:hover {
        transform: none;
    }
    
    .touch-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* High DPI Display Adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* High DPI adjustments */
    .high-dpi-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .landscape-mobile-padding {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .landscape-mobile-hero {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-text {
        color: black !important;
        background: white !important;
    }
}