/* Global Styles */
:root {
    --navy-900: #011a3f; /* deeper navy */
    --navy-800: #011a3f;
    --navy-700: #0d274b;
    --gold-500: #d6a45f; /* warm metallic gold */
    --gold-400: #f0c27a;
    --gold-300: #ffd79b;
    --text-100: #f7f7f7;
    --text-300: #cbd5e1;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.14);
    --shadow: 0 20px 60px rgba(0,0,0,0.45);
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .marquee-track { animation: none !important; }
    .site-name { animation: none !important; }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #011a3f;
    color: var(--text-100);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #011a3f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    text-align: center;
}

.orb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--gold-500) 55%, #8a5a25 100%);
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 35px rgba(214,164,95,0.45), inset 0 0 30px rgba(255,255,255,0.12);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold-300);
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.08em;
    text-shadow: 0 0 12px rgba(214,164,95,0.35), 0 0 40px rgba(214,164,95,0.15);
}

/* Main Content */
#main-content {
    position: relative;
    z-index: 1;
}

/* Glassmorphism */
.glass-card, .carousel-item, .modal-content, .floating-btn {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(125%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* Premium Sticky Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px) saturate(120%);
    width: 100%;
    overflow-x: clip;
}

.nav-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text-100); font-weight: 800; letter-spacing: .02em; }
.nav-logo img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(214,164,95,0.45)); }
.nav-links { list-style: none; display: flex; gap: 18px; }
.nav-links a { color: var(--text-300); padding: 8px 10px; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-300); background: rgba(255,255,255,0.06); }
.nav-cta { padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(214,164,95,0.5); background: linear-gradient(140deg, rgba(214,164,95,0.28), rgba(214,164,95,0.1)); color: #ffffff; font-weight: 700; }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--gold-300);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 1.1rem;
}

/* Mobile drawer */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 60;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: rgba(1,26,63,0.98);
    border-right: 1px solid rgba(255,255,255,0.12);
    transform: translateX(-100%);
    transition: transform .28s ease;
    z-index: 70;
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.mobile-drawer.open { transform: translateX(0); }

.drawer-header { display: flex; align-items: center; justify-content: space-between; color: var(--gold-300); font-weight: 800; margin-bottom: 8px; }
.nav-close { background: transparent; border: none; color: var(--text-100); font-size: 1.6rem; cursor: pointer; }
.drawer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.drawer-links a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text-100); }
.drawer-links a:hover { background: rgba(255,255,255,0.08); color: var(--gold-300); }

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(1,26,63,0.0), rgba(1,26,63,0.45) 70%, rgba(1,26,63,0.8));
    position: relative;
}

.hero-content {
    z-index: 2;
}

.brand-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(214,164,95,0.35));
    margin-bottom: 18px;
}

.site-name {
    font-size: 5rem;
    font-weight: 800;
    color: var(--gold-300);
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.06em;
    text-shadow: 0 0 24px rgba(214,164,95,0.35), 0 0 80px rgba(214,164,95,0.15);
}

@keyframes glow {
    from { text-shadow: 0 0 22px rgba(214,164,95,0.35), 0 0 60px rgba(214,164,95,0.14); }
    to { text-shadow: 0 0 34px rgba(240,194,122,0.6), 0 0 110px rgba(240,194,122,0.25); }
}

.tagline {
    font-size: 1.5rem;
    margin-top: 20px;
    color: var(--text-300);
}

.cta-row {
    display: inline-flex;
    gap: 14px;
    margin-top: 28px;
}

.cta {
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    color: var(--text-100);
    font-weight: 700;
    letter-spacing: .02em;
    transform: translateZ(0);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cta.primary {
    background: linear-gradient(140deg, rgba(214,164,95,0.35), rgba(214,164,95,0.18));
    border-color: rgba(214,164,95,0.55);
    color: #ffffff;
}

.cta:hover { transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(214,164,95,0.25);
}

/* About Section */
#about {
    padding: 100px 20px;
    text-align: center;
}

/* Features */
.features { padding: 100px 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; }
.feature-card { padding: 22px; background: var(--glass); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }

.feature-card:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 15px 40px rgba(214,164,95,0.2); }
.feature-card h3 { color: var(--gold-300); margin: 8px 0 6px; }
.feature-card p { color: var(--text-300); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(140deg, rgba(214,164,95,0.25), rgba(255,255,255,0.06)); border: 1px solid rgba(214,164,95,0.45); box-shadow: 0 10px 30px rgba(214,164,95,0.22); }

/* Partners Marquee */
.partners { padding: 40px 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; animation: marquee 18s linear infinite; color: var(--gold-300); font-weight: 700; letter-spacing: .04em; }
.marquee-track span { opacity: .9; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; padding: 60px 20px; }
.stat { text-align: center; background: var(--glass); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 22px; }
.stat-value { font-family: 'Orbitron', monospace; font-size: 2.2rem; color: var(--gold-300); text-shadow: 0 0 18px rgba(214,164,95,0.3); }
.stat-label { color: var(--text-300); margin-top: 6px; }

