/* style.css - Main Styles */
:root {
    --primary: #e52d6a;       /* Magenta Pink */
    --secondary: #7c4dff;     /* Accent Purple */
    --dark-blue: #181824;     /* Primary dark accents / slate */
    --accent: #1e88e5;        /* Light blue */
    --text-color: #1e293b;
    --text-muted: #64748b;
    --light-bg: #f8fafd;
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,0.04);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: var(--light-bg);
}

/* Mobile Navigation */
.mobile-nav {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: 0.3s;
}

.nav-menu {
    display: none;
    list-style: none;
    padding: 20px 0;
    background: white;
    border-top: 1px solid #eee;
}

.nav-menu.active {
    display: block;
}

.nav-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--secondary);
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary);
}

.nav-menu li a i {
    margin-right: 10px;
    width: 20px;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary, .btn-secondary, .btn-view-all {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    margin: 5px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary);
}

.btn-view-all {
    background: var(--accent);
    color: white;
    margin: 20px auto;
    display: inline-block;
}

/* Sections */
section {
    padding: 40px 20px;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.special-offers {
    background: white;
}

.offers-grid, .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card, .blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.offer-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.offer-card img, .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-card .content, .blog-card .content {
    padding: 20px;
}

.offer-card h3, .blog-card h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.offer-card .pricing {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 15px 0;
}

.offer-card .original-price {
    text-decoration: line-through;
    color: #999;
}

.offer-card .offer-price {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: bold;
}

.blog-card .meta {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow: hidden;
    display: none; /* Hide by default */
}

/* Chatbot Toggle Button */
.chatbot-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chatbot-toggle-btn:hover {
    transform: scale(1.1);
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header .chat-status {
    margin-left: auto;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
}

.chatbot-body {
    height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.chatbot-body.active {
    height: 400px;
}

.chat-messages {
    height: 330px;
    overflow-y: auto;
    padding: 15px;
    background: var(--light-bg);
}

.message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 85%;
    word-wrap: break-word;
}

.message.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message.user {
    background: var(--primary);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.chat-input {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 25px;
    margin-right: 10px;
}

.chat-input button {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    border-radius: 50%;
    cursor: pointer;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1.2s ease-in-out forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (min-width: 768px) {
    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .hamburger {
        display: none;
    }
    .nav-menu {
        display: flex;
        padding: 0;
        border-top: none;
    }
    .nav-menu li a {
        border-bottom: none;
    }
    .offers-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .offers-grid, .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .chatbot-widget {
        width: calc(100vw - 40px);
        bottom: 10px;
        right: 10px;
    }

    .chatbot-toggle-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .whatsapp-btn {
        bottom: 75px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* Custom premium font families and sizes mappings (for Quill editor generated content) */
[style*="font-family: playfair"], .ql-font-playfair {
    font-family: 'Playfair Display', serif !important;
}
[style*="font-family: lora"], .ql-font-lora {
    font-family: 'Lora', serif !important;
}
[style*="font-family: dancing"], .ql-font-dancing {
    font-family: 'Dancing Script', cursive !important;
}
[style*="font-family: cinzel"], .ql-font-cinzel {
    font-family: 'Cinzel', serif !important;
}
[style*="font-family: poppins"], .ql-font-poppins {
    font-family: 'Poppins', sans-serif !important;
}
[style*="font-family: georgia"], .ql-font-georgia {
    font-family: Georgia, serif !important;
}

/* Custom size overrides */
.ql-size-small, [style*="font-size: small"] {
    font-size: 0.85em !important;
}
.ql-size-large, [style*="font-size: large"] {
    font-size: 1.5em !important;
}
.ql-size-huge, [style*="font-size: huge"] {
    font-size: 2.25em !important;
}