@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --bg-light: #151518;
    --gold-primary: #d4af37;
    --gold-light: #f5eaaf;
    --gold-dark: #aa7c11;
    --gold-gradient: linear-gradient(135deg, #fff2c4 0%, #e6ca65 30%, #d4af37 65%, #aa7c11 100%);
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --card-bg: #18181b;
    --card-border: rgba(212, 175, 55, 0.2);
    --input-bg: #222226;
    --nav-bg: rgba(10, 10, 12, 0.45);
    --logo-height: 85px;
    --logo-offset-y: 0px;
    --header-offset-y: 0px;
}

body.light-theme, html[data-theme="light"] body {
    --bg-dark: #f4f5f8;
    --bg-light: #ffffff;
    --text-light: #1a1d20;
    --text-muted: #525b65;
    --card-bg: #ffffff;
    --card-border: rgba(212, 175, 55, 0.35);
    --input-bg: #f0f2f5;
    --nav-bg: rgba(244, 245, 248, 0.55);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 5%;
    min-height: calc(var(--logo-height, 85px) + 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transform: translateY(var(--header-offset-y, 0px));
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.theme-toggle-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-left: 1rem;
}

.theme-toggle-btn:hover {
    background: var(--gold-primary);
    color: #000;
    transform: scale(1.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 0;
}

.nav-logo {
    height: var(--logo-height, 85px);
    max-height: none !important;
    width: auto;
    object-fit: contain;
    margin: 0;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transform: translateY(var(--logo-offset-y, 0px));
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: relative;
}

.nav-logo:hover {
    filter: drop-shadow(0 6px 16px rgba(212, 175, 55, 0.4));
    transition: filter 0.2s ease;
}

.logo-text h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    outline: none;
}

.nav-links li a:focus,
.nav-links li a:active {
    outline: none;
    box-shadow: none;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--gold-light);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--gold-primary);
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--logo-height, 85px) + (var(--header-padding, 12px) * 2) + 45px);
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.6) 100%);
}

