/* ============================================
   Jalene Perfumeria Y Joyeria - Custom Styles
   ============================================ */

/* Custom Properties */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--cream-50);
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-600) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all duration-300 ease;
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 120, 87, 0.4);
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--emerald-700);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--emerald-700);
}

.btn-secondary:hover {
    background: var(--emerald-700);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
#navbar {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(4, 120, 87, 0.1);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
.mobile-link {
    position: relative;
}

/* Hero Section */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--emerald-500);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--emerald-400);
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--emerald-300);
    top: 40%;
    right: 45%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: float-badge 4s ease-in-out infinite;
}

.badge-1 {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 2s;
}

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

/* About Section */
.about-images {
    position: relative;
}

/* Collection Cards */
.collection-card {
    position: relative;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: white/20;
}

/* Contact Form */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    outline: none;
}

/* Back to Top Button */
#back-to-top {
    transition: all 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(4, 120, 87, 0.4);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-shape {
        display: none;
    }
    
    .floating-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .font-display {
        font-size: 2rem;
    }
    
    .font-display {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .visit-content {
        text-align: center;
    }
    
    .visit-content h2 {
        font-size: 2rem;
    }
    
    .visit-content > div:first-child {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    #navbar,
    #back-to-top {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .hero-shape,
    .floating-badge {
        display: none;
    }
}
