/* ============================
   Bakulan Ayunda Fotocopy
   Custom Stylesheet
   ============================ */

:root {
    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    --secondary: #6366f1;
    --accent: #06b6d4;
    --gold: #0ea5e9;
    --cream: #f0f9ff;
    --soft-pink: #e0f2fe;
    --dark: #1e293b;
    --gray: #64748b;
    --light-bg: #f0f9ff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(14,165,233,0.08);
    --shadow-md: 0 4px 20px rgba(14,165,233,0.1);
    --shadow-lg: 0 8px 40px rgba(14,165,233,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== NAVBAR ========== */
#mainNavbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: transparent;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.brand-icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-right: 6px;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark);
}

#mainNavbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: var(--primary);
    background: rgba(184, 134, 11, 0.08);
}

.btn-order {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 22px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-order:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #bae6fd 60%, #7dd3fc 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.35);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary-light);
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 2px;
}

/* Hero Phone Mockup */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-phone-mockup {
    width: 260px;
    height: 520px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invitation-preview {
    text-align: center;
    padding: 30px 20px;
}

.inv-ornament {
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}

.top-ornament { margin-bottom: 10px; }
.bottom-ornament { margin-top: 10px; }

.inv-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray);
    margin-bottom: 5px;
}

.inv-names {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.inv-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.inv-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto;
    border-radius: 1px;
}

.inv-venue {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.inv-btn {
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Floating cards */
.hero-floating-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    font-size: 0.82rem;
    font-weight: 500;
    z-index: 3;
    animation: floatCard 3s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    right: -10px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -10px;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ========== FEATURES ========== */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px 15px;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(212, 175, 55, 0.15));
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card h6 {
    font-weight: 600;
    margin-bottom: 4px;
}

/* ========== SECTIONS COMMON ========== */
.section-padding {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(212, 175, 55, 0.15));
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 25px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* ========== FILTER BUTTONS ========== */
.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    color: var(--primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #fff;
}

/* ========== PRODUCT CARDS ========== */
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-preview-icon {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.4s;
}

.product-card:hover .product-preview-icon {
    transform: scale(1.1);
    color: rgba(255,255,255,1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background: #e74c3c;
}

.product-badge.new {
    background: var(--secondary);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
}

.product-name {
    font-family: var(--font-display);
    font-weight: 600;
    margin: 6px 0 8px;
    font-size: 1.05rem;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-old {
    font-size: 0.78rem;
    color: #bbb;
    text-decoration: line-through;
}

.price-now {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-now small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray);
}

.btn-order-product {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 6px 16px;
    border: none;
    transition: all 0.3s;
}

.btn-order-product:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
}

/* ========== PRICING CARDS ========== */
.pricing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.pricing-features li.disabled {
    color: #ccc;
}

.pricing-features li i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    margin-bottom: 15px;
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-stars i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.testimonial-author h6 {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--gold) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10S0 14.5 0 20s4.5 10 10 10 10-4.5 10-10zm20 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.cta-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.btn-cta {
    background: #fff;
    color: var(--primary-dark);
    border: none;
    border-radius: 30px;
    padding: 14px 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

/* ========== CONTACT ========== */
.contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(212, 175, 55, 0.15));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-card h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ========== FOOTER ========== */
.footer-section {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-brand {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-brand i {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-socials a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 20px;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ========== WA FLOAT BUTTON ========== */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    animation: waFloat 2s ease-in-out infinite;
}

.wa-float:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ========== BACK TO TOP ========== */
.btn-back-top {
    position: fixed;
    bottom: 25px;
    right: 90px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.btn-back-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    #mainNavbar {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
    }
    
    .navbar-collapse {
        background: #fff;
        padding: 15px;
        border-radius: var(--radius);
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }
    
    .btn-order {
        margin-top: 10px;
        text-align: center;
        display: block;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        border-radius: var(--radius);
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        text-align: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
}

/* ========== ANIMATIONS ========== */
.product-item {
    transition: all 0.4s ease;
}

.product-item.hide {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    visibility: hidden;
}

.product-item.show {
    opacity: 1;
    transform: scale(1);
    position: relative;
    visibility: visible;
}