.hero-content {
    max-width: 60%;
    z-index: 2;
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.45rem 1.3rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 80%;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Features */
.features {
    padding: 5rem 5%;
    background-color: var(--bg-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.feature-card {
    padding: 2rem;
    background: rgba(10, 10, 12, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Categories */
.categories {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 1.5rem;
    border-radius: 15px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
}

.cat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: var(--transition);
}

.category-item:hover .cat-icon {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.category-item span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery & Subpages Section Header Clearance */
.gallery-preview,
.contact-page {
    padding: 140px 5% 5rem;
    background-color: var(--bg-dark);
    min-height: calc(100vh - 200px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

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

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

.gallery-overlay h3 {
    color: var(--gold-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    padding: 0 1rem;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
    opacity: 0;
}

.category-badge {
    background: var(--gold-primary);
    color: var(--bg-dark);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p,
.gallery-item:hover .category-badge {
    transform: translateY(0);
    opacity: 1;
}

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

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.navbar {
    backdrop-filter: blur(2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
}

.admin-login-icon {
    position: absolute;
    right: 5%;
    top: 2rem;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    transition: var(--transition);
}

.admin-login-icon:hover {
    color: var(--gold-primary);
}

/* Admin Panel Styles */
.admin-container {
    padding: 160px 5% 5rem;
    min-height: calc(100vh - 200px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
}

/* Admin Tabs Navigation */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.admin-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-tab-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.admin-tab-btn.active {
    background: var(--gold-primary);
    color: var(--bg-dark);
    border-color: var(--gold-primary);
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content.active {
    display: block;
}

/* Sub-Tabs Navigation Styles */
.sub-tabs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    flex-wrap: wrap;
}

.sub-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sub-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.sub-tab-btn.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    font-weight: 600;
}

.sub-tab-content {
    display: none;
    animation: fadeIn 0.25s ease-out;
}

.sub-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.settings-card {
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.settings-card h3 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Dashboard Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(18, 18, 20, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.stat-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.stat-info .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

/* Quick Action Cards */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.action-card:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold-primary);
}

.action-card i {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 0.8rem;
}

.action-card h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.action-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.upload-area {
    border: 2px dashed rgba(212, 175, 55, 0.5);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    background: rgba(10, 10, 12, 0.5);
    margin-bottom: 3rem;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.admin-panel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-left-col, .admin-right-col {
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.admin-left-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.admin-left-col .upload-area {
    margin-bottom: 0;
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Chrome, Firefox, Opera, Safari 10.1+ */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select.form-control option {
    background: #1a1a1d;
    color: var(--text-light);
    padding: 10px;
}

.selected-image-preview {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    border: 2px dashed rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.admin-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.9);
    padding: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-item-info h4 {
    color: var(--gold-primary);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.admin-item-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-item-info .badge {
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.admin-item-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 15;
}

.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    z-index: 10;
}

.delete-btn:hover {
    background: rgb(220, 53, 69);
    transform: scale(1.1);
}

.admin-item-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    border: none;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.admin-item-btn.edit-btn {
    background: rgba(212, 175, 55, 0.9);
    color: #111111;
}

.admin-item-btn.edit-btn:hover {
    background: #d4af37;
    transform: scale(1.1);
}

.admin-item-btn.delete-btn {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.admin-item-btn.delete-btn:hover {
    background: rgb(220, 53, 69);
    transform: scale(1.1);
}

/* Admin Form Modal/Section */
.admin-form-section {
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: none; /* Hidden by default */
}

.admin-form-section.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.selected-image-preview {
    max-width: 200px;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Contact Page Styles */
.contact-page {
    padding: 160px 5% 5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: rgba(10, 10, 12, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.contact-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
    color: var(--text-light);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

a.contact-card-link {
    text-decoration: none;
    display: block;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-container {
    background: rgba(10, 10, 12, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
}

.contact-map {
    height: 100%;
    min-height: 380px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--gold-primary);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    text-align: center;
    animation: zoomIn 0.3s ease;
}



/* Mobile Menu Overlay & Body Scroll Lock */
body.no-scroll {
    overflow: hidden !important;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 992px) {
    .admin-panel-layout {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-bg {
        width: 100%;
        border-radius: 0;
        border-left: none;
        opacity: 0.3;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-desc {
        max-width: 100%;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .contact-map {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        height: 120px;
        margin: -10px 0;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 1.5rem 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        
        /* Smooth GPU-accelerated transition */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-15px);
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                    visibility 0.3s ease;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-links li {
        margin: 0.75rem 0;
    }
    .nav-links li a {
        display: inline-block;
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        width: 100%;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        z-index: 1001;
        transition: transform 0.2s ease, color 0.2s ease;
    }
    .mobile-menu-btn:active {
        transform: scale(0.92);
    }
    .mobile-menu-btn i {
        transition: transform 0.3s ease;
    }
    .mobile-menu-btn.active i {
        transform: rotate(90deg);
    }
    .contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-info-vertical {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .contact-map {
        width: 100%;
    }
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    object-fit: contain;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--gold-primary);
    transform: scale(1.15);
}

.lightbox-caption {
    margin-top: 15px;
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

/* Light Theme Specific Component Overrides */
body.light-theme .feature-card,
body.light-theme .settings-card,
body.light-theme .contact-card,
body.light-theme .stat-card,
body.light-theme .action-card {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    color: var(--text-light);
}

body.light-theme .feature-card:hover,
body.light-theme .action-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body.light-theme .form-control {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-theme .form-control:focus {
    border-color: var(--gold-primary);
    background: #ffffff;
}

body.light-theme .sub-tab-btn {
    background: #e2e8f0;
    color: #475569;
}

body.light-theme .sub-tab-btn.active {
    background: var(--gold-primary);
    color: #000000;
}

body.light-theme .admin-tab-btn {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

body.light-theme .admin-tab-btn.active {
    background: var(--gold-primary);
    color: #000000;
}

body.light-theme .hero-bg::after {
    background: linear-gradient(to right, rgba(244, 245, 248, 0.88) 0%, rgba(244, 245, 248, 0.45) 50%, rgba(244, 245, 248, 0.1) 100%);
}

body.light-theme .hero-subtitle {
    color: #ffffff;
    background: #854d0e;
    border: none;
    font-weight: 700;
    letter-spacing: 2.5px;
    box-shadow: 0 4px 12px rgba(133, 77, 14, 0.2);
}

body.light-theme .hero-title {
    color: #0f172a;
    text-shadow: none;
}

body.light-theme .text-gold {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #854d0e !important;
    color: #854d0e !important;
    filter: none !important;
    text-shadow: none !important;
    font-weight: 800;
}

body.light-theme .hero-desc {
    color: #334155;
    text-shadow: none;
    font-weight: 500;
}

body.light-theme .hero .btn-outline {
    border-color: #854d0e;
    color: #854d0e;
    background: rgba(133, 77, 14, 0.08);
}

body.light-theme .hero .btn-outline:hover {
    background: #854d0e;
    color: #ffffff;
}

/* Social Quick Action Buttons & Instagram Integration */
.instagram-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.instagram-nav-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
    color: #ffffff !important;
}

.social-quick-buttons {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    z-index: 99999 !important;
}

.whatsapp-float, .instagram-float {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    top: auto !important;
    left: auto !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.7rem !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
}

.whatsapp-float {
    background: #25d366 !important;
}

.instagram-float {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

.whatsapp-float:hover, .instagram-float:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
}

.highlight-card {
    border: 1px solid rgba(220, 39, 67, 0.4) !important;
    background: linear-gradient(135deg, rgba(220, 39, 67, 0.08) 0%, rgba(188, 24, 136, 0.04) 100%) !important;
}

.highlight-card .contact-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border: none;
}

.card-subtext {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}



