/*
Theme Name: Vindaddy
Author: Antigravity
Description: A premium, dark-mode, glassmorphism theme designed for vehicle care services.
Version: 1.0.0
Text Domain: vindaddy
*/

:root {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-light: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.4);
    /* Much clearer glass effect */
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-primary: #0f172a;
    --text-secondary: #475569;

    --accent-blue: #2563eb;
    /* Deeper professional blue */
    --accent-blue-glow: rgba(37, 99, 235, 0.25);

    /* Softer, more premium gradients */
    --pkg-basic-gradient: linear-gradient(135deg, #3b82f6, #6366f1);
    --pkg-gold-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --pkg-premium-gradient: linear-gradient(135deg, #ef4444, #dc2626);

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: var(--pkg-basic-gradient);
}

.text-gradient.gold {
    background-image: var(--pkg-gold-gradient);
}

.text-gradient.premium {
    background-image: var(--pkg-premium-gradient);
}

/* Glassmorphism */
.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    /* Ultra premium macOS-like shadow/border */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-box:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transform: translateY(-5px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 var(--accent-blue-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-blue-glow);
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--text-secondary);
}

.btn-outline:hover {
    background: var(--bg-surface-light);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Header - Ultra Premium Floating Pill Edge */
.header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    top: 1rem;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.header .container {
    padding: 0;
    /* Remove inner container padding since header has it now */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.08);
    /* Beautiful subtle pill background on hover */
}

/* Ensure Contact button stands out in the nav */
.nav-links a.btn-primary {
    padding: 0.7rem 1.6rem !important;
    font-size: 0.95rem !important;
    margin-left: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Packages Section */
.packages {
    padding: 5rem 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.package-card {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border-top: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-card.basic {
    border-top-color: #3b82f6;
}

.package-card.gold {
    border-top-color: #f59e0b;
    transform: scale(1.05);
    box-shadow: 0 30px 60px -15px rgba(245, 158, 11, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.package-card.gold:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 40px 80px -15px rgba(245, 158, 11, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.package-card.premium {
    border-top-color: #ef4444;
}

.pkg-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pkg-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.pkg-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.pkg-features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pkg-features li::before {
    content: '✓';
    color: var(--accent-blue);
    font-weight: bold;
}

.package-card.gold .pkg-features li::before {
    color: #f59e0b;
}

.package-card.premium .pkg-features li::before {
    color: #ef4444;
}

.pkg-btn {
    width: 100%;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    padding: 2rem;
    text-align: left;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.feature-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: var(--bg-surface-light);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.gold {
        transform: scale(1);
    }

    .package-card.gold:hover {
        transform: translateY(-10px);
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}