/* 
   Custom Premium Styles for María Celeste Ortiz 
   Glassmorphism, Modern Shadows, and Refined UX
*/

:root {
    --primary-premium: #8A708A;
    --primary-hover: #6d586d;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --accent-color: #00AEEF;
}

/* Glassmorphism Header */
.is-sticky.has-fixed {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

/* Modern Card Styles */
.cards-light {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.cards-light:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.cards-thumb img {
    transition: transform 0.6s ease;
}

.cards-light:hover .cards-thumb img {
    transform: scale(1.05);
}

/* Floating Newsletter - Premium Redesign */
.floating-subscribe-area {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-subscribe-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-premium), #a68ba6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(138, 112, 138, 0.4);
    transition: all 0.3s ease;
    border: 2px solid #fff;
    cursor: pointer;
    text-decoration: none !important;
}

.floating-subscribe-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(138, 112, 138, 0.6);
}

.floating-subscribe-icon span {
    font-size: 26px;
}

.subscribe-tooltip {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.floating-subscribe-area:hover .subscribe-tooltip {
    opacity: 1;
    transform: translateY(-5px);
}

.subscribe-form-wrapper {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    display: none;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.subscribe-form-wrapper h4 {
    margin-bottom: 15px;
    color: #444;
    font-weight: 700;
}

.subscribe-form-wrapper input[type="email"] {
    border-radius: 12px !important;
    padding: 12px 15px !important;
    border: 1px solid #eee !important;
    margin-bottom: 15px !important;
    font-size: 15px !important;
}

.subscribe-form-wrapper button {
    border-radius: 12px !important;
    padding: 12px !important;
    background: var(--primary-premium) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
}

/* Animations for Section Entry */
.section {
    opacity: 1;
    /* Pre-loaded for now, but ready for ScrollReveal */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* WhatsApp Link Styling in Nav */
.t-phone1 a {
    font-weight: 600;
    color: #25D366 !important;
    transition: color 0.3s ease;
}

.t-phone1 a:hover {
    color: #128C7E !important;
}

/* Logo Visibility Logic */
/* 1. Hide the logo when it's over the background (transparent header) */
.navbar-brand {
    display: none !important;
}

/* 2. Show the logo only when the header is fixed (scrolled down) */
.has-fixed .navbar-brand {
    display: flex !important;
}

/* Base style for logo images */
.navbar-brand img {
    height: auto !important;
    max-height: 60px !important;
    width: auto !important;
    transition: all 0.3s ease-in-out;
    padding: 5px 0;
}

/* Specific enhancement for logo-light within the sticky tab if needed */
.has-fixed .logo-light {
    filter: brightness(1.1) drop-shadow(0 0 5px rgba(0, 0, 0, 0.1));
}