/* 
   Modern Design System for SmartServ
   Created by Antigravity - AI Design Specialist
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #0070c0;
    --primary-dark: #005a9e;
    --primary-light: #00a2ff;
    --secondary: #0f172a;
    --accent: #ff6600;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 12px;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary);
}

/* Navbar Redesign */
.navbar {
    background: rgba(10, 15, 25, 0.95) !important;
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.95) !important;
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-link:hover {
    color: var(--text-white) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Overlay removed for clarity as requested */
.hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: antialiased;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: #ffffff !important;
    margin-bottom: 2.5rem;
    max-width: 100%;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    line-height: 1.5;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 112, 192, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 112, 192, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-outline-light {
    border-width: 2px;
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Section Headings */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Service Cards */
.card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    background: var(--text-white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card img {
    height: 64px;
    width: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.1) rotate(5deg);
}

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

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Brand & Client Carousels */
.carousel-item img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    max-height: 100px;
    width: auto;
    object-fit: contain;
    margin: 10px;
}

.carousel-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Contact Form */
.form-control {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--text-white);
    box-shadow: 0 0 0 4px rgba(0, 112, 192, 0.1);
}

/* Footer */
footer {
    background: #0f172a !important;
    padding: 5rem 0 2rem;
    color: rgba(255, 255, 255, 0.6);
}

footer h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-white) !important;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Contact Icon Circles */
.contact-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Animations */
[data-aos] {
    transition-duration: 800ms !important;
}

/* Custom Utilities */
.bg-gradient-dark {
    background: linear-gradient(to right, #0f172a, #1e293b);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
}
