/* ===== SHARED STYLES - USED ACROSS ALL PAGES ===== */
/* This file contains styles that are shared across all pages */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --header-background-color-first: #1e40af;
    --header-background-color-second: #1e3a8a;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* ===== MODERN CUSTOM SCROLLBAR ===== */
html {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #6c5ce7 #f1f5f9; /* Firefox: thumb and track */
}

/* Webkit browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6c5ce7, #a363d9);
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5b52d9, #8b5cf6);
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

/* ===== PAGE ENTRANCE ANIMATION ===== */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    padding-top: 120px; /* Adjust based on header height */
    animation: pageEntrance 0.5s ease-out;
}

@keyframes pageEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.small-text {
    font-size: 0.875rem;
}

.box-shadow {
    box-shadow: var(--shadow-md);
}

.text-bg {
    display: inline-block !important;
    background-color: rgba(18, 15, 214, 0.8) !important;
    color: #ffffff !important;
    padding: 0.3rem 0.5rem !important;
    border-radius: 8px !important;
    transition: background-color 0.3s ease !important;
    font-weight: 500 !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.text-bg:hover {
    background-color: rgba(18, 15, 214, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.lead.text-bg {
    display: inline-block !important;
    background-color: rgba(18, 15, 214, 0.8) !important;
    color: #ffffff !important;
    padding: 0.3rem 0.5rem !important;
    border-radius: 15px !important;
    transition: background-color 0.3s ease !important;
    font-weight: 500 !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.lead.text-bg:hover {
    background-color: rgba(18, 15, 214, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ===== HEADER STYLES ===== */
.header-main {
    background: linear-gradient(135deg, var(--header-background-color-first) 0%, var(--header-background-color-second) 100%);
    color: white;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: border-radius 0.3s ease, margin 0.3s ease, top 0.3s ease;
}

.header-main.scrolled {
    border-radius: 20px 20px 20px 20px;
    margin: 0px 30px 0px 30px;
    top: 15px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section .logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-section .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.navbar-brand img {
    height: 100px;
    transition: var(--transition);
}

/* ===== HEADER RESPONSIVE BREAKPOINTS ===== */

/* ===== LARGE TABLET (max-width: 1199.98px and min-width: 992px) ===== */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .navbar-brand img {
        height: 90px;
    }

    .mobile-contact-container {
        display: none;
    }
}

/* ===== TABLET (max-width: 991.98px) ===== */
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 85px;
    }

    .mobile-contact-container {
        display: none;
    }
}

/* ===== SMALL MOBILE (max-width: 575.98px) ===== */
@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 95px;
    }
    
    .mobile-contact-container {
        display: none;
    }
}

/* ===== CONTACT INFO STYLES ===== */
.contact-info {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-number:hover {
    color: #e0e7ff;
    transform: scale(1.05);
    text-decoration: none;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.whatsapp-btn:hover {
    background: #22c55e;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 213, 102, 0.3), 0 0 20px rgba(37, 213, 102, 0.2);
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.mobile-contact-container {
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.contact-info-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info-mobile .phone-number {
    font-size: 1rem;
}

.contact-info-mobile .whatsapp-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* ===== NAVIGATION STYLES ===== */
.navbar-nav .nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
    /* Remove focus/active button styles */
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    /* Add spacing between nav items */
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #e0e7ff !important;
    /* Remove button-like effects */
    background: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.5rem;
}

/* Remove focus styles */
.navbar-nav .nav-link:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Add spacing to nav items */
.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

/* Mobile navbar styles */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    color: white;
    margin-left: auto; /* Push to the right */
    z-index: 1001; /* Above the slide navigation */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hide hamburger button when nav is open */
.navbar-collapse.show ~ .navbar-toggler,
.navbar-collapse.show + .navbar-toggler {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Ensure proper navbar layout */
.navbar {
    align-items: center;
}

.navbar-brand {
    margin-right: 0; /* Remove default margin */
}

/* ===== TABLET & MOBILE NAVIGATION (max-width: 991.98px) ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: auto;
        min-height: 400px;
        max-height: 80vh;
        background: linear-gradient(135deg, var(--header-background-color-first) 0%, var(--header-background-color-second) 100%);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        display: flex;
        flex-direction: column;
        padding: 10px;
        overflow-y: auto;
        backdrop-filter: blur(10px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 0 20px;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        z-index: -1;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        margin-top: 80px;
        padding: 1rem 0;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 2rem !important;
        border: none;
        text-align: left;
        font-weight: 500;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        position: relative;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: translateX(10px);
        padding-left: 2.5rem !important;
    }
    
    .navbar-nav .nav-link:active {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(15px);
    }
    
    .navbar-nav .nav-link:focus {
        outline: none;
        box-shadow: none;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: var(--accent-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover::before,
    .navbar-nav .nav-link.active::before {
        transform: scaleY(1);
    }
    
    .contact-info-mobile {
        margin-top: auto;
    }
    
    .contact-info-mobile .phone-number {
        font-size: 1rem;
    }
    
    .contact-info-mobile .whatsapp-btn {
        font-size: 1rem;
    }
    
    /* Close button styles */
    .close-nav {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.5rem;
        color: white;
        z-index: 1051;
    }
    
    .close-nav:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    
    /* Overlay for mobile nav */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(2px);
    }
    
    .nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 576px) {
    /* Navigation Screen - MOBILE ONLY */
    .mobile-contact-container {
        display: none;
    }
}

/* ===== BUTTON STYLES ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-2px);
}

/* ===== PAGE HERO STYLES (Shared) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== FOOTER STYLES ===== */
.modern-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3436;
    text-decoration: none;
}

.footer-title {
    color: #2d3436;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6c5ce7, transparent);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3436;
}

.contact-info i {
    color: #6c5ce7;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #6c5ce7;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.quick-links a {
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quick-links a:hover {
    color: #6c5ce7;
    transform: translateX(5px);
}

.quick-links a::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-links a:hover::before {
    opacity: 1;
}

.newsletter-input {
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-subscribe {
    background: linear-gradient(45deg, #6c5ce7, #a363d9);
    border: none;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.2);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
    font-weight: 600;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    color: white;
}

.footer-bottom {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: #6c757d;
}

.footer-bottom a {
    color: #6c5ce7;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===== FOOTER RESPONSIVE (max-width: 768px) ===== */
@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .contact-info li {
        justify-content: center;
    }
}

/* ===== FOOTER GALLERY ===== */
.footer-gallery {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition);
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.footer-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-image:hover img {
    transform: scale(1.1);
}

/* ===== FOOTER GALLERY RESPONSIVE (max-width: 768px) ===== */
@media (max-width: 768px) {
    .footer-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-image {
        height: 120px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0.8;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
} 
