/* 
  Custom Styles for MajsterWihajster
  Vivid, energetic design inspired by modern playful trends.
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
    --primary-color: #FF5E00; /* Vivid Orange */
    --primary-dark: #cc4a00;
    --primary-soft: rgba(255, 94, 0, 0.1);
    --secondary-color: #1E1B4B; /* Deep Navy/Indigo */
    --accent-color: #FACC15; /* Vibrant Yellow */
    --success-color: #10B981;
    --success-soft: rgba(16, 185, 129, 0.1);
    --text-color: #334155;
    --text-muted: #64748B;
    --body-bg: #FAFAF9;
    --card-shadow: 0 20px 40px rgba(30, 27, 75, 0.05);
    --hover-shadow: 0 25px 50px rgba(255, 94, 0, 0.15);
    --border-radius-lg: 1.5rem;
    --border-radius-xl: 2rem;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--body-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--secondary-color);
}

/* Utilities */
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }
.bg-primary-soft { background-color: var(--primary-soft) !important; }
.bg-success-soft { background-color: var(--success-soft) !important; }
.bg-secondary-dark { background-color: var(--secondary-color) !important; }
.text-primary { color: var(--primary-color) !important; }

/* Bootstrap overrides */
.btn-primary { background-color: var(--primary-color) !important; border-color: var(--primary-color) !important; color: #fff !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 1rem 2rem; border-radius: 50px; }
.btn-primary:hover { background-color: var(--primary-dark) !important; border-color: var(--primary-dark) !important; box-shadow: 0 10px 25px rgba(255, 94, 0, 0.4) !important; transform: translateY(-3px); }
.btn-outline-primary { color: var(--primary-color) !important; border-color: var(--primary-color) !important; font-weight: 800; border-width: 2px; }
.btn-outline-primary:hover { background-color: var(--primary-color) !important; color: #fff !important; transform: translateY(-3px); }
.badge.bg-primary { background-color: var(--primary-color) !important; color: #fff; font-weight: 800; padding: 0.5rem 1rem; }

.icon-circle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
}

/* Navbar */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.custom-navbar .navbar-brand { font-size: 1.8rem; }
.custom-navbar .nav-link { color: var(--secondary-color); font-weight: 600; padding: 0.5rem 1.2rem; transition: color 0.2s ease; font-size: 1.1rem; }
.custom-navbar .nav-link:hover, .custom-navbar .nav-link.active { color: var(--primary-color); }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    background: radial-gradient(circle at 100% 0%, #fff6f0 0%, var(--body-bg) 60%);
    position: relative;
    overflow: hidden;
}

/* Dynamic Hero Composition */
.hero-right-composition { height: 550px; }
.hero-right-composition .blob-shape {
    width: 550px; height: 550px; right: -50px; top: 50%; transform: translateY(-50%);
    background: var(--accent-color);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite alternate;
    opacity: 0.2;
    z-index: 0;
}
@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}
.floating-item { transition: transform 0.3s ease; border-radius: 24px; }
.floating-item.float-1 { width: 320px; top: 10%; right: 10%; animation: float1 6s ease-in-out infinite; }
.floating-item.float-2 { width: 240px; top: 40%; right: 45%; animation: float2 7s ease-in-out infinite alternate; }
.hero-right-composition .floating-card { bottom: 5%; right: 0%; animation: float3 5s ease-in-out infinite; border-width: 3px; border-color: var(--primary-soft); }

@keyframes float1 { 0%, 100% { transform: translateY(0px) rotate(2deg); } 50% { transform: translateY(-20px) rotate(-1deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(0px) rotate(-3deg); } 50% { transform: translateY(25px) rotate(2deg); } }
@keyframes float3 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }

.backdrop-blur { backdrop-filter: blur(8px); background: rgba(255,255,255,0.85); border-top: 1px solid rgba(255,255,255,0.8); }

/* Edge Decorations */
.edge-decoration { position: absolute; z-index: 0; pointer-events: none; }
.edge-left { left: -60px; top: 20%; animation: float-slow 8s infinite alternate ease-in-out; width: 150px; opacity: 0.1; }
.edge-right { right: -80px; bottom: 10%; animation: spin-slow 20s infinite linear; width: 200px; opacity: 0.1; }
@keyframes float-slow { 0% { transform: translateY(0px) rotate(0deg); } 100% { transform: translateY(50px) rotate(15deg); } }
@keyframes spin-slow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Cards */
.product-card, .review-card, .feature-card {
    border-radius: var(--border-radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    border: 3px solid transparent;
}
.product-card:hover, .feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--hover-shadow) !important;
    border-color: var(--primary-soft);
}
.card-img-wrapper { position: relative; overflow: hidden; border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0; }
.card-img-wrapper img { transition: transform 0.6s ease; }
.product-card:hover .card-img-wrapper img { transform: scale(1.1); }
.price-badge {
    position: absolute; bottom: 20px; right: 20px; background-color: var(--accent-color); color: var(--secondary-color);
    padding: 8px 20px; border-radius: 30px; font-weight: 900; font-size: 1.1rem; box-shadow: 0 10px 20px rgba(250, 204, 21, 0.4);
}

/* Forms */
.custom-input { border-radius: 1rem; border: 2px solid #e2e8f0; padding: 1rem; font-weight: 600; color: var(--secondary-color); background: #f8fafc; }
.custom-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px var(--primary-soft); background: #fff; }

/* Delivery Map Section */
.map-container { position: relative; border-radius: var(--border-radius-xl); overflow: hidden; background: #fff; border: 4px solid var(--primary-soft); }
.map-svg { width: 100%; height: auto; display: block; }
.map-pin { animation: bounce 2s infinite; transform-origin: bottom center; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-15px);} 60% {transform: translateY(-7px);} }

/* Floating Buttons */
.floating-btn {
    position: fixed; bottom: 30px; width: 65px; height: 65px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white; font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); z-index: 1000; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-btn:hover { transform: scale(1.15) rotate(5deg); color: white; }
.floating-btn.whatsapp { right: 30px; background-color: #25d366; }
.floating-btn.phone { right: 110px; background-color: var(--primary-color); }

/* Footer */
.footer { background-color: var(--secondary-color); position: relative; overflow: hidden; }
.footer::before {
    content: ''; position: absolute; top: -50px; left: -50px; width: 200px; height: 200px;
    background: var(--primary-color); border-radius: 50%; opacity: 0.2; filter: blur(40px);
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-weight: 500; transition: all 0.2s; }
.footer-links a:hover { color: var(--accent-color); padding-left: 8px; }
