/* 
   Sawariya Balloon Decoration - Design System
   Philosophy: "The Weightless Editorial"
*/

:root {
    /* Colors */
    --primary: #a02d70;
    --primary-container: #f673b7;
    --on-primary: #ffeff3;
    --secondary: #6448b2;
    --tertiary: #705900;
    --background: #f7f6f7;
    --on-background: #2d2f30;

    /* Surfaces (Tonal Layering) */
    --surface: #f7f6f7;
    --surface-container-low: #f1f0f2;
    --surface-container-lowest: #ffffff;
    --surface-container-high: #e2e2e4;
    --surface-container-highest: #dcddde;
    --on-surface-variant: #5b5b5d;

    /* Gradients */
    --celebration-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    --text-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    /* Shadows */
    --ambient-shadow: 0 40px 60px -20px rgba(100, 72, 178, 0.05);

    /* Border Radius */
    --radius-lg: 2rem;
    --radius-xl: 3rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--on-background);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
}

/* Typography Scale */
.display-lg {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.headline-lg {
    font-size: 3rem;
    line-height: 1.2;
}

.headline-md {
    font-size: 2.25rem;
    line-height: 1.3;
}

.body-lg {
    font-size: 1.25rem;
    color: var(--on-surface-variant);
}

/* Components */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--celebration-gradient);
    color: white;
    box-shadow: 0 20px 40px -10px rgba(160, 45, 112, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(160, 45, 112, 0.4);
}

.btn-secondary {
    background: var(--surface-container-highest);
    color: var(--on-background);
}

.btn-secondary:hover {
    background: var(--surface-container-high);
    transform: translateY(-1px);
}

.btn-tertiary {
    color: var(--tertiary);
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-tertiary:hover {
    gap: 0.8rem;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Layout Utilities */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section-spacing {
    padding: 10rem 0;
}

.tonal-section {
    background-color: var(--surface-container-low);
}

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

/* Animations */
.float-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.float-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Contact Icons */
.floating-contact {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 9999;
}

.contact-icon {
    width: 4rem; /* Increased size */
    height: 4rem;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    border: 2px solid transparent;
}

.contact-icon.whatsapp {
    border-color: #25D366;
}

.contact-icon.phone {
    border-color: #a02d70;
}

.contact-icon:hover {
    transform: scale(1.1) translateX(-5px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
}

.contact-icon i,
.contact-icon span,
.contact-icon img {
    transition: transform 0.3s ease;
}

.contact-icon:hover i,
.contact-icon:hover span,
.contact-icon:hover img {
    transform: scale(1.1);
}

.contact-icon.whatsapp {
    color: #25D366;
}

.contact-icon.instagram {
    color: #E4405F;
}

.contact-icon.phone {
    color: var(--primary);
}

.icon-label {
    position: absolute;
    right: 4.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-background);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
}

.contact-icon:hover .icon-label {
    opacity: 1;
    transform: translateX(0);
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #a02d70 0%, #f673b7 100%);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 40;
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    display: none;
    grid-template-cols: repeat(4, 1fr);
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--on-surface-variant);
    transition: all 0.2s ease;
}

.bottom-nav-item i, .bottom-nav-item .material-symbols-outlined {
    font-size: 1.5rem;
}

.bottom-nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bottom-nav-item.active {
    color: var(--primary);
}

/* Updated Floating Contact for Mobile */
@media (max-width: 768px) {
    .bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .floating-contact {
        bottom: 5rem; /* Space for bottom nav */
        top: auto;
        transform: none;
        right: 1.5rem;
    }
    
    .contact-icon.whatsapp {
        width: 3.5rem;
        height: 3.5rem;
        box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    }
    
    .contact-icon.phone {
        display: none; /* Hidden on mobile as it's in bottom nav */
    }

    .section-spacing {
        padding: 5rem 0;
    }
    
    .display-lg {
        font-size: 3rem;
    }
}

/* Fixes */
[v-cloak] {
    display: none;
}