/* 
   Priyanshu Visuals - System Design 
   Premium Cinematic Aesthetic (Dark Mode First)
*/

:root {
    --bg-color: #050505;
    --surface-color: #0A0A0C;
    --accent-primary: #FFB800; /* Gold/Amber highlight */
    --accent-secondary: #FF6B00; 
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(5, 5, 5, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-stack: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --serif-font: 'Playfair Display', serif;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s var(--easing);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 50px;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-family: var(--font-stack);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.btn-cta:hover { transform: scale(1.05); }

/* Mobile Menu Overlay Styles */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
    z-index: 2000;
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 100px 40px;
}

.mobile-menu.active {
    display: flex; /* Show as overlay when active */
}

.mobile-link {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-primary);
}

/* Hamburger Toggle */
.hamburger {
    cursor: pointer;
    z-index: 2100;
    display: none; /* Only show on mobile */
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: block; }
}

/* Button Classes */
.btn-primary {
    background: var(--accent-primary);
    color: #000;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 10px 30px rgba(255,184,0,0.4);
}

.btn-secondary-link {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 15px 35px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary-link:hover {
    border-color: #fff;
    color: #fff;
}

/* Common Subpage Elements */
.section-padding { padding: 150px 0 80px; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

.hero-subpage {
    margin-bottom: 100px;
    max-width: 900px;
}

.page-title {
    font-family: var(--serif-font);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

.page-desc {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
}

.accent-dot { color: var(--accent-primary); }

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Images & Panels */
.premium-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.6s var(--easing);
}

.story-image-wrap { position: relative; }
.img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-primary);
    padding: 10px 20px;
    border-radius: 4px;
    color: #000;
    font-weight: 700;
}

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 100px 0;
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}
.stat-label {
    color: var(--accent-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}
.team-member { text-align: center; }
.member-image-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}
.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}
.team-member:hover .member-img { filter: grayscale(0%); transform: scale(1.05); }

/* Portfolio Modern Grid */
.portfolio-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.portfolio-card-premium { position: relative; border-radius: 12px; overflow: hidden; }
.portfolio-card-premium.wide { grid-column: span 2; }
.portfolio-card-premium.tall { grid-row: span 2; }

.card-img-wrap { position: relative; height: 100%; }
.card-overlay-modern {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--easing);
}
.portfolio-card-premium:hover .card-overlay-modern { opacity: 1; transform: translateY(0); }
.category-tag { color: var(--accent-primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

/* Service Panels */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-panel {
    background: var(--surface-color);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--easing);
}
.service-panel:hover {
    border-color: var(--accent-primary);
    transform: translateY(-10px);
}
.service-icon-box { font-size: 2.5rem; margin-bottom: 30px; }
.service-list { list-style: none; margin-top: 25px; color: var(--text-secondary); }
.service-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.service-list li::before { content: '✓'; color: var(--accent-primary); }

/* Contact Panel */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 80px;
    margin-top: 50px;
}
.contact-info-panel {
    background: var(--surface-color);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}
.info-item { margin-bottom: 40px; }
.info-label { display: block; font-size: 0.8rem; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.info-value { display: block; font-size: 1.5rem; font-weight: 500; line-height: 1.3; }

.info-socials { display: flex; gap: 15px; margin-top: 30px; }
.social-pill {
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: transform 0.3s ease;
}
.social-pill.ig { background: #E1306C; }
.social-pill.wa { background: #25D366; }
.social-pill:hover { transform: translateY(-3px); }

.contact-form-panel {
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}
.panel-title { font-family: var(--serif-font); font-size: 2rem; margin-bottom: 15px; }

.btn-wa-full {
    display: block;
    background: #25D366;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease;
}
.btn-wa-full:hover { transform: scale(1.02); }

.premium-form .form-group { margin-bottom: 20px; }
.form-input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-input:focus { outline: none; border-color: var(--accent-primary); background: rgba(255, 255, 255, 0.08); }

.cta-banner-glass {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    padding: 80px;
    border-radius: 12px;
    text-align: center;
    margin-top: 100px;
}
.cta-banner-glass h2 { font-family: var(--serif-font); font-size: 2.5rem; margin-bottom: 20px; }
.cta-banner-glass p { color: var(--text-secondary); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 20px; justify-content: center; }

/* Refined Global Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-logo {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    margin-bottom: 0;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 500px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.social-links-grid {
    display: flex;
    gap: 30px;
}

.social-link {
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-primary);
}

/* Floating WhatsApp Chat Iconic Style */
.floating-whatsapp-chat {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-chat svg {
    width: 32px;
    height: 32px;
}

.floating-whatsapp-chat:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--easing), transform 1s var(--easing);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loader Styling */
.loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.loader-content { text-align: center; }
.loader.hidden { opacity: 0; pointer-events: none; transition: opacity 1s ease; }
.spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.entry-btn {
    display: none;
    background: var(--accent-primary);
    color: #000;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

.entry-btn:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 15px 40px rgba(255, 184, 0, 0.5);
}

/* Mobile Resp */
@media (max-width: 768px) {
    .grid-2, .team-grid, .portfolio-grid-modern, .services-modern-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2rem; }
    .navbar { padding: 15px 25px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
}