/* Custom CSS for Whatty */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #1a1a1a;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--accent-color);
    overflow-x: hidden;
}

.script-text {
    font-family: 'Kaushan Script', cursive;
    color: var(--primary-color);
}

.brand-text {
    font-family: 'Kaushan Script', cursive;
    font-size: 2rem;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

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

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

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

.btn-order {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white !important;
}

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

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

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

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23ff6b35;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%23f7931e;stop-opacity:0.1"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)" class="floating"/><circle cx="800" cy="300" r="150" fill="url(%23a)" class="floating2"/><circle cx="400" cy="700" r="80" fill="url(%23a)" class="floating3"/></svg>') no-repeat center center;
    background-size: cover;
    animation: floatBg 20s ease-in-out infinite;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.floating-image {
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* Mapa de Sabores */
#mapa-sabores {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    position: relative;
}

.spain-map-container {
    position: relative;
    height: 500px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><path d="M100 200 L200 150 L300 180 L400 160 L500 200 L600 250 L650 300 L600 400 L500 450 L400 480 L300 460 L200 420 L150 350 Z" fill="%23e9ecef" stroke="%23dee2e6" stroke-width="2"/></svg>') no-repeat center center;
    background-size: contain;
    border-radius: 20px;
    overflow: hidden;
}

.interactive-map {
    position: relative;
    width: 100%;
    height: 100%;
}

.region-marker {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.region-marker:hover {
    transform: scale(1.1);
}

.marker-pulse {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.marker-pulse::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.region-name {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.region-dish {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.region-marker:hover .region-dish {
    opacity: 1;
}

/* Trending Dishes */
.trending-dishes {
    position: relative;
}

.trending-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.trending-carousel::-webkit-scrollbar {
    height: 8px;
}

.trending-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.trending-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.dish-card {
    min-width: 280px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dish-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dish-info {
    padding: 20px;
}

.dish-info h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.dish-info p {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Express Service */
.express-service {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.express-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="100" cy="100" r="50" fill="rgba(255,193,7,0.1)"/><circle cx="900" cy="200" r="80" fill="rgba(255,193,7,0.1)"/><circle cx="800" cy="800" r="60" fill="rgba(255,193,7,0.1)"/></svg>');
    animation: floatBg 15s ease-in-out infinite;
}

.express-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    width: 25px;
}

.express-visual img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Testimonials */
.testimonials {
    background: var(--light-gray);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.8;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h5 {
    margin: 0;
    font-weight: 600;
    color: var(--accent-color);
}

.testimonial-author span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Behind the Food */
.behind-food {
    background: linear-gradient(45deg, #f8f9fa, white);
}

.behind-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(45deg, #e55a2b, #e0851a);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-warning {
    background: var(--warning-color);
    border: none;
    border-radius: 25px;
    color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    color: var(--accent-color);
}

/* Footer */
footer {
    background: var(--accent-color) !important;
}

footer h5, footer h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

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

.form-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 8px;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .floating-image {
        animation: float 6s ease-in-out infinite;
    }
    
    .marker-pulse {
        animation: pulse 2s infinite;
    }
    
    .hero-bg-animation {
        animation: floatBg 20s ease-in-out infinite;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .brand-text {
        font-size: 1.5rem;
    }
    
    .trending-carousel {
        gap: 15px;
    }
    
    .dish-card {
        min-width: 250px;
    }
    
    .behind-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .spain-map-container {
        height: 300px;
    }
    
    .region-name {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .region-dish {
        font-size: 0.6rem;
        padding: 2px 5px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .express-features {
        margin: 20px 0;
    }
    
    .behind-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-section{
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0 50px;
}

.contact-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    color: var(--primary-color);
}

.contact-item:hover i {
    color: white;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.team-member h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 50px;
    background: var(--light-gray);
}

.policy-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.policy-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.policy-content h3 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content ul {
    margin-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px 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); }
}

/* Success Message */
.success-message {
    background: var(--success-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

html{
    overflow-x: hidden;
}