/* Premium Theme Overrides */

:root {
    /* Color Palette */
    --color-primary: #1e293b;      /* Deep Asphalt / Slate */
    --color-secondary: #10b981;    /* Emerald Greenish */
    --color-secondary-hover: #059669;
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-text-main: #334155;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadow & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body) !important;
    color: var(--color-text-main) !important;
    background-color: var(--color-bg-light) !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

/* Road-like Navbar */
.navbar-glass {
    background: #2b2b2b !important; /* Asphalt color */
    border-bottom: 4px dashed rgba(255, 255, 255, 0.8) !important; /* Road dashed line */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: all var(--transition-fast) !important;
    position: relative;
    z-index: 1;
}

.navbar-brand {
    background: #ffffff;
    position: relative;
    padding-right: 60px !important;
    margin-right: 20px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
    height: 100%;
}

.navbar-glass .nav-link {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    color: var(--color-secondary) !important; /* Greenish default */
    padding: 1rem 1.25rem !important;
    transition: color var(--transition-fast) !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
    color: #ffffff !important; /* White on hover */
}

.navbar-glass .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 4px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: bottom right;
}

.navbar-glass .nav-link:hover::after,
.navbar-glass .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Modern Hero Section */
.hero-premium {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e293b 100%);
    color: white;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&q=80&w=2000') center/cover;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 0;
}

.hero-premium .container {
    position: relative;
    z-index: 1;
}

.hero-premium h1 {
    color: white !important;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-premium .lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-premium {
    background: var(--color-secondary);
    color: white !important;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
    display: inline-block;
    text-decoration: none;
}

.btn-premium:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    color: white !important;
}

.btn-premium-outline {
    background: transparent;
    color: white !important;
    border: 2px solid white;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    display: inline-block;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-premium-outline:hover {
    background: white;
    color: var(--color-primary) !important;
    transform: translateY(-2px);
}

/* Premium Tabs */
.premium-tabs {
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.premium-tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

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

.premium-tab-btn.active {
    color: var(--color-secondary);
}

.premium-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.premium-tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content-panel {
    display: none;
    animation: fadeIn var(--transition-smooth);
}

.tab-content-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modern Cards */
.card-premium {
    background: var(--color-bg-white);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.2);
}

.card-premium .img-wrapper {
    position: relative;
    padding-top: 66%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.card-premium .img-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-premium:hover .img-wrapper img {
    transform: scale(1.08);
}

.card-premium .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-premium .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.card-premium .card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.card-premium .btn-outline-primary {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    border-radius: 50px;
    font-weight: 600;
    margin-top: auto;
    transition: all var(--transition-fast);
}

.card-premium .btn-outline-primary:hover {
    background: var(--color-secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Section Headers */
.section-header-premium {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-premium h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-header-premium p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Explore Cards */
.explore-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: white;
    aspect-ratio: 4/5;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    text-decoration: none;
}

.explore-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.2) 60%, rgba(15,23,42,0) 100%);
    z-index: 1;
}

.explore-card img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.explore-card:hover img {
    transform: scale(1.1);
}

.explore-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.explore-content h3 {
    color: white !important;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.explore-content p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Features Block */
.feature-box {
    background: var(--color-bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.2);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-smooth);
}

.feature-box:hover .feature-icon-wrapper {
    background: var(--color-secondary);
    color: white;
    transform: rotateY(180deg);
}

.feature-box h5 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--color-text-muted);
}

/* Blog Cards */
.blog-premium {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.blog-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-premium .badge-premium {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.blog-premium .img-wrapper {
    overflow: hidden;
}

.blog-premium img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.blog-premium:hover img {
    transform: scale(1.08);
}

.blog-premium-body {
    padding: 1.5rem;
}

.blog-premium-title {
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--color-primary);
    margin: 0;
    font-family: var(--font-heading);
    transition: color var(--transition-fast);
}

.blog-premium:hover .blog-premium-title {
    color: var(--color-secondary);
}

/* Brands section */
.brand-premium-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-premium-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.3);
}

.brand-premium-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.brand-premium-card:hover .brand-premium-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-premium-name {
    color: var(--color-text-main);
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

/* Service Detail from index */
.service-premium {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-premium .img-wrapper {
    overflow: hidden;
}

.service-premium img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.service-premium:hover img {
    transform: scale(1.08);
}

.service-premium-body {
    padding: 1.5rem;
}

.service-premium-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.service-premium-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.service-premium-link {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.service-premium-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.service-premium-link:hover {
    color: var(--color-secondary-hover);
}

.service-premium-link:hover i {
    transform: translateX(4px);
}
