/* Kalkaire Custom Styles */

:root {
    --primary: #ec4899;
    --primary-hover: #db2777;
    --primary-light: #fce7f3;
    --secondary: #8b5cf6;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Primary Color */
.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

.border-primary {
    border-color: var(--primary);
}

/* Header Styles */
#header {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

#header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Button Styles */
.cta-button {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(236, 72, 153, 0.4);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(236, 72, 153, 0.5);
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.cta-button:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    min-height: 600px;
}

/* Benefit Cards */
.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-card-detail {
    transition: all 0.3s ease;
}

.benefit-card-detail:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
}

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

/* Image Gallery */
.image-gallery .main-image img {
    transition: transform 0.3s ease;
}

.image-gallery .main-image:hover img {
    transform: scale(1.02);
}

.thumbnail {
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* Reviews */
.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* FAQ */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question.active svg {
    transform: rotate(180deg);
}

.faq-answer {
    transition: all 0.3s ease;
}

/* Order Form */
.order-form input,
.order-form textarea {
    transition: all 0.3s ease;
}

.order-form input:focus,
.order-form textarea:focus {
    transform: translateY(-2px);
}

.error-message {
    display: block;
    margin-top: 0.25rem;
}

.error-message.show {
    display: block;
}

input.error,
textarea.error {
    border-color: #ef4444;
}

/* Floating WhatsApp Button */
.floating-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }

    .floating-btn span {
        display: none;
    }

    .floating-btn {
        padding: 1rem;
        width: 60px;
        height: 60px;
        justify-content: center;
    }

    #floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .thumbnails {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .thumbnails::-webkit-scrollbar {
        display: none;
    }
}

/* Loading States */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

/* Selection */
::selection {
    background-color: var(--primary);
    color: white;
}

::-moz-selection {
    background-color: var(--primary);
    color: white;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    #header,
    #floating-whatsapp,
    footer {
        display: none;
    }
}
