/* Main Styles for Hesaplama.net */

/* Import Google Font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Bootstrap Color Overrides */
.bg-primary {
    background-color: #183159 !important;
}

.btn-primary {
    background-color: #183159 !important;
    border-color: #183159 !important;
}

.btn-primary:hover {
    background-color: #0d182a !important;
    border-color: #0d182a !important;
}

.text-primary {
    color: #183159 !important;
}

.border-primary {
    border-color: #183159 !important;
}

/* Card Styles */
.card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card .card-body {
    padding: 1.5rem;
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

/* Icon Circle Styles */
.rounded-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.card:hover .rounded-circle {
    transform: scale(1.1);
}

/* Button Styles */
.btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Custom Colors */
.bg-teal {
    background-color: #31c0cf;
}

.text-teal {
    color: #31c0cf;
}

.bg-indigo {
    background-color: #183159;
}

.text-indigo {
    color: #183159;
}

.bg-purple {
    background-color: #6f42c1;
}

.text-purple {
    color: #6f42c1;
}

/* Button Colors */
.btn-teal {
    background-color: #31c0cf;
    border-color: #31c0cf;
    color: #fff;
}

.btn-teal:hover {
    background-color: #2aa8b5;
    border-color: #2aa8b5;
    color: #fff;
}

.btn-indigo {
    background-color: #183159;
    border-color: #183159;
    color: #fff;
}

.btn-indigo:hover {
    background-color: #122645;
    border-color: #122645;
    color: #fff;
}

.btn-purple {
    background-color: #6f42c1;
    border-color: #6f42c1;
    color: #fff;
}

.btn-purple:hover {
    background-color: #5e35a1;
    border-color: #5e35a1;
    color: #fff;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #183159 0%, #122645 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, #31c0cf 0%, #2aa8b5 100%);
}

.footer-gradient {
    background: linear-gradient(135deg, #183159 0%, #122645 100%);
}

.hero-gradient {
    background: linear-gradient(135deg, #183159 0%, #31c0cf 100%);
}

/* Custom Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Form Styles */
.form-control-custom {
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-custom:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    outline: 0;
}

/* Results Section */
.results-container {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.results-container:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Table Styles */
.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th {
    background-color: #f1f5f9;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.custom-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:hover {
    background-color: #f8fafc;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background-color: #fff;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .results-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}