/**
 * Customer Frontend Styles
 *
 * Page-specific styles for customer-facing pages.
 * Component styles have been extracted to /assets/css/components/
 */

/* =================================================================
   Header & Navigation Overrides
================================================================= */

/* Fixed header - always at top */
.navgition {
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-background-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navgition-solid {
    background: var(--nav-background-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 64px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-item a {
    color: #fff !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item.active a {
    background: rgba(255, 255, 255, 0.1);
    color: #3498db !important;
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
}

.toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(44, 62, 80, 0.98);
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .navbar-nav .nav-item a {
        padding: 12px 15px !important;
    }
}

/* =================================================================
   Sections
================================================================= */

section {
    position: relative;
}

.section-title .title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.3;
}

.section-title .text {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

/* =================================================================
   Main Button Overrides
================================================================= */

.main-btn,
.btn-primary {
    background: var(--primary-color);
    color: var(--primary-button-text-color) !important;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.main-btn:hover,
.btn-primary:hover {
    background: var(--primary-comliment-color);
    color: var(--primary-button-text-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-outline-light {
    background: transparent;
    color: var(--hero-primary-text-color) !important;
    border: 2px solid var(--hero-primary-text-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--background-white);
    color: var(--text-color) !important;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* =================================================================
   Services/Features Section
================================================================= */

.services-content {
    align-items: flex-start;
}

.services-icon {
    flex-shrink: 0;
}

.services-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.services-image img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .services-content {
        flex-direction: column;
        text-align: center;
    }

    .services-icon {
        margin-bottom: 15px;
    }
}

/* =================================================================
   Responsive Images
================================================================= */

img {
    max-width: 100%;
    height: auto;
}

/* =================================================================
   Animations
================================================================= */

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

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

/* =================================================================
   Print Styles
================================================================= */

@media print {
    .navgition,
    .footer-area,
    .back-to-top,
    .cta-section {
        display: none;
    }
}

/* =================================================================
   Accessibility
================================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* =================================================================
   Loading States
================================================================= */

.loading {
    opacity: 0.6;
    pointer-events: none;
}
