
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Dancing+Script:wght@700&display=swap');

:root {
    --primary: #0a7e8c;
    --primary-dark: #075c67;
    --primary-light: #e0f2fe;
    --secondary: #10b981;
    --secondary-dark: #047857;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-brand: 'Dancing Script', cursive;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
}

.dancing-font {
    font-family: var(--font-brand);
    color: var(--secondary);
}

/* Gradient backgrounds & buttons */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    filter: brightness(1.1);
}

/* Header & Navbar */
.top-bar {
    background-color: var(--dark);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 55px;
    transition: var(--transition);
}

.navbar-brand h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--dark) !important;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 250px;
}

.dropdown-item {
    font-weight: 500;
    padding: 8px 20px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0px;
}

/* On mobile (width < 992px) */
@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static;
        margin-left: 15px;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.02);
        display: none;
    }
    .dropdown-submenu .dropdown-menu.show {
        display: block !important;
    }
}

/* On desktop (width >= 992px) */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
    .dropdown-submenu > .dropdown-toggle::after {
        border-top: 0.3em solid transparent;
        border-right: 0;
        border-bottom: 0.3em solid transparent;
        border-left: 0.3em solid;
        float: right;
        margin-top: 8px;
        margin-right: -10px;
    }
}

/* Service cards & hover animations */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(10, 126, 140, 0.95) 0%, rgba(16, 185, 129, 0.9) 100%), url('../images-webp/images/content/slider/slide-01.webp') no-repeat center center/cover;
    color: white;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(10, 126, 140, 0.25);
    border-color: var(--primary);
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Testimonial slider / CSS Scroll Snap */
.testimonials-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 5px;
    scrollbar-width: none;
}

.testimonials-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    min-width: 320px;
    flex: 1 0 30%;
    scroll-snap-align: start;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
}

/* Cookie Consent Bar */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 20px;
    z-index: 1050;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

/* Premium Footer Styling overrides */
.footer {
    background-color: #0f172a !important; /* slate-900 */
    color: #cbd5e1 !important; /* slate-300 */
    font-size: 0.9rem;
}

.footer h5 {
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 600;
    border-bottom: 2px solid var(--primary) !important;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer p, .footer span {
    color: #94a3b8 !important; /* slate-400 */
}

.footer a {
    color: #94a3b8 !important; /* slate-400 */
    transition: var(--transition) !important;
}

.footer a:hover {
    color: var(--secondary) !important; /* secondary green highlight */
    text-decoration: none !important;
    padding-left: 4px; /* subtle micro-interaction */
}

.footer .list-unstyled a {
    display: inline-block;
}

.footer .fa-chevron-right {
    color: var(--primary) !important;
    font-size: 0.7rem;
    transition: var(--transition);
}

.footer a:hover .fa-chevron-right {
    color: var(--secondary) !important;
}

.footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer .d-flex.gap-3 a {
    color: #ffffff !important;
    background-color: var(--secondary) !important;
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
}

.footer .d-flex.gap-3 a:hover {
    padding-left: 0 !important; /* prevent shifting */
    background-color: var(--secondary-dark) !important;
}
