/* ================================================================
   Cake Affair Jaipur – Custom Stylesheet
   ================================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #d4607a;
    --primary-light: #f7d6df;
    --primary-dark: #b04a62;
    --gold: #c8a951;
    --gold-light: #f5e9cc;
    --dark: #2e1a1a;
    --cream: #fdf6f0;
    --cream-dark: #f0e0d0;
    --text: #4a3728;
    --text-muted: #8c7066;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(212, 96, 122, 0.1);
    --shadow-md: 0 8px 30px rgba(212, 96, 122, 0.15);
    --shadow-lg: 0 20px 60px rgba(46, 26, 26, 0.15);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', sans-serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    margin: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: #f0c0a0;
    font-size: 0.8rem;
    padding: 7px 0;
}
.top-bar a { color: #f0c0a0; text-decoration: none; transition: color var(--transition); }
.top-bar a:hover { color: var(--white); }
.top-bar .social-links a { font-size: 1rem; margin-left: 12px; }

/* ---- Navbar ---- */
#mainNavbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(46, 26, 26, 0.08);
    padding: 12px 0;
    transition: all var(--transition);
}
#mainNavbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-icon { font-size: 1.8rem; }
.brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}
.brand-text span { color: var(--primary); }
#mainNavbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}
.btn-order {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white) !important;
    border: none;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white) !important;
}

/* ---- Section Helpers ---- */
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 32px;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--primary-light);
}
.divider-icon { color: var(--primary); font-size: 1.1rem; }

/* ---- Hero Section ---- */
.hero {
    min-height: 92vh;
    background: linear-gradient(135deg, #fff5f8 0%, #fdf6f0 40%, #f5e6f0 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 96, 122, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}
.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 22px;
}
.hero-title .highlight { color: var(--primary); font-style: italic; }
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}
.btn-outline-custom {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--cream-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.hero-stat .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Hero image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-cake-showcase {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.hero-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}
.hero-badge.badge-top-right { top: 40px; right: 0; }
.hero-badge.badge-bottom-left { bottom: 60px; left: 0; animation-delay: 1.5s; }
.hero-badge .badge-icon { font-size: 1.6rem; }
.hero-badge .badge-text strong { display: block; font-size: 0.85rem; color: var(--dark); }
.hero-badge .badge-text span { font-size: 0.72rem; color: var(--text-muted); }
.hero-circle-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    width: 490px;
    height: 490px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

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

/* ---- Feature Strip ---- */
.feature-strip {
    background: linear-gradient(135deg, var(--dark), #4a2a2a);
    padding: 28px 0;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}
.feature-item .feature-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-item .feature-text strong { display: block; font-size: 0.9rem; font-weight: 600; }
.feature-item .feature-text span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.feature-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    margin: 0 auto;
}

/* ---- Cake Cards ---- */
.cakes-section { padding: 90px 0; background: var(--white); }
.cake-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(212, 96, 122, 0.08);
    height: 100%;
}
.cake-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cake-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cake-card:hover .cake-card-img { transform: scale(1.05); }
.cake-card-img-wrapper { overflow: hidden; position: relative; }
.cake-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}
.cake-tag.tag-new { background: var(--gold); }
.cake-tag.tag-popular { background: var(--primary-dark); }
.cake-card-body { padding: 20px 22px 24px; }
.cake-card-title { font-size: 1.15rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.cake-card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.cake-card-footer { display: flex; align-items: center; justify-content: space-between; }
.cake-price { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.cake-price small { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.btn-cake-order {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}
.btn-cake-order:hover { background: var(--primary); color: var(--white); }

/* ---- About Section (home) ---- */
.about-section { padding: 90px 0; background: var(--cream); }
.about-image-stack { position: relative; }
.about-img-main { width: 100%; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-lg); }
.about-img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    border-radius: var(--radius);
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 1;
}
.about-years-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    text-align: center;
}
.about-years-badge .years-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-years-badge .years-text { font-size: 0.65rem; letter-spacing: 0.1em; opacity: 0.9; }
.about-points { list-style: none; padding: 0; margin: 24px 0; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.about-points li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

/* ---- Testimonials ---- */
.testimonials-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #fff5f8 0%, #fdf6f0 100%);
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--primary-light);
    position: absolute;
    top: 10px;
    left: 24px;
    line-height: 1;
}
.testimonial-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ---- Instagram Section ---- */
.instagram-section { padding: 80px 0; background: var(--white); }
.instagram-cta-box {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
}
.instagram-cta-box .ig-icon { font-size: 3.5rem; margin-bottom: 20px; }
.instagram-cta-box h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 10px;
}
.instagram-cta-box p { opacity: 0.9; margin-bottom: 28px; font-size: 1rem; }
.btn-instagram-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: #dc2743;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: all var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}
.btn-instagram-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #dc2743;
}

/* ---- Gallery Page ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item.featured { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 26, 26, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label { color: var(--white); font-size: 0.9rem; font-weight: 600; font-family: var(--font-heading); }

/* ---- Menu Page ---- */
.menu-section { padding: 80px 0; }
.menu-category-title { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.menu-category-title h3 { font-size: 1.7rem; margin: 0; }
.menu-category-title .cat-line { flex: 1; height: 1px; background: var(--primary-light); }
.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 96, 122, 0.07);
    transition: all var(--transition);
}
.menu-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.menu-item-icon {
    font-size: 2.2rem;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.menu-item-info { flex: 1; }
.menu-item-name { font-weight: 600; font-size: 0.95rem; color: var(--dark); margin-bottom: 4px; }
.menu-item-desc { font-size: 0.8rem; color: var(--text-muted); }
.menu-item-price { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ---- Contact Page ---- */
.contact-section { padding: 80px 0; }
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 96, 122, 0.08);
    height: 100%;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.contact-info-text span, .contact-info-text a { font-size: 0.9rem; color: var(--text-muted); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 380px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ---- Form ---- */
.form-control, .form-select {
    border: 1.5px solid var(--cream-dark);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--cream);
    transition: all var(--transition);
    font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 96, 122, 0.15);
    background: var(--white);
    outline: none;
}
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    width: 100%;
    font-family: var(--font-body);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, #fff5f8 0%, #fdf6f0 100%);
    padding: 80px 0 60px;
    text-align: center;
}
.page-hero .section-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }

/* ---- Values Cards ---- */
.values-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all var(--transition);
    border: 1px solid rgba(212, 96, 122, 0.06);
}
.values-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.values-icon { font-size: 2.5rem; margin-bottom: 18px; display: block; }
.values-card h5 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.values-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ---- Team Cards ---- */
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 16px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}
.team-name { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--primary); font-weight: 500; }

/* ---- Footer ---- */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 70px 0 0;
}
.footer-brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin: 0; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin-right: 8px;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-heading { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-address { font-style: normal; }
.footer-address p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-address i { margin-top: 3px; color: var(--primary); flex-shrink: 0; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 48px 0 24px; }
.footer-bottom { padding-bottom: 28px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero { min-height: auto; padding: 60px 0; }
    .hero-image-wrapper { margin-top: 40px; }
    .hero-cake-showcase { max-width: 300px; }
    .about-img-accent { display: none; }
    .gallery-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 575px) {
    .top-bar .d-flex { flex-direction: column; gap: 4px; text-align: center; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 20px; }
}
