/*
Theme Name: Rajshri Theme
Theme URI: https://rajshricaters.in
Author: Rajshri Caters & Events
Description: Custom luxury catering & events theme for Rajshri Caters & Events.
Version: 1.0.0
Text Domain: rajshri
*/

/* ==========================================================================
   0. RESET + VARIABLES
========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #F8F5F1;
	color: #1E1E1E;
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
:root {
	--bg: #F8F5F1;
	--primary: #6F0D0D;
	--gold: #C8A15A;
	--text: #1E1E1E;
	--white: #FFFFFF;
	--text-soft: rgba(30,30,30,0.65);
	--white-soft: rgba(255,255,255,0.7);
	--line: rgba(30,30,30,0.1);
}
h1, h2, h3, h4, h5 {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	margin: 0;
	color: var(--text);
	line-height: 1.15;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.section-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
	display: inline-block;
	font-size: 0.72rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 600;
	margin-bottom: 16px;
}
.section-head { max-width: 620px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--text-soft); font-size: 1rem; }

section { padding: 110px 0; position: relative; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 34px;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	position: relative;
	overflow: hidden;
	transition: all .35s ease;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #870F0F; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(111,13,13,0.3); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--text); transform: translateY(-3px); }
.btn.full-width { width: 100%; justify-content: center; }

/* Ripple effect (JS adds .ripple-effect span) */
.ripple { position: relative; overflow: hidden; }
.ripple-effect {
	position: absolute; border-radius: 50%;
	background: rgba(255,255,255,0.5);
	transform: scale(0);
	animation: ripple-anim .6s linear;
	pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ==========================================================================
   1. SCROLL PROGRESS BAR
========================================================================== */
.scroll-progress {
	position: fixed; top: 0; left: 0; height: 3px; width: 0%;
	background: linear-gradient(90deg, var(--gold), var(--primary));
	z-index: 1000;
	transition: width .1s ease-out;
}

/* ==========================================================================
   2. NAVBAR
========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 900;
	padding: 26px 0;
	background: transparent;
	transition: all .4s ease;
}
.site-header.scrolled {
	padding: 14px 0;
	background: rgba(248,245,241,0.75);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 4px 30px rgba(30,30,30,0.06);
}
.nav-container {
	max-width: 1180px; margin: 0 auto; padding: 0 32px;
	display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
	font-family: 'Playfair Display', serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--white);
	transition: color .4s ease;
}
.site-header.scrolled .site-logo { color: var(--text); }
.site-logo span { color: var(--gold); font-style: italic; font-weight: 500; }

.nav-menu { display: flex; gap: 38px; }
.nav-menu li a {
	position: relative;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--white);
	padding-bottom: 4px;
	transition: color .3s ease;
}
.site-header.scrolled .nav-menu li a { color: var(--text); }
.nav-menu li a::after {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 0; height: 1px;
	background: var(--gold);
	transition: width .3s ease;
}
.nav-menu li a:hover::after { width: 100%; }
.nav-menu li a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 22px; }
.btn-outline-nav {
	padding: 11px 24px;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--white);
	border: 1px solid rgba(255,255,255,0.5);
	transition: all .3s ease;
}
.site-header.scrolled .btn-outline-nav { color: var(--text); border-color: rgba(30,30,30,0.3); }
.btn-outline-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--text); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 1px; background: var(--white); transition: .3s; }
.site-header.scrolled .hamburger span { background: var(--text); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 999;
	background: var(--primary);
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
	transform: translateY(-100%);
	transition: transform .45s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-nav-menu { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.mobile-nav-menu li a { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--white); }
.mobile-menu-close { position: absolute; top: 26px; right: 30px; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; }

/* ==========================================================================
   3. HERO
========================================================================== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 0; overflow: hidden; }
.hero-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transform: scale(1.08);
	transition: transform 6s ease;
	will-change: transform;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,20,15,0.55), rgba(30,20,15,0.75)); }
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 0 32px; margin: 0 auto; text-align: left; }
.hero-title {
	color: var(--white);
	font-size: clamp(2.6rem, 6vw, 5rem);
	margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-sub { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 500px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-indicator {
	position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
	width: 26px; height: 42px; border: 1px solid rgba(255,255,255,0.6); border-radius: 20px;
	display: flex; justify-content: center; padding-top: 8px; z-index: 2;
}
.scroll-indicator span { width: 4px; height: 8px; background: var(--gold); border-radius: 2px; animation: scrollDown 1.6s infinite; }
@keyframes scrollDown { 0% { opacity: 1; transform: translateY(0);} 100% { opacity: 0; transform: translateY(14px);} }

/* ==========================================================================
   4. ABOUT
========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: 4px; width: 100%; height: 520px; object-fit: cover; }
.about-image-badge {
	position: absolute; bottom: -26px; left: -26px;
	background: var(--primary); color: var(--white);
	padding: 22px 26px; text-align: center; border-radius: 4px;
	box-shadow: 0 20px 40px rgba(111,13,13,0.25);
}
.about-image-badge span { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; }
.about-image-badge small { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.about-content p { color: var(--text-soft); margin-bottom: 18px; max-width: 520px; }

.counters { display: flex; gap: 50px; margin: 40px 0; flex-wrap: wrap; }
.counter-item { text-align: left; }
.counter, .counter-plus {
	font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--primary);
}
.counter-item small { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); margin-top: 4px; }

.about-timeline { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); padding-top: 30px; }
.timeline-item { display: flex; gap: 20px; align-items: baseline; }
.timeline-year { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold); font-size: 1.1rem; min-width: 70px; }
.timeline-item p { color: var(--text-soft); font-size: 0.92rem; }

/* ==========================================================================
   5. SERVICES
========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
	background: var(--white); padding: 44px 32px; border-radius: 4px;
	border: 1px solid var(--line);
	transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 30px 50px rgba(30,30,30,0.08); border-color: var(--gold); }
.service-icon { width: 46px; height: 46px; color: var(--primary); margin-bottom: 24px; transition: color .3s ease; }
.service-card:hover .service-icon { color: var(--gold); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-card p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 20px; }
.card-link { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 2px; }

/* ==========================================================================
   6. WHY CHOOSE US
========================================================================== */
.why-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.why-row:last-child { margin-bottom: 0; }
.why-row.reverse { direction: rtl; }
.why-row.reverse > * { direction: ltr; }
.why-image img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; }
.why-number { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; color: var(--gold); }
.why-content h3 { font-size: 1.7rem; margin: 14px 0 16px; }
.why-content p { color: var(--text-soft); max-width: 420px; }

