/* Variables */
:root {
    --primary-color: #2962ff;
    --primary-dark: #0039cb;
    --primary-light: #768fff;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a237e;
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Navbar */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: white !important;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--primary-light) !important;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('{% static "images/pattern.png" %}') repeat;
    opacity: 0.1;
}

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

.hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Services Section */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

/* Apps Section */
.app-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.app-logo {
    width: 120px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

.app-content {
    padding: 2rem;
    text-align: center;
}

.app-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.app-version {
    font-size: 0.9rem;
    color: #666;
    margin: 1rem 0;
}

/* Contact Section */
.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.contact-item i {
    width: 30px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(41, 98, 255, 0.25);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.social-links a[href*="wa.me"] {
    background: #25D366;
    color: white;
}

.social-links a[href*="wa.me"]:hover {
    background: #128C7E;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--light-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-info {
    color: #666;
    font-size: 0.9rem;
}

.footer-info i {
    color: var(--primary-color);
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        background: var(--primary-color);
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        background: var(--primary-color);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
    }

    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .footer {
        text-align: center;
    }

    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.app-card,
.contact-card {
    animation: fadeInUp 1s ease-out forwards;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay p {
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
} 