/* Laravel Application Styles with Hero Section Support */

/* Import Bootstrap if not already loaded */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

/* CSS Variables for consistent theming */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --primary-color: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --tech-blue: #0066ff;
}

/* Custom App Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0f1c, #1a1f35 50%, #0f1419);
    color: #fff;
    min-height: 100vh;
}

/* Hero Section Styles */
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #e0e6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Tools Section Styles */
.tools-section, .features-section, .important-links-section {
    padding: 100px 0;
    position: relative;
}

.tools-section {
    background: rgba(15, 25, 40, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* Tool Cards */
.tool-card {
    background: rgba(15, 25, 40, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    padding: 1.3rem;
    transition: 0.3s;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.6);
}

.tool-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.tool-icon.primary {
    background: var(--primary-gradient);
}

.tool-icon.success {
    background: var(--success-gradient);
}

.tool-icon.warning {
    background: var(--warning-gradient);
}

/* Tool Buttons */
.tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 40px;
    padding: 10px 18px;
    font-weight: 600;
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tool-btn.primary {
    background: var(--primary-gradient);
}

.tool-btn.success {
    background: var(--success-gradient);
}

.tool-btn.warning {
    background: var(--warning-gradient);
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    background: rgba(15, 25, 40, 0.6);
    padding: 1.3rem;
    border-radius: 15px;
    margin-bottom: 1.3rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.navbar-brand {
    font-weight: 600;
}

.btn {
    border-radius: 0.5rem;
}

.card {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.5rem;
}

/* Loading animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Navbar Styles */
.navbar-brand {
    font-weight: 600;
}

/* General Bootstrap Overrides */
.btn {
    border-radius: 0.5rem;
}

.card {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.5rem;
}

/* Loading animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Accordion Styles */
.accordion-button {
    font-weight: 500;
}

/* Fix backdrop-filter for Safari */
.tools-section {
    background: rgba(15, 25, 40, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.9rem;
    }
}