/* Testimonials */
.testimonials { padding: 100px 20px; }
.testimonial-carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; }
.t-card { padding: 22px; background: var(--glass); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; box-shadow: var(--shadow); }
.t-card { content-visibility: auto; contain-intrinsic-size: 240px 200px; }
.t-card h4 { color: var(--gold-300); margin-top: 10px; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(214,164,95,0.55); background: linear-gradient(135deg, rgba(214,164,95,0.25), rgba(255,255,255,0.06)); color: var(--gold-300); box-shadow: 0 10px 30px rgba(214,164,95,0.22); display: grid; place-items: center; font-size: 1.1rem; cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; z-index: 120; }
.to-top.show { opacity: 1; transform: translateY(0); }

.glass-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.glass-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold-300);
}

.glass-card p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Carousel Sections */
#coffee-shops, #restaurants {
    padding: 100px 20px;
    text-align: center;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    flex: 1;
}

.carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.arrow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--gold-300);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    height: 50px;
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.carousel-item {
    min-width: 300px;
    max-width: 300px;
    padding: 0;
    text-align: left;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(214,164,95,0.28);
    content-visibility: auto;
    contain-intrinsic-size: 300px 340px;
}

.carousel-item:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 15px 40px rgba(214,164,95,0.2);
}

/* Gradient highlight frame */
.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(600px 120px at -10% -10%, rgba(214,164,95,0.25), transparent 50%),
                radial-gradient(400px 120px at 110% 110%, rgba(214,164,95,0.2), transparent 55%);
    opacity: .35;
    transition: opacity .3s ease;
}

.carousel-item:hover::after { opacity: .55; }

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin: 0;
}

.carousel-item h3 {
    font-size: 1.5rem;
    margin: 14px 16px 6px;
    color: var(--gold-300);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.carousel-item p {
    color: var(--text-300);
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.55;
    margin: 0 16px 16px;
}

/* Subtle badge using data attributes set by JS */
.carousel-item::before {
    content: attr(data-card-type);
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #1c1c1c;
    background: linear-gradient(140deg, rgba(214,164,95,0.9), rgba(214,164,95,0.65));
    border: 1px solid rgba(214,164,95,0.95);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(214,164,95,0.35);
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(214,164,95,0.25), rgba(255,255,255,0.06));
    border: 1px solid rgba(214,164,95,0.45);
    color: var(--gold-300);
    box-shadow: 0 10px 30px rgba(214,164,95,0.22);
    transition: transform 0.3s, box-shadow .3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 18px 42px rgba(214,164,95,0.35);
}

.admin-btn {
    bottom: 110px;
    background: linear-gradient(135deg, rgba(214,164,95,0.25), rgba(255,255,255,0.06));
}

.admin-btn:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    padding: 20px;
    /* Center modal content */
    align-items: center;
    justify-content: center;
}

/* When modal is shown, use flexbox for centering */
.modal[style*="block"] {
    display: flex !important;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 80%;
    max-width: 500px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Contact Modal Enhanced */
.contact-modal {
    padding: 28px;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    margin-bottom: 18px;
}

.contact-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: linear-gradient(135deg, rgba(0,212,255,0.35), rgba(9,9,121,0.35));
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    box-shadow: 0 6px 22px rgba(0, 212, 255, 0.25);
    overflow: hidden;
}

.contact-avatar img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: auto;
}

.contact-titles h3 {
    margin: 0;
    color: #00d4ff;
    font-size: 1.4rem;
}

.contact-titles p {
    margin-top: 4px;
    color: #cccccc;
    font-size: 0.95rem;
}

.contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-action:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 212, 255, 0.25);
}

.contact-action.primary {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.3), rgba(9, 9, 121, 0.3));
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
}

.contact-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0 10px;
    position: relative;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.contact-divider span {
    margin: 0 10px;
    color: #aaaaaa;
    font-size: 0.85rem;
}

