:root {
    --primary-color: #e63946; 
    --primary-dark: #d62828;
    --secondary-color: #f1faee;
    --bg-color: #f8f9fa;
    --text-color: #1d3557;
    --text-muted: #457b9d;
    --brand-purple: #9D4EDD; 
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: 0; 
}

h1, h2, h3, h4, h5, h6, .font-playfair {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

p {
    line-height: 1.8;
}

/* Custom Nav */
.custom-nav {
    background: transparent;
    transition: all 0.4s ease;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.custom-nav.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.brand-logo {
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.nav-hover-fx {
    position: relative;
    padding-bottom: 5px;
    margin: 0 15px;
}

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

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

/* Buttons */
.btn-action {
    background-color: var(--primary-color);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-action:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.floating-social {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    gap: 2px;
}

.fs-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
}

.fs-icon:hover {
    width: 60px;
    color: white;
}

.fs-icon.whatsapp { background: #25D366; }
.fs-icon.phone { background: var(--primary-color); }
.fs-icon.location { background: var(--text-color); }
.fs-icon.fb { background: #1877F2; }
.fs-icon.insta { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
}

/* Fade In Up */
.fade-in-up {
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 1s;
}
/* Fade In Left */
.fade-in-left {
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 1s;
}
/* Fade In Right */
.fade-in-right {
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 1s;
}
/* Zoom In */
.zoom-in {
    transform: scale(0.9);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 1s;
}

/* Floating Animation */
.float-anim {
    animation: floating 4s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Activation Class */
.animate-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(0) scale(1) !important;
}

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Main sections padding */
.section-padding {
    padding: 80px 0;
}

/* AI Bot Styles */
.ai-bot-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--brand-purple), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-bot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.ai-bot-panel {
    position: fixed;
    bottom: 110px;
    left: 30px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transform-origin: bottom left;
    animation: bot-pop 0.3s ease forwards;
}
@keyframes bot-pop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
.ai-bot-header {
    background: linear-gradient(135deg, var(--brand-purple), var(--primary-color));
    color: white;
    padding: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-bot-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ai-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.95rem;
}
.ai-msg.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.ai-msg.user {
    background: var(--brand-purple);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}
.ai-bot-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}
.ai-bot-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
    font-size: 0.9rem;
}
.ai-bot-send {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}
.ai-bot-send:hover {
    background: var(--primary-dark);
}

/* --- Video Loader --- */
#siteLoader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#siteLoader.hidden {
    opacity: 0;
    visibility: hidden;
}
#loaderVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}