/* ==========================================================================
   7. MENU HIGHLIGHTS
========================================================================== */
.menu-highlights { background: var(--white); }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.menu-item { text-align: center; padding: 20px; }
.menu-item h4 { font-size: 1.15rem; margin-bottom: 14px; }
.menu-dots { display: block; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 10px); margin-bottom: 14px; }
.menu-item p { color: var(--text-soft); font-size: 0.86rem; font-style: italic; }

/* ==========================================================================
   8. GALLERY
========================================================================== */
.gallery-filters { display: flex; justify-content: center; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; }
.filter-btn {
	padding: 10px 24px; border: 1px solid var(--line); background: transparent;
	font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
	transition: all .3s ease; border-radius: 30px; color: var(--text-soft);
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; height: 280px; cursor: pointer; }
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay {
	position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(30,20,15,0.85));
	display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity .4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.9rem; letter-spacing: 0.05em; font-weight: 500; }

/* ==========================================================================
   9. TESTIMONIALS
========================================================================== */
.testimonials { background: var(--primary); }
.testimonials .eyebrow { color: var(--gold); }
.testimonials .section-head h2 { color: var(--white); }
.testimonial-slider { max-width: 700px; margin: 0 auto; text-align: center; position: relative; }
.testimonial-track { position: relative; min-height: 260px; }
.testimonial-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity .6s ease;
}
.testimonial-slide.active { opacity: 1; visibility: visible; position: relative; }
.testimonial-slide img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 24px; border: 2px solid var(--gold); }
.testimonial-slide p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; color: var(--white); margin-bottom: 22px; }
.testimonial-slide h5 { color: var(--gold); font-size: 1rem; margin-bottom: 4px; }
.testimonial-slide span { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.testimonial-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background .3s ease; }
.testimonial-dots .dot.active { background: var(--gold); }

