/* Base Styles (src/index.css) */
:root {
    --color-primary: 176, 100%, 35%;
    /* Teal #00B2A9 */
    --color-primary-dark: 176, 100%, 25%;
    --color-secondary: 40, 100%, 50%;
    /* Amber/Sun #FFAB00 */
    --color-bg: 210, 30%, 98%;
    /* Very light blue-grey */
    --color-surface: 0, 0%, 100%;
    /* White */
    --color-surface-translucent: 0, 0%, 100%, 0.8;
    --color-text: 210, 20%, 20%;
    /* Dark slate */
    --color-text-light: 210, 10%, 50%;
    --color-success: 145, 63%, 42%;
    --color-error: 0, 72%, 51%;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: hsl(var(--color-bg));
    color: hsl(var(--color-text));
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.title-large {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-medium {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: hsl(var(--color-text));
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card {
    background: hsl(var(--color-surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
    background: hsl(var(--color-primary));
    color: white;
    box-shadow: 0 4px 6px -1px hsla(var(--color-primary), 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: hsl(var(--color-primary-dark));
    box-shadow: 0 10px 15px -3px hsla(var(--color-primary), 0.4);
}

.btn-outline {
    border: 2px solid hsl(var(--color-primary));
    color: hsl(var(--color-primary));
}

.btn-outline:hover {
    background: hsl(var(--color-primary));
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--color-bg));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--color-primary), 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--color-primary));
}

/* Navbar.css */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-sm);
    z-index: 1000;
    transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar-transparent {
    background-color: transparent;
    backdrop-filter: blur(0);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.navbar-logo img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.mobile-toggle {
    color: hsl(var(--color-text));
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: hsl(var(--color-text));
    padding: 0.5rem;
    z-index: 10000;
}

.nav-link,
.mobile-link {
    color: hsl(var(--color-text));
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1rem;
}

.nav-link:hover,
.mobile-link:hover {
    color: hsl(var(--color-primary));
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: hsl(var(--color-surface));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    padding: 0.5rem 0;
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: hsl(var(--color-text));
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
    background-color: hsl(var(--color-bg));
    color: hsl(var(--color-primary));
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff !important;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.mobile-sublink {
    padding-left: 2rem;
    font-size: 0.9rem;
    color: hsl(var(--color-text-light));
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.mobile-dropdown button {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    display: block;
    /* Always visible */
    padding-left: 1rem;
}

.mobile-dropdown .lucide-chevron-down {
    display: none;
    /* Hide arrow as it's no longer a toggle */
}

/* Visibility Utilities */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

@media (min-width: 768px) {
    .desktop-only {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .mobile-only {
        display: none;
    }

    .nav-item-dropdown {
        position: relative;
    }
}

/* Hero.css */
.hero {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-image: url('assets/hero/1.jpg');
    /* Default fallback */
}

.hero-slide-item.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
}

/* Content goes on top */
.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Ensure left alignment of children */
    height: 100%;
    padding-left: 2rem;
    width: 100%;
    /* Ensure it takes full width of container */
}

.hero-text {
    max-width: 600px;
}

.hero-logo {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #00B2A9, #FFAB00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback for text-fill-color if needed */
    color: #00B1A0;
}

@supports (-webkit-text-fill-color: transparent) {
    .hero-logo {
        color: transparent;
    }
}

.hero-main-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: -50px;
    display: block;
    margin-right: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .hero-main-logo {
        margin-left: auto;
        margin-right: auto;
        max-width: 180px;
    }

    .hero-logo {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .slider-btn {
        display: none;
        /* Hide arrows on mobile */
    }
}

/* Home.css */


.presentation-section {
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
}

.presentation-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .presentation-section .container {
        grid-template-columns: 1fr 1fr;
    }
}

.presentation-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.presentation-text {
    font-size: 1.1rem;
    color: hsl(var(--color-text-light));
    line-height: 1.8;
}

.acec-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-left: 4px solid hsl(var(--color-secondary));
    border-radius: var(--radius-sm);
    max-width: fit-content;
}

