/* 
   Grace Route Travel Agency Homepage Stylesheet
   Premium, Modern Travel Aesthetic 
*/

:root {
    --primary-blue: #003366;
    --primary-blue-dark: #001C3D;
    --accent-sky: #F4F8FB;
    --accent-blue-vibrant: #00AEEF;
    --highlight-gold: #D4AF37;
    --highlight-gold-light: #E2C562;
    --bg-light-grey: #F8FAFC;
    --text-dark: #1E293B;
}

/* Base resets & smooth behaviors */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

/* Sticky Header Transitions on Scroll */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.navbar-scrolled #nav-brand-text {
    color: var(--primary-blue) !important;
}

.navbar-scrolled #nav-tag-text {
    color: var(--primary-blue-dark) !important;
}

.navbar-scrolled .nav-link {
    color: #475569 !important;
}

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

.navbar-scrolled #nav-cta {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
}

.navbar-scrolled #nav-cta:hover {
    background-color: var(--primary-blue-dark) !important;
}

.navbar-scrolled #hamburger-icon {
    color: var(--primary-blue) !important;
}

/* Premium Card hover elevations */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 62, 104, 0.12);
    border-color: rgba(186, 146, 92, 0.2);
}

/* Smooth zoom on images */
.group:hover img {
    transform: scale(1.06);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Micro animations */
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spinSlow 12s linear infinite;
}

/* Glassmorphism helpers */
.glass-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form inputs hover effect */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(15, 62, 104, 0.15);
    border-color: var(--primary-blue) !important;
}

/* Quick planner active service buttons */
.qp-srv-btn-active {
    border-color: var(--primary-blue) !important;
    background-color: rgba(15, 62, 104, 0.05) !important;
    color: var(--primary-blue) !important;
}

/* Interactive tab states */
.tab-btn-active {
    border-color: var(--highlight-gold) !important;
    background-color: rgba(186, 146, 92, 0.1) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 15px -3px rgba(186, 146, 92, 0.2);
}

/* Checklist custom decoration */
.cl-item-checked {
    background-color: rgba(248, 250, 252, 0.5) !important;
    border-color: rgba(186, 146, 92, 0.15) !important;
    color: #94a3b8 !important;
}

.cl-item-checked .cl-text {
    text-decoration: line-through;
}

.cl-item-checked .cl-box {
    background-color: var(--highlight-gold) !important;
    border-color: var(--highlight-gold) !important;
    color: #ffffff !important;
}