/* ==========================================================================
   10. FAQ
========================================================================== */
.faq-container { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
	width: 100%; display: flex; justify-content: space-between; align-items: center;
	background: none; border: none; text-align: left; cursor: pointer;
	padding: 24px 0; font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--text);
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--primary); transition: transform .3s ease; }
.faq-icon::before { width: 100%; height: 1px; top: 50%; left: 0; }
.faq-icon::after { width: 1px; height: 100%; left: 50%; top: 0; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { color: var(--text-soft); padding-bottom: 24px; font-size: 0.92rem; max-width: 640px; }

/* ==========================================================================
   11. CTA
========================================================================== */
.cta { background: linear-gradient(160deg, var(--primary), #4A0808); text-align: center; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.75); margin-bottom: 30px; }

/* ==========================================================================
   12. CONTACT
========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-info p { color: var(--text-soft); margin: 16px 0 30px; }
.contact-details { margin-bottom: 30px; }
.contact-details li { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-details li strong { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.google-map { border-radius: 4px; overflow: hidden; filter: grayscale(20%); }
.google-map iframe { display: block; }

.contact-form { background: var(--white); padding: 44px; border-radius: 4px; box-shadow: 0 30px 60px rgba(30,30,30,0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; position: relative; }
.form-group label { display: block; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
	width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: var(--bg);
	font-family: 'Poppins', sans-serif; font-size: 0.92rem; color: var(--text);
	transition: border-color .3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-error { display: none; color: var(--primary); font-size: 0.74rem; margin-top: 6px; }
.form-group.invalid .form-error { display: block; }
.form-group.invalid input, .form-group.invalid textarea { border-color: var(--primary); }
.form-success { color: #2E7D32; font-size: 0.88rem; margin-top: 16px; text-align: center; }
.form-error-msg { color: var(--primary); font-size: 0.88rem; margin-top: 16px; text-align: center; }

/* ==========================================================================
   13. FOOTER
========================================================================== */
.site-footer { background: #1E1512; color: rgba(255,255,255,0.7); }
.footer-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.footer-top { padding: 90px 0 50px; }
.footer-top .footer-container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); margin-bottom: 16px; }
.footer-logo span { color: var(--gold); font-style: italic; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 14px; }
.social-icon {
	width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
	display: flex; align-items: center; justify-content: center; color: var(--white);
	transition: all .3s ease;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: var(--gold); border-color: var(--gold); color: #1E1512; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.88rem; transition: color .3s ease; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-newsletter p { font-size: 0.85rem; margin-bottom: 18px; }
.newsletter-form { display: flex; border-bottom: 1px solid rgba(255,255,255,0.3); }
.newsletter-form input { flex: 1; background: none; border: none; padding: 10px 0; color: var(--white); font-size: 0.88rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { background: none; border: none; color: var(--gold); cursor: pointer; width: 22px; }
.newsletter-success { display: none; color: var(--gold); font-size: 0.82rem; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; }
.footer-bottom-inner a { color: rgba(255,255,255,0.6); }

/* WhatsApp floating button */
.whatsapp-float {
	position: fixed; bottom: 26px; right: 26px; z-index: 800;
	width: 58px; height: 58px; background: #25D366; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; color: var(--white);
	box-shadow: 0 10px 30px rgba(37,211,102,0.4);
	animation: floatPulse 2.4s infinite ease-in-out;
}
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes floatPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ==========================================================================
   14. SCROLL REVEAL ANIMATIONS
========================================================================== */
.reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }

html.has-js .reveal-up,
html.has-js .reveal-left,
html.has-js .reveal-right {
	opacity: 0;
	transition: opacity .8s ease, transform .8s ease;
}
html.has-js .reveal-up { transform: translateY(36px); }
html.has-js .reveal-left { transform: translateX(-50px); }
html.has-js .reveal-right { transform: translateX(50px); }
html.has-js .reveal-up.in-view,
html.has-js .reveal-left.in-view,
html.has-js .reveal-right.in-view { opacity: 1; transform: translate(0,0); }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }

/* Preloader */
.rajshri-preloader {
	position: fixed; inset: 0; z-index: 2000; background: var(--bg);
	display: flex; align-items: center; justify-content: center;
	transition: opacity .6s ease, visibility .6s ease;
}
.rajshri-preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-mark {
	font-family: 'Playfair Display', serif; font-size: 1.6rem; font-style: italic; color: var(--primary);
	position: relative; padding-bottom: 10px;
}
.preloader-mark::after {
	content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--gold);
	animation: preloadBar 1.1s ease forwards;
}
@keyframes preloadBar { from { width: 0; left: 50%; } to { width: 100%; left: 0; } }

/* ==========================================================================
   15. RESPONSIVE
========================================================================== */
@media (max-width: 1080px) {
	.about-grid { grid-template-columns: 1fr; gap: 50px; }
	.about-image img { height: 400px; }
	.footer-top .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.nav-menu, .nav-actions .btn-outline-nav { display: none; }
	.hamburger { display: flex; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.why-row, .why-row.reverse { grid-template-columns: 1fr; direction: ltr; }
	.why-image img { height: 260px; }
	.menu-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; gap: 50px; }
	.form-row { grid-template-columns: 1fr; }
	section { padding: 80px 0; }
}

@media (max-width: 600px) {
	.section-container { padding: 0 22px; }
	.hero-content { padding: 0 22px; }
	.hero-title { font-size: 2.2rem; }
	.hero-sub { font-size: 0.95rem; }
	.service-grid { grid-template-columns: 1fr; }
	.menu-grid { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr; }
	.counters { gap: 30px; }
	.footer-top .footer-container { grid-template-columns: 1fr; }
	.contact-form { padding: 30px 24px; }
	.about-image-badge { left: 0; bottom: -20px; padding: 16px 20px; }
	.whatsapp-float { width: 50px; height: 50px; bottom: 18px; right: 18px; }
}