/* 
====================================================================
    TITAN BLACK THEME - MAIN STYLESHEET
    Domain: Centaur Media
    Theme: Titan Black (Bold, Dark, Authority)
    Version: 2.0
====================================================================
*/

/* -----------------------------------------------------------------
   1. VARIABLES & ROOT SETTINGS
----------------------------------------------------------------- */
:root {
    /* Colors - Backgrounds */
    --bg-dark: #0B0B0F;
    --bg-panel: #14141C;
    --bg-card: #1A1A25;
    --bg-input: #0f0f16;

    /* Colors - Accents */
    --accent-start: #F43F5E;
    /* Rose */
    --accent-end: #8B5CF6;
    /* Violet */
    --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    --accent-glow: rgba(139, 92, 246, 0.4);

    /* Colors - Text */
    --text-main: #FFFFFF;
    --text-secondary: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dark: #0B0B0F;

    /* Fonts */
    --font-heading: 'Bangers', cursive;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* UI Elements */
    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-light: 1px solid rgba(255, 255, 255, 0.05);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

/* -----------------------------------------------------------------
   2. RESET & BASE STYLES
----------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at top right, #1A1A25 0%, #0B0B0F 60%);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* -----------------------------------------------------------------
   3. UTILITIES & ANIMATIONS
----------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.highlight-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animated Divider */
.titan-divider {
    height: 4px;
    width: 0;
    background: var(--accent-gradient);
    margin: var(--spacing-sm) 0;
    transition: width 1.5s ease-out;
}

.titan-divider.active {
    width: 100px;
}

.titan-divider.center {
    margin: var(--spacing-sm) auto;
}

/* -----------------------------------------------------------------
   4. HEADER & NAVIGATION
----------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    filter: drop-shadow(0 0 5px rgba(244, 63, 94, 0.3));
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* -----------------------------------------------------------------
   5. BUTTONS
----------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-end);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--accent-end);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* -----------------------------------------------------------------
   6. HERO SECTION
----------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Animated Background Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(11, 11, 15, 0) 70%);
    z-index: -1;
    animation: pulse-glow 8s infinite alternate;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content h1 {
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    border-left: 4px solid var(--accent-start);
    padding-left: 1.5rem;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-card-3d {
    background: var(--bg-card);
    border: var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: var(--shadow-card);
    transition: transform 0.5s ease;
    position: relative;
}

.hero-card-3d:hover {
    transform: rotateY(0) rotateX(0);
}

.hero-card-3d img {
    width: 100%;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
}

.stat-floating {
    position: absolute;
    background: var(--bg-panel);
    border: 1px solid var(--accent-start);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-glow);
    animation: float 4s ease-in-out infinite;
}

.stat-floating.one {
    top: -20px;
    right: -20px;
}

.stat-floating.two {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* -----------------------------------------------------------------
   7. SERVICES SECTION (Cards)
----------------------------------------------------------------- */
.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-panel);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    group: hover;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-card);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-start);
    background: rgba(255, 255, 255, 0.03);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}

.service-card:hover .card-icon {
    background: var(--accent-gradient);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-list {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-list li i {
    color: var(--accent-end);
    font-size: 0.8rem;
}

/* -----------------------------------------------------------------
   8. PROCESS & TIMELINE
----------------------------------------------------------------- */
.process-section {
    background: #0F0F14;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--bg-dark);
    border: 4px solid var(--accent-start);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
    border-color: var(--accent-end);
}

.timeline-content {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: var(--border-light);
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    position: absolute;
    top: -15px;
    opacity: 0.1;
    color: white;
}

.left .step-number {
    right: 20px;
}

.right .step-number {
    left: 20px;
}

/* -----------------------------------------------------------------
   9. INTERACTIVE CALCULATOR
----------------------------------------------------------------- */
.calculator-section {
    background: linear-gradient(rgba(11, 11, 15, 0.9), rgba(11, 11, 15, 0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-attachment: fixed;
}

.calc-wrapper {
    background: rgba(26, 26, 37, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--bg-input);
    border: 1px solid #333;
    border-radius: var(--border-radius-sm);
    color: white;
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-start);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}

.range-slider {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-start);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--accent-end);
    text-align: center;
}

.result-box {
    margin-bottom: 2rem;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -----------------------------------------------------------------
   10. TESTIMONIALS
----------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    position: relative;
    border: var(--border-light);
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-end);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

/* -----------------------------------------------------------------
   11. LEGAL PAGES
----------------------------------------------------------------- */
.legal-content {
    background: var(--bg-panel);
    padding: 4rem 2rem;
    border-radius: var(--border-radius-md);
    margin-top: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    color: var(--accent-start);
    font-size: 1.8rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* -----------------------------------------------------------------
   12. CONTACT PAGE
----------------------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-block {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    border: var(--border-light);
}

.contact-methods li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-methods i {
    font-size: 1.5rem;
    color: var(--accent-start);
    margin-top: 5px;
}

.contact-methods h4 {
    margin-bottom: 0.2rem;
    color: white;
}

/* -----------------------------------------------------------------
   13. FOOTER
----------------------------------------------------------------- */
.footer {
    background: #050508;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-start);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-end);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--accent-start);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
}

/* -----------------------------------------------------------------
   14. MEDIA QUERIES
----------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-subtitle {
        margin: 0 auto var(--spacing-md);
        border-left: none;
        border-bottom: 4px solid var(--accent-start);
        padding-bottom: 1rem;
        padding-left: 0;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        text-align: left;
        left: 0;
    }

    .timeline-item::after {
        left: 21px;
    }

    .left .step-number,
    .right .step-number {
        left: 80px;
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 999;
        border-left: 1px solid var(--accent-start);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3rem;
    }
}

/* Animations Keyframes */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}