/* 
 * Divine-Creations Corporate Website
 * Core Styles
 */

:root {
    /* Brand Colors */
    --color-bg: #0F1115;
    /* Deep Charcoal / Near Black */
    --color-bg-secondary: #161920;
    --color-primary: #4F46E5;
    /* Deep Indigo - fallback */
    --color-primary-dark: #312E81;
    --color-gold: #C5A059;
    /* Muted Metallic Gold */
    --color-gold-hover: #D4B06A;
    --color-text-main: #FFFFFF;
    --color-text-muted: #9CA3AF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(15, 17, 21, 0.95) 0%, rgba(22, 25, 32, 0.9) 100%);
    --gradient-gold: linear-gradient(135deg, #C5A059 0%, #E6C785 100%);

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Utilities */
.text-gold {
    color: var(--color-gold) !important;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
.glass-nav {
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--color-gold) !important;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    /* Minimal/Tech feel */
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-bg);
}

.btn-gold:hover {
    background: var(--color-gold-hover);
    color: var(--color-bg);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    /* Nav height */
}

.hero-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    /* Ensure content is above canvas */
}

/* Animations */
.animate-in {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}


.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Sections Common */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
    /* Gold tint */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

/* Solutions / 3D Cards */
.solutions-grid {
    perspective: 1000px;
}

.service-card {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    transform: translateZ(20px);
}

.service-content {
    transform: translateZ(20px);
}

.service-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%) translateZ(-10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-bg-glow {
    opacity: 1;
}

/* Why Us / Counters */
.counter-box {
    text-align: center;
    padding: 2rem;
}

.counter-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    display: block;
    margin-bottom: 0.5rem;
}

.counter-label {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: #050608;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
    color: white;
    text-decoration: none;
}

.footer-links a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}


.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

/* Page Headers */
.page-header {
    height: 60vh;
    min-height: 400px;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.header-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    padding-left: 60px;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50px;
    background: var(--color-bg);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    z-index: 2;
}

/* Portfolio Filters */
.filter-btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg);
}

/* Team & Project Cards */
.team-img-placeholder {
    height: 250px;
    background: center/cover;
}

.bg-gradient-dark {
    background: linear-gradient(45deg, #1f2937, #111827);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-gold);
    color: white;
    box-shadow: none;
}