/* Feniks Construction - Frontend Styles */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2d3748;
    line-height: 1.7;
}

/* Utility Classes */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-from) 0%, var(--primary-to) 100%);
}

.text-primary {
    color: var(--primary-from) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-from) 0%, var(--primary-to) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 6px rgba(241, 90, 37, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 90, 37, 0.4);
    opacity: 0.95;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 2px solid var(--primary-from);
    color: var(--primary-from);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-from) 0%, var(--primary-to) 100%);
    border-color: var(--primary-from);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 6px;
    position: relative;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: var(--primary-from);
    background: rgba(241, 90, 37, 0.1);
}

.navbar-dark .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-from);
    border-radius: 2px;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.object-fit-cover {
    object-fit: cover;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 800;
    letter-spacing: -0.05em;
}

/* Forms */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-from);
    box-shadow: 0 0 0 3px rgba(241, 90, 37, 0.1);
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

/* Hover Effects */
.hover-overlay {
    transition: all 0.3s ease;
}

.hover-button {
    transition: all 0.3s ease;
}

/* Page Header Sections */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 90, 37, 0.9) 0%, rgba(237, 27, 36, 0.9) 100%);
    z-index: 0;
}

.page-header > * {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Footer Links */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-from) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-from), var(--primary-to));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .display-2 { font-size: 2.5rem; }
    .display-3 { font-size: 2rem; }
    .display-4 { font-size: 1.75rem; }
    .display-5 { font-size: 1.5rem; }
}

/* Additional Professional Styling */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-from), var(--primary-to));
    border-radius: 2px;
}

/* Icon Boxes */
.icon-box {
    padding: 2rem;
    border-radius: var(--border-radius);
    background: white;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-box i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-from), var(--primary-to));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gallery Grid */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 90, 37, 0.7), rgba(237, 27, 36, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Project/Portfolio Details */
.detail-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #718096;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    color: var(--secondary);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Breadcrumb Style */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-breadcrumb a {
    transition: all 0.3s ease;
}

.page-breadcrumb a:hover {
    transform: translateX(-3px);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary-from);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Sidebar Sticky */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

/* Quote/CTA Cards */
.cta-card {
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Accordion Custom */
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(241, 90, 37, 0.1), rgba(237, 27, 36, 0.1));
    color: var(--primary-from);
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(241, 90, 37, 0.15);
    border-color: var(--primary-from);
}

/* Filter Buttons */
.filter-btn-group .btn {
    margin: 0.25rem;
}

/* Status Badges */
.status-completed {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.status-in-progress {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.status-planning {
    background: linear-gradient(135deg, #4299e1, #3182ce);
}

/* Loading Animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
