/* Custom styles for Danilo Rios - Ultra Modern Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* General styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
    color: #e2e8f0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    margin-bottom: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    color: #e2e8f0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.2);
}

.card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.02);
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(72, 187, 120, 0.5);
}

.btn-outline-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.btn-outline-secondary:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.navbar {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 20px 20px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #e2e8f0 !important;
    display: flex;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar-brand img {
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #cbd5e1 !important;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    padding: 8px 12px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 60px 0 40px;
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 1.1rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.price-tag {
    background: #f59e0b;
    color: #000;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
    font-size: 0.875rem;
}

/* Light mode toggle (optional) */
body.light-mode {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1a1a1a;
}

body.light-mode .navbar {
    background: rgba(255,255,255,0.95) !important;
    border-bottom-color: rgba(0,0,0,0.05);
}

body.light-mode .card {
    background: white;
    color: #1a1a1a;
}

body.light-mode .form-control {
    background: white;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
}

body.light-mode .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

body.light-mode .form-label {
    color: #374151;
}

/* Form improvements */
.form-control {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    outline: none;
    background: rgba(255,255,255,0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-label {
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

body.dark-mode .table {
    color: #f9fafb;
}

body.dark-mode .table th,
body.dark-mode .table td {
    border-color: #374151;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkout specific */
.checkout-step {
    border-left: 4px solid #667eea;
    padding-left: 15px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Print styles */
@media print {
    .navbar, .footer, .btn {
        display: none !important;
    }
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    body {
        background: white !important;
        color: black !important;
    }
}