.contact-info {
    display: grid;
    gap: 10px;
    text-align: left;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.info-label {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.info-value {
    color: #ffffff;
    font-weight: 600;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

/* Admin Modal Styles */
.admin-modal {
    max-width: 500px;
}

.admin-dashboard-content {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-300);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #aaaaaa;
    font-size: 0.85rem;
}

.form-hint {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #aaaaaa;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, rgba(214,164,95,0.30), rgba(214,164,95,0.18));
    border: 1px solid rgba(214,164,95,0.55);
    color: #1c1c1c;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(45deg, rgba(214,164,95,0.45), rgba(214,164,95,0.27));
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(214,164,95,0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    flex: 1;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #aaaaaa;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #00d4ff;
}

.tab-btn.active {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.btn-add {
    background: linear-gradient(45deg, rgba(214,164,95,0.20), rgba(214,164,95,0.10));
    border: 1px solid rgba(214,164,95,0.55);
    color: var(--gold-300);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: linear-gradient(45deg, rgba(214,164,95,0.35), rgba(214,164,95,0.18));
    transform: translateY(-2px);
}

.cards-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.admin-card-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.admin-card-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.admin-card-item h4 {
    color: #00d4ff;
    margin-bottom: 5px;
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-card-item p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.4;
    flex: 1;
}

.admin-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-edit,
.btn-delete {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-edit {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn-edit:hover {
    background: rgba(0, 212, 255, 0.3);
}

.btn-delete {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.btn-delete:hover {
    background: rgba(255, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .admin-tabs { flex-wrap: wrap; }
    .admin-dashboard-content { max-width: 95%; max-height: 95vh; }
    .nav-toggle { display: inline-flex; }
    .nav-links { display: none; }
    .nav { gap: 10px; }
    .modal {
        padding: 20px;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        width: 95%;
        max-width: none;
        margin: 0;
    }

    .admin-dashboard-content {
        max-width: 95%;
        padding: 15px;
        margin: 0;
    }
    
    .cards-list {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .contact-actions {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    padding: 50px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
}

/* Particles Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-300), rgba(214,164,95,0.15));
    box-shadow: 0 0 12px rgba(214,164,95,0.35);
    animation: floaty 6s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes floaty {
    0%, 100% { transform: translate3d(0, -6px, 0); opacity: .8; }
    50% { transform: translate3d(0, 6px, 0); opacity: 1; }
}

/* Stars Background */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}


#bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
}

/* View All Button */
.view-all-btn {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(9, 9, 121, 0.2));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 25px;
    color: #00d4ff;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.3), rgba(9, 9, 121, 0.3));
}

/* Grid View */
.grid-view {
    display: none;
    width: 100%;
    padding: 20px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-container .carousel-item {
    min-width: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-container .carousel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(214,164,95,0.28);
}

.grid-container .carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin: 0;
}

.grid-container .carousel-item h3 {
    font-size: 1.5rem;
    margin: 14px 16px 6px;
    color: var(--gold-300);
}

.grid-container .carousel-item p {
    color: var(--text-300);
    margin: 0 16px 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.55;
}
a{
    text-decoration: none;
    color:white
}
a:hover{
    text-decoration: underline;
    color:white
}

/* Card Details Modal */
.card-details-modal {
    max-width: 880px;
    padding: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(214,164,95,0.25);
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.card-details-modal::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: conic-gradient(from 0deg, rgba(214,164,95,0.0), rgba(214,164,95,0.45), rgba(214,164,95,0.0) 25%);
    filter: blur(18px) saturate(160%);
    pointer-events: none;
    animation: spinBorder 8s linear infinite;
}

@keyframes spinBorder {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.card-details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.card-details-image {
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    position: relative;
    perspective: 800px;
}

.card-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0) scale(1.03);
    transition: transform .6s ease;
    will-change: transform;
}

.card-details-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 80% 10%, rgba(255,255,255,0.12), transparent 60%),
                linear-gradient(180deg, rgba(214,164,95,0.18), transparent 50%);
    pointer-events: none;
}

.card-details-info {
    padding: 0 28px 28px;
}

.card-details-info h2 {
    color: var(--gold-300);
    font-size: 2.2rem;
    margin: 18px 0 12px;
    text-align: center;
    text-shadow: 0 0 16px rgba(214,164,95,0.25);
}

.card-details-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    color: #aaaaaa;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-value {
    color: var(--gold-300);
    font-size: 1.1rem;
    font-weight: bold;
}

.card-details-description {
    margin-bottom: 20px;
}

.card-details-description h3 {
    color: var(--gold-300);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-details-description p {
    color: var(--text-300);
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.card-details-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-details-actions .contact-action {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

/* Larger, more luxurious CTA look inside modal */
.card-details-actions .contact-action.primary {
    background: linear-gradient(140deg, rgba(214,164,95,0.35), rgba(214,164,95,0.18));
    border: 1px solid rgba(214,164,95,0.55);
    color: #1c1c1c;
}
.card-details-actions .contact-action { padding: 14px 20px; border-radius: 12px; }

@media (max-width: 768px) {
    .card-details-modal {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .card-details-image {
        height: 220px;
    }
    
    .card-details-info {
        padding: 0 20px 20px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    
    .card-details-info h2 {
        font-size: 1.5rem;
    }
    
    .card-details-meta {
        grid-template-columns: 1fr;
    }
    
    .card-details-actions {
        flex-direction: column;
    }
}
/* Responsiveness */
@media (max-width: 768px) {
    .site-name {
        font-size: 3rem;
    }
    .tagline {
        font-size: 1.2rem;
    }
    .glass-card {
        padding: 20px;
    }
    .carousel-item {
        min-width: 250px;
    }
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    .grid-container .carousel-item img {
        height: 180px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .view-all-btn {
        align-self: flex-end;
    }
}
