/* ==========================================================================
   Abilvi - Fashion Brand Styles
   ========================================================================== */

:root {
    --primary-color: #2C3E50;
    --secondary-color: #E74C3C;
    --accent-color: #F39C12;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Unbounded', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --border-radius: 20px;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.brand-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;

}

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

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 25px 25px, white 2%, transparent 0%),
        radial-gradient(circle at 75px 75px, white 2%, transparent 0%);
    background-size: 100px 100px;
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.animated-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.animated-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    position: relative;
    animation: scrollArrow 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes scrollArrow {
    0%, 20% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; }
    80%, 100% { opacity: 0; transform: translateY(10px); }
}

/* Section Titles */
.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Looks de la Semana */
.looks-semana {
    background: var(--bg-light);
}

.looks-carousel {
    overflow: hidden;
}

.look-card {
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.look-card:hover {
    transform: translateY(-10px);
}

.look-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.look-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.look-card:hover .look-image img {
    transform: scale(1.05);
}

.look-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.look-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.look-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    background: white;
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    box-shadow: var(--shadow-sm);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color) !important;
}

/* Instagram Section */
.polaroid-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    transform: rotate(-2deg);
}

.polaroid-card:nth-child(even) {
    transform: rotate(2deg);
}

.polaroid-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.polaroid-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-caption p {
    margin-bottom: 0.5rem;
    font-style: italic;
}

.polaroid-caption span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Behind Scenes */
.behind-scenes {
    position: relative;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.fabric-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1%, transparent 1%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.behind-content {
    position: relative;
    z-index: 2;
}

.process-steps {
    margin-top: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    opacity: 0.9;
}

.behind-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 500px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gallery-item.main {
    grid-row: 1 / -1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Highlight */
.bg-gradient {
    background: var(--gradient-tertiary)!important;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.service-icon {
    background: var(--gradient-primary);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
}

.price-tag {
    background: var(--gradient-secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin: 1rem 0;
}

.price {
    font-size: 2rem;
    font-weight: bold;
}

.price-detail {
    font-size: 0.9rem;
    opacity: 0.9;
}

.service-benefits {
    text-align: left;
    max-width: 300px;
    margin: 2rem auto;
}

.service-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Trends Map */
.trends-map {
    background: var(--bg-light);
}

.trend-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.trend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trend-card.madrid::before { background: linear-gradient(45deg, #2C3E50, #E74C3C); }
.trend-card.barcelona::before { background: linear-gradient(45deg, #3498DB, #F39C12); }
.trend-card.sevilla::before { background: linear-gradient(45deg, #8E44AD, #E67E22); }
.trend-card.valencia::before { background: linear-gradient(45deg, #FF6B6B, #4ECDC4); }
.trend-card.bilbao::before { background: linear-gradient(45deg, #34495E, #95A5A6); }
.trend-card.granada::before { background: linear-gradient(45deg, #A0522D, #DAA520); }

.trend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.trend-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.trend-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.color-palette {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Occasion Styles */
.occasion-tabs .nav-pills .nav-link {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.occasion-tabs .nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white!important;
}
.occasion-tabs .nav-pills .nav-link::after{
    content: none;
    display: none;
}
.style-card {
    position: relative;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.style-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.style-card:hover img {
    transform: scale(1.1);
}

.style-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.style-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.style-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    background-size: 30px 30px;
    animation: textureMove 10s linear infinite;
}

@keyframes textureMove {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(30px); }
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    border: none;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #1a1a1a !important;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .behind-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        height: auto;
    }
    
    .gallery-item.main {
        grid-row: auto;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .occasion-tabs .nav-pills .nav-link {
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .polaroid-card {
        transform: none !important;
    }
    
    .polaroid-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .service-card {
        padding: 2rem 1rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 50px!important;
        margin-bottom: 1rem;
        width: 100%;
        overflow: hidden;
    }
    
    .newsletter-form .btn {
        border-radius: 50px!important;
    }
}

@media (max-width: 576px) {
    .looks-carousel .swiper-button-next,
    .looks-carousel .swiper-button-prev {
        display: none;
    }
    
    .trend-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

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

.bounce-in {
    animation: bounceIn 1s ease-in-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-gradient-custom {
    background: var(--gradient-primary)!important;
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.font-primary {
    font-family: var(--font-primary);
}

.font-secondary {
    font-family: var(--font-secondary);
}

.font-body {
    font-family: var(--font-body);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Success/Error Messages */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #b1dfbb;
    color: #155724;
    border-radius: var(--border-radius);
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: var(--border-radius);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Print Styles */
@media print {
    .navbar, .cookie-banner, .social-links, .newsletter-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        height: auto;
        padding: 2rem 0;
    }
    
    .section-title {
        color: #000 !important;
        page-break-after: avoid;
    }
}