/* ========================================
   Common Styles - Tenerife Wine Experience
   Estilos compartidos entre todas las páginas
   ======================================== */

/* Typography */
h2 { font-weight: 700; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }
h5 { font-weight: 400; }

.intro { 
    margin: 0; 
    font-size: 80px; 
    line-height: 80px; 
}

/* Icon box */
.icon_box .desc_wrapper h4 { font-weight: 700; }
.icon_box .desc_wrapper { margin: 0 10%; }

/* Progress icons */
.progress_icons .progress_icon { 
    color: rgba(0, 0, 0, 0.7); 
    height: 40px; 
    line-height: 38px; 
    width: 40px; 
    font-size: 24px; 
}

.progress_icons .progress_icon:not(.themebg) { 
    background: none repeat scroll 0 0 rgba(255, 252, 252, 0.3); 
}

/* Form - Dark inputs */
.dark input[type="text"], 
.dark input[type="tel"], 
.dark input[type="password"], 
.dark input[type="email"], 
.dark textarea, 
.dark select, 
.dark .woocommerce .quantity input.qty {
    background-color: transparent;
    border-color: #ffffff;
    box-shadow: 0 0 0 0;
    color: #ffffff;
}

.dark input[type="text"]:focus, 
.dark input[type="tel"]:focus, 
.dark input[type="password"]:focus, 
.dark input[type="email"]:focus, 
.dark textarea:focus, 
.dark select:focus {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #ffffff;
}

.dark input[type="submit"] {
    color: #004435;
    font-weight: 700;
}

/* Placeholders */
::-webkit-input-placeholder { color: #fff; }
:-moz-placeholder { color: #fff; }
::-moz-placeholder { color: #fff; }
:-ms-input-placeholder { color: #fff; }

/* Custom Booking Button */
.custom-booking-button {
    background-color: white !important;
    color: black !important;
    border: 1px solid black !important;
    transition: all 0.3s ease;
}

.custom-booking-button:hover {
    background-color: #e0e0e0 !important;
    color: black !important;
}

/* ========================================
   Cookie Banner Styles
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ff8c00;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: #fff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    text-align: center;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

.cookie-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.cookie-btn-accept:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ========================================
   Responsive Typography
   ======================================== */
@media only screen and (max-width: 767px) {
    h2 { font-size: 35px; line-height: 40px; }
    .intro { font-size: 35px; line-height: 35px; }
    .items_group { padding: 20px 0; }
}
