/* =========================================================
   🌸 HWASAMEE BRAND SYSTEM
   Soft · Elegant · Professional · Eye-Catching
   ========================================================= */

/* ---------- Color Palette ---------- */
:root {
    --lavender: #B09ACA;   /* Primary Accent */
    --orchid:  #DDC8E2;   /* Soft Background Tint */
    --royal:   #F2D490;   /* Golden Highlight / CTA */
    --violet:  #433854;   /* Deep Text & Brand Core */
    --white:   #FFFFFF;
    --dark:    #2E2A38;
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--orchid);
    color: var(--violet);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--violet);
    letter-spacing: 0.4px;
}

p {
    font-weight: 400;
    color: var(--dark);
    line-height: 1.75;
}

a {
    color: var(--violet);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover {
    color: var(--royal);
    opacity: 0.9;
}

/* ---------- Color Utilities ---------- */
.bg-lavender { background-color: var(--lavender) !important; }
.bg-orchid   { background-color: var(--orchid) !important; }
.bg-royal    { background-color: var(--royal) !important; }
.bg-violet   { background-color: var(--violet) !important; }

.text-lavender { color: var(--lavender) !important; }
.text-orchid   { color: var(--orchid) !important; }
.text-royal    { color: var(--royal) !important; }
.text-violet   { color: var(--violet) !important; }

/* =========================================================
   🌸 BUTTON SYSTEM - Refined Soft Luxury Feel
   ========================================================= */

/* Primary Gold CTA */
.btn-royal {
    background-color: var(--royal);
    color: var(--violet);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.65rem 1.7rem;
    box-shadow: 0 4px 10px rgba(242, 212, 144, 0.35);
    transition: all 0.35s ease;
}
.btn-royal:hover,
.btn-royal:focus {
    background-color: #f7e6a7; /* Softer gold */
    color: var(--violet);
    box-shadow: 0 0 20px rgba(242, 212, 144, 0.5);
    transform: translateY(-2px);
}

/* Violet Button */
.btn-violet {
    background-color: var(--violet);
    color: var(--orchid);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.7rem 1.8rem;
    box-shadow: 0 4px 10px rgba(67, 56, 84, 0.25);
    transition: all 0.35s ease;
}
.btn-violet:hover,
.btn-violet:focus {
    background-color: #5b4c72;
    color: var(--royal);
    box-shadow: 0 0 18px rgba(176, 154, 202, 0.5);
    transform: translateY(-2px);
}

/* Outline */
.btn-outline-violet {
    border: 2px solid var(--violet);
    color: var(--violet);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-outline-violet:hover {
    background-color: var(--violet);
    color: var(--orchid);
}

/* Navbar CTA refinement */
.navbar .btn-royal {
    padding: 0.55rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(242, 212, 144, 0.25);
}
.navbar .btn-royal:hover {
    background-color: #f7e6a7;
    box-shadow: 0 0 14px rgba(242, 212, 144, 0.45);
    transform: translateY(-1px);
}

/* ---------- Navbar ---------- */
.glassy-navbar {
    background: rgba(221, 200, 226, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 10px rgba(67, 56, 84, 0.08);
    transition: all 0.4s ease;
    z-index: 1000;
}
.navbar-scrolled {
    background: rgba(176, 154, 202, 0.95);
    box-shadow: 0 6px 20px rgba(67, 56, 84, 0.15);
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

.brand-logo {
    height: 52px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}
.brand-logo:hover {
    transform: scale(1.05);
}

/* Links */
.nav-link {
    color: var(--violet) !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}
.nav-link:hover {
    color: var(--royal) !important;
    transform: translateY(-2px);
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Dropdown refinement */
.dropdown-toggle::after {
    display: none !important;
}
.custom-dropdown {
    background: var(--lavender);
    border-radius: 16px;
    padding: 0.6rem 0;
    min-width: 220px;
    box-shadow: 0 6px 18px rgba(67,56,84,0.15);
    animation: dropdownFade 0.25s ease-in-out;
}
.custom-dropdown .dropdown-item {
    color: var(--violet);
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}
.custom-dropdown .dropdown-item:hover {
    background-color: var(--royal);
    color: var(--violet);
    padding-left: 1.3rem;
}
@keyframes dropdownFade {
    from {opacity: 0; transform: translateY(5px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ---------- Hero Section ---------- */
.hero-section {
    background: linear-gradient(135deg, var(--lavender) 0%, var(--orchid) 100%);
    text-align: center;
    padding: 6rem 1rem 5rem;
    color: var(--violet);
    animation: gradientShift 6s ease-in-out infinite alternate;
}
.hero-section h1 {
    font-size: 2.6rem;
    line-height: 1.3;
}
.hero-section p {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: var(--dark);
}
.hero-section .btn-royal {
    font-size: 1rem;
    padding: 0.7rem 2rem;
}
@keyframes gradientShift {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

/* ---------- Product Cards ---------- */
.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(67, 56, 84, 0.15);
}

/* ---------- Section Titles ---------- */
section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    color: var(--violet);
}

/* ---------- Footer ---------- */
.footer-section {
    background: linear-gradient(180deg, #594A73 0%, #3A3150 100%);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 3rem;
}

.footer-logo {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4));
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-logo:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

.text-light-violet {
    color: rgba(255,255,255,0.85) !important;
}

.footer-section h6, .footer-section h5 {
    color: var(--royal);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}
.footer-links a:hover {
    color: var(--royal);
}
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--royal);
    transition: width 0.3s ease;
}
.footer-links a:hover::after {
    width: 100%;
}

/* Newsletter */
.newsletter-form input {
    background-color: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    border-radius: 30px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}
.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.7);
}
.newsletter-form button {
    border-radius: 50%;
    background-color: var(--royal);
    color: var(--violet);
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(242,212,144,0.3);
}
.newsletter-form button:hover {
    background-color: var(--white);
    color: var(--violet);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(242,212,144,0.6);
}

/* Footer Bottom */
.footer-section p,
.footer-section a,
.footer-section small,
.footer-section strong {
    color: rgba(255,255,255,0.85) !important;
}
.footer-section .row p {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 400;
    letter-spacing: 0.2px;
}
.footer-divider {
    border-color: rgba(255,255,255,0.15) !important;
}

/* Social Icons */
.social-icon {
    color: var(--royal);
    font-size: 1.25rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}
.social-icon:hover {
    color: var(--white);
    transform: translateY(-3px);
    text-shadow: 0 0 8px rgba(242,212,144,0.6);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    font-size: 1.8rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(37,211,102,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .hero-section {
        padding: 5rem 1rem 4rem;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand { font-size: 1.25rem; }
    footer p { font-size: 0.85rem; }
    .footer-section { text-align: center; }
    .footer-brand { justify-content: center; }
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form button { align-self: center; }
}
