/* LA'VERIA Custom Styles */

:root {
    --primary-orange: #ee9226;
    --primary-green: #2e402a;
    --primary-red: #9c2f11;
    --primary-gold: #f1cd84;
    --soft-orange: #f5a84a;
    --soft-green: #4a5c46;
    --soft-red: #b8453a;
    --soft-gold: #f7dba0;
    --dark-brown: #3E2723;
    --light-cream: #FFF8E1;
    --warm-white: #FAFAFA;
    --text-dark: #2C2C2C;
    --text-light: #666666;
}

/* Loading Animation */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Organic Shapes */
.organic-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.organic-shape-2 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.organic-shape-3 {
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
}

/* Gradient Backgrounds */
.gradient-orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--soft-orange));
}

.gradient-green {
    background: linear-gradient(135deg, var(--primary-green), var(--soft-green));
}

.gradient-warm {
    background: linear-gradient(135deg, var(--light-cream), var(--warm-white));
}

/* Custom Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-orange), var(--soft-orange));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
    color: white;
}

.btn-success-custom {
    background: linear-gradient(135deg, var(--primary-green), var(--soft-green));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
    color: white;
}

.btn-laveria-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--soft-orange));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-laveria-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
    color: white;
}

.btn-laveria-secondary {
    background: linear-gradient(135deg, var(--primary-green), var(--soft-green));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.btn-laveria-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
    color: white;
}

/* Navbar Styles */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--soft-orange), var(--soft-green));
    color: white;
}

.top-bar a:hover {
    color: var(--primary-orange) !important;
}

/* Font Classes */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.fw-500 {
    font-weight: 500;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Card Custom */
.card-custom {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Cards */
.card-laveria {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-laveria:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-laveria .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-laveria:hover .card-img-top {
    transform: scale(1.05);
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Hero Slider Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-slider-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1 !important;
}

.slide-image-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* Hero Content Animations */
.hero-title-container {
    position: relative;
    min-height: 120px;
}

.hero-main-title {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateY(20px);
}

.hero-main-title.active,
.hero-main-title[style*="opacity: 1"] {
    transform: translateY(0);
}

.hero-description-container {
    position: relative;
    height: auto;
    min-height: 80px;
}

.hero-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateY(20px);
    margin: 0;
}

.hero-description.active {
    opacity: 1 !important;
    transform: translateY(0);
}



.hero-actions {
    position: relative;
    min-height: 60px;
}

.hero-action-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
    transform: translateY(20px);
}

.hero-action-group[style*="opacity: 1"] {
    transform: translateY(0);
}

/* Hero Slider Controls */
.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-indicator {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.hero-slide-indicator:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-slide-indicator.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-slide-indicator.active .indicator-dot {
    background: var(--primary-gold);
    box-shadow: 0 0 10px rgba(241, 205, 132, 0.5);
}

.indicator-label {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Floating Elements Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh !important;
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-description {
        font-size: 1.1rem !important;
    }
    
    .hero-description-container {
        min-height: 100px;
        margin-bottom: 2rem !important;
    }
    

    
    .hero-actions {
        min-height: 80px;
        margin-bottom: 2rem !important;
    }
    
    .hero-slider-controls {
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
        transform: none !important;
        width: auto !important;
    }
    
    .hero-slide-indicator {
        padding: 8px 12px;
        margin: 0 2px;
    }
    
    .indicator-label {
        font-size: 0.75rem;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    .hero-description-container {
        min-height: 80px;
        margin-bottom: 1.5rem !important;
    }
    

    
    .hero-actions {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-slide-indicator {
        padding: 6px 10px;
    }
    
    .hero-actions .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }
}

/* Smooth transitions for all hero elements */
.hero-content * {
    transition: all 0.3s ease;
}

/* Animation delays for staggered effect */
.hero-description[data-slide="1"] { transition-delay: 0.1s; }
.hero-description[data-slide="2"] { transition-delay: 0.2s; }
.hero-description[data-slide="3"] { transition-delay: 0.3s; }
.hero-description[data-slide="4"] { transition-delay: 0.4s; }



.hero-action-group[data-slide="1"] { transition-delay: 0.3s; }
.hero-action-group[data-slide="2"] { transition-delay: 0.4s; }
.hero-action-group[data-slide="3"] { transition-delay: 0.5s; }
.hero-action-group[data-slide="4"] { transition-delay: 0.6s; }

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

.animate-fade-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Statistics */
.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 30px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-orange);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-orange);
}

/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 0.9;
}

.product-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-orange);
}

/* Form Styles */
.form-laveria .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-laveria .form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 66, 0.25);
}

.form-laveria .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
}

.form-laveria .form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 66, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-laveria-primary,
    .btn-laveria-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
