/* assets/css/style.css */

:root {
    --primary-color: #FF6B35;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
}

* {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-section .lead {
    font-size: 1.25rem;
    line-height: 1.8;
}

.hero-image {
    perspective: 1000px;
}

.hero-image .card {
    transform: rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.hero-image .card:hover {
    transform: rotateY(0) rotateX(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

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

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

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.card-title {
    color: var(--dark-color);
    font-weight: 600;
}

/* Stats Section */
.display-5 {
    font-size: 3rem;
    font-weight: 700;
}

/* Features Section */
section {
    position: relative;
}

/* Background Patterns */
.bg-light {
    background-color: #f8f9fa !important;
}

.bg-dark {
    background-color: #1a1a1a !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%) !important;
}

/* Text Colors */
.text-muted {
    color: #6c757d !important;
    line-height: 1.6;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 3px solid var(--primary-color);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
}

/* Forms */
.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

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

.badge.bg-success {
    background-color: #28a745 !important;
}

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

.card, .card-body {
    animation: fadeIn 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid #ddd;
    }

    .hero-image {
        margin-top: 2rem;
    }
}

/* Hover Effects */
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Icon Styling */
i.fas, i.far, i.fab {
    transition: all 0.3s ease;
}

.card:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Min height for pages */
main {
    min-height: calc(100vh - 120px);
}

/* Section Padding */
section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Container spacing */
.container-lg {
    max-width: 1200px;
}

/* Link styling */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #e55a2b;
}

/* Border radius */
img {
    border-radius: 8px;
}

/* Typography */
.lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
}

/* Alert styling */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, footer {
        display: none;
    }

    body {
        margin: 0;
        padding: 1rem;
    }
}
