/* 
 * Asoupe Studio - Core Stylesheet
 * Premium, Enterprise-Grade Design System
 */

:root {
    /* Brand Colors */
    --c-primary: #0f172a;      /* Navy */
    --c-secondary: #f8fafc;    /* Beige/Light */
    --c-accent: #FF7A00;       /* Orange */
    --c-accent-hover: #e06a00;
    
    /* Gradients */
    --g-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --g-accent: linear-gradient(135deg, #FF7A00 0%, #ff9e44 100%);
    --g-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Reset & Typography */
body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .heading-font {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--c-primary);
}

a {
    color: var(--c-accent);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--c-accent-hover);
}

/* Utilities */
.text-primary { color: var(--c-primary) !important; }
.text-accent { color: var(--c-accent) !important; }
.bg-primary { background-color: var(--c-primary) !important; }
.bg-accent { background-color: var(--c-accent) !important; }

.text-gradient {
    background: var(--g-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { 
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.shadow-soft { box-shadow: var(--shadow-md); }
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.nav-link {
    color: var(--c-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--c-accent);
}

/* Buttons */
.btn-primary {
    background: var(--g-accent);
    border: none;
    color: #fff;
    padding: 10px 24px;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #e06a00 0%, #ff8a20 100%);
    color: #fff;
}
.btn-outline-primary {
    border: 2px solid var(--c-accent);
    color: var(--c-accent);
}
.btn-outline-primary:hover {
    background: var(--c-accent);
    color: #fff;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: var(--g-light);
    position: relative;
    overflow: hidden;
}
.hero-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--g-accent);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}
.hero-shape.top-right { top: -200px; right: -200px; }
.hero-shape.bottom-left { bottom: -200px; left: -200px; }
.hero-content { position: relative; z-index: 1; }

/* Cards & Grid Items */
.service-card, .product-card, .portfolio-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.03);
    padding: 2.5rem;
    transition: all 0.4s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,0,0,0.05);
}
.icon-box {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 122, 0, 0.1);
    color: var(--c-accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.service-card:hover .icon-box {
    background: var(--c-accent);
    color: #fff;
    transform: scale(1.1);
}

/* Portfolio Gallery */
.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}
.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}
.portfolio-item:hover .portfolio-img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* Section Padding */
.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 999;
    background: #25d366 !important;
    text-decoration: none !important;
}
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 45px;
    height: 45px;
    z-index: 998;
    border: none;
    cursor: pointer;
}
.scroll-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 991px) {
    .hero-section { padding: 120px 0 60px; }
    .section-title { font-size: 2rem; }
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-md);
        margin-top: 1rem;
    }
}
