/* Custom Styles for Saghe Website */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1a202c;
    --light-color: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Yekan-Bakh', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography - Smaller Sizes */
h1, .h1 {
    font-size: 1.75rem !important;
}

h2, .h2 {
    font-size: 1.5rem !important;
}

h3, .h3 {
    font-size: 1.25rem !important;
}

h4, .h4 {
    font-size: 1.1rem !important;
}

h5, .h5 {
    font-size: 1rem !important;
}

h6, .h6 {
    font-size: 0.9rem !important;
}

.display-4 {
    font-size: 2rem !important;
}

.display-5 {
    font-size: 1.75rem !important;
}

.lead {
    font-size: 1rem !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.shadow-soft {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Button Styles */
.btn {
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 10px 24px;
    font-size: 15px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Card Styles */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.1rem !important;
}

.card-text {
    font-size: 0.9rem !important;
}

/* Badge Styles */
.badge {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Form Controls */
.form-control {
    border-radius: 6px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-select {
    font-size: 14px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
}

/* Links */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Section Padding */
section {
    padding: 50px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    section {
        padding: 35px 0;
    }
    
    .btn-lg {
        padding: 9px 18px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.3rem !important;
    }
    
    h3 {
        font-size: 1.15rem !important;
    }
    
    h4 {
        font-size: 1rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    .lead {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    section {
        padding: 30px 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .social-links {
        display: none !important;
    }
}

