/* Berndes Pentole - Custom Styles */

/* ===== FONTS ===== */
body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CORAL COLOR PALETTE ===== */
/* Primary accent color - coral/warm orange */
.bg-coral-100 {
    background-color: #fff1ed;
}
.bg-coral-200 {
    background-color: #ffe4db;
}
.bg-coral-500 {
    background-color: #f97066;
}
.bg-coral-600 {
    background-color: #e5554a;
}
.text-coral-200 {
    color: #ffe4db;
}
.text-coral-500 {
    color: #f97066;
}
.text-coral-600 {
    color: #e5554a;
}
.border-coral-500 {
    border-color: #f97066;
}
.ring-coral-500 {
    --tw-ring-color: #f97066;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== HEADER STYLES ===== */
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ===== MOBILE MENU TRANSITIONS ===== */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open {
    display: block;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #a8a29e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #78716c;
}

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #f97066;
    outline-offset: 2px;
}

/* ===== FORM INPUT STYLES ===== */
input::placeholder {
    color: #a8a29e;
}

input:focus {
    outline: none;
}

/* ===== CARD HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== IMAGE EFFECTS ===== */
.image-shine {
    position: relative;
    overflow: hidden;
}

.image-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.image-shine:hover::after {
    left: 100%;
}

/* ===== SECTION SPACING ===== */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* ===== GRADIENT BACKGROUNDS ===== */
.bg-gradient-warm {
    background: linear-gradient(135deg, #fafaf9 0%, #fff7ed 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background-color: #f97066;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgb(249 112 102 / 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgb(249 112 102 / 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #44403c;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid #d6d3d1;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #a8a29e;
    background-color: #fafaf9;
}

/* ===== TESTIMONIAL CAROUSEL (MOBILE) ===== */
#testimonial-carousel {
    position: relative;
}

#testimonial-track {
    display: flex;
    transition: transform 0.3s ease;
}

#testimonial-track > div {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #d6d3d1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: #f97066;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats .w-px {
        width: 100%;
        height: 1px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    header,
    footer,
    #mobile-menu,
    button,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== SELECTION STYLES ===== */
::selection {
    background-color: #f97066;
    color: white;
}

::-moz-selection {
    background-color: #f97066;
    color: white;
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #a8a29e;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
