/* ===================================
   Antaya Engineering - Custom Styles
   =================================== */

:root {
    --primary-orange: #ff6b35;
    --primary-green: #0a7544;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.display-3, .display-4, .display-5 {
    font-weight: 900;
}

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

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

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

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

/* Gradients */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-green) 100%);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    color: white;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

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

/* Hero Carousel */
.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(10, 117, 68, 0.8));
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 900px;
    z-index: 10;
}

.carousel-caption-custom h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
}

.stats-section h2 {
    font-weight: 900;
}

/* Product Banners */
.product-banner {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-banner:hover {
    transform: translateY(-10px);
}

.product-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

/* Feature Boxes */
.feature-box {
    transition: all 0.3s ease;
}

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

/* Industry Cards */
.industry-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.industry-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2) !important;
}

/* Project Cards */
.project-card {
    transition: all 0.3s ease;
    border: none;
}

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

.project-card img {
    height: 250px;
    object-fit: cover;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border: none;
}

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

.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-outline-orange {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.btn-outline-orange:hover {
    background: var(--primary-orange);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-orange);
}

/* Forms */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

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

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

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Footer */
footer a:hover {
    color: var(--primary-orange) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    color: white;
    padding: 5rem 0 3rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-weight: 900;
}

/* Admin Panel */
.admin-sidebar {
    background: var(--bs-gray-100);
    min-height: calc(100vh - 56px);
}

.admin-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    color: white;
}

.table thead th {
    border: none;
    font-weight: 700;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption-custom h1 {
        font-size: 2rem;
    }
    
    .carousel-caption-custom p {
        font-size: 1rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .product-banner {
        height: 300px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .stats-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .carousel-item {
        height: 350px;
    }
}

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

/* Accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-orange);
    color: white;
}

::-moz-selection {
    background: var(--primary-orange);
    color: white;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}