.acec-badge span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(var(--color-text-light));
}

.acec-badge strong {
    font-size: 1.2rem;
    color: hsl(var(--color-primary-dark));
}

.presentation-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.presentation-image:hover img {
    transform: scale(1.02);
}

.partners-section {
    background-color: white;
}

.text-center {
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.partner-item {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partner-item:hover .partner-img {
    transform: scale(1.1);
}

/* Contact.css */
.contact-page {
    padding-top: 100px;
    min-height: 80vh;
}

.contact-title {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-card {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-intro {
    color: hsl(var(--color-text-light));
    text-align: center;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.contact-item:hover {
    background-color: hsl(var(--color-bg));
}

.contact-icon-wrapper {
    padding: 1rem;
    background: hsl(var(--color-bg));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--color-primary));
}

.contact-item:hover .contact-icon-wrapper {
    background: white;
    color: hsl(var(--color-primary-dark));
}

.contact-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: hsl(var(--color-text));
}

.contact-value {
    color: hsl(var(--color-text-light));
}

/* Listing.css */
.listing-page {
    padding-top: 80px;
    /* Offset for fixed navbar */
    min-height: 100vh;
    background-color: hsl(var(--color-bg));
}

.listing-header {
    background-color: hsl(var(--color-primary-dark));
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    background-image: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
}

.listing-header .title-large {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    background: none;
    -webkit-text-fill-color: initial;
}

.listing-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb span.active {
    font-weight: 600;
    opacity: 1;
}

.listing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .listing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.text-muted {
    color: hsl(var(--color-text-light));
}

/* Gallery Specific Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1/1;
    /* Create square tiles */
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* BusinessDetail.css */
.business-detail {
    padding-top: 80px;
    background-color: hsl(var(--color-bg));
    min-height: 100vh;
}

.detail-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 2rem;
}

.back-link {
    color: hsl(var(--color-surface));
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: auto;
    /* Push to top */
    padding-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.back-link:hover {
    opacity: 1;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.25rem;
    /* Reduced bottom margin */
    line-height: 1.2;
}

.business-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.business-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.detail-logo-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: white;
    /* Ensure bg is white for transparency */
    flex-shrink: 0;
}

.detail-meta {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    /* Pushed down */
    position: relative;
    z-index: 3;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .detail-body {
        grid-template-columns: 2fr 1fr;
    }
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid hsl(var(--color-primary-light));
    color: hsl(var(--color-primary-dark));
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 480px) {
    .gallery-grid-small {
        grid-template-columns: repeat(3, 1fr);
    }
}

.detail-img.thumbnail {
    width: 100%;
    aspect-ratio: 4/3;
    /* Fixed aspect ratio */
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.detail-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Cleaner Gallery - removed card styles */
.detail-gallery {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 1rem;
    overflow: visible;
    /* Allow children shadows/transforms */
    transform: none !important;
    transition: none !important;
}

.detail-gallery:hover {
    transform: none !important;
    box-shadow: none !important;
}

.detail-gallery .section-title {
    border-bottom: none;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.detail-contact {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.detail-description {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: hsl(var(--color-text-light));
}

.contact-list a {
    color: hsl(var(--color-text));
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-list a:hover {
    color: hsl(var(--color-primary));
}

.icon-primary {
    color: hsl(var(--color-primary));
}

.w-100 {
    width: 100%;
}

/* Footer.css */
.footer {
    background-color: hsl(var(--color-bg));
    border-top: 1px solid hsl(var(--color-text-light), 0.2);
    padding: 4rem 1rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: hsl(var(--color-text));
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col p {
    color: hsl(var(--color-text-light));
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: hsl(var(--color-text-light));
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: hsl(var(--color-primary));
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--color-text-light), 0.1);
    color: hsl(var(--color-text-light));
    font-size: 0.8rem;
}