/* ===========================================
   BakeStudioByHelony - Main Stylesheet
   =========================================== */

/* Base Styles */
body {
    background-color: #F9F7F2;
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scrolling - Cross Browser */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {

    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* iOS Safari Fixes */
input,
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Prevent iOS zoom on input focus */
@media screen and (max-width: 768px) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Firefox Scrollbar Styling */
* {
    scrollbar-width: thin;
    scrollbar-color: #C48B77 #F9F7F2;
}

/* Webkit Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F9F7F2;
}

::-webkit-scrollbar-thumb {
    background: #C48B77;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1A1A1A;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {

    nav,
    #page-loader,
    #mobile-menu,
    footer,
    #order-fab {
        display: none !important;
    }

    body {
        background: white !important;
    }

    a {
        text-decoration: underline;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .text-gray-400,
    .text-gray-500,
    .text-gray-600 {
        color: #1A1A1A !important;
    }
}

/* Page Loader Animation */
#page-loader {
    transition: opacity 0.5s ease-out;
}

/* Toast Notification Styles */
#toast {
    transition: all 0.3s ease;
}

/* Filter Button Active State */
.filter-btn.active {
    border-color: #C48B77;
    color: #C48B77;
    background-color: white;
}

/* Carousel Transitions */
.carousel-slide {
    transition: opacity 0.5s ease;
}

.carousel-dot {
    transition: all 0.3s ease;
}

/* Gallery Grid Hover Effects */
.gallery-item img {
    transition: transform 0.7s ease;
}

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

