/* Orange64 VoIP Custom Styles */
:root {
    --orange-primary: #ff6b35;
    --orange-secondary: #ff8c42;
    --orange-light: #ffa366;
    --orange-dark: #e55a2b;
    --blue-primary: #2c3e50;
    --blue-secondary: #34495e;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gray-light);
    line-height: 1.6;
}

/* Orange64 Brand Colors */
.text-orange {
    color: var(--orange-primary) !important;
}

.bg-orange {
    background-color: var(--orange-primary) !important;
}

.bg-primary {
    background-color: var(--blue-primary) !important;
}

.text-primary {
    color: var(--blue-primary) !important;
}

/* Custom Buttons */
.btn-orange {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.btn-outline-orange {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

/* Card Enhancements */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.option-card {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-label {
    color: var(--blue-primary);
}

.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-size: 0.875rem;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.navbar-nav .nav-link.phone-number {
    background-color: var(--orange-primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link.phone-number:hover {
    background-color: var(--orange-dark);
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 2rem 0;
}

.hero-image {
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Option Icons */
.option-icon {
    transition: transform 0.3s ease;
}

.option-card:hover .option-icon {
    transform: scale(1.1);
}

/* Feature Items */
.feature-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

/* Success Page */
.success-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Alert Enhancements */
.alert {
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.alert-info {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--orange-dark);
    border-left: 4px solid var(--orange-primary);
}

/* Footer */
footer {
    margin-top: auto;
}

/* Form Sections */
.card-header {
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .option-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--orange-primary);
    outline-offset: 2px;
}

/* Custom Select Styles */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff6b35' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

/* Card Header with Orange Accent */
.card-header.bg-orange {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary)) !important;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
