/* Reset & Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #e07b00; /* Gold for luxury feel */
    --txora-orange: #FF8C00; /* Vibrant Orange for logo/header */
    --secondary-color: #1a1a1a; /* Dark for contrast */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background: var(--white);
    color: var(--txora-orange);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 10000; /* Ensure header is always on top */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.topbar {
    display: none;
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 15px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    letter-spacing: 0.2px;
}

.topbar-item i {
    color: rgba(255, 140, 0, 0.95);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-right a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    transition: var(--transition);
}

.topbar-right a:hover {
    border-color: rgba(255, 140, 0, 0.55);
    background: rgba(255, 140, 0, 0.12);
    color: rgba(255, 255, 255, 0.98);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 45px;
    width: auto;
}

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

.nav-links a {
    color: var(--txora-orange);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-cta-item {
    display: none;
}

@media (min-width: 769px) {
    .topbar {
        display: block;
    }

    .header-cta-item {
        display: block;
    }

    .nav-links {
        align-items: center;
        gap: 1.6rem;
    }

    .nav-links a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.25rem 0;
        border-radius: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        font-family: 'Oswald', sans-serif;
        font-weight: 500;
        font-size: 0.9rem;
        letter-spacing: 0.9px;
        text-transform: uppercase;
        color: rgba(15, 23, 42, 0.82);
        transition: color 180ms ease;
    }

    .nav-links a::before {
        content: none;
    }

    .nav-links a::after {
        content: none;
    }

    .nav-links a:hover, .nav-links a.active {
        color: var(--txora-orange);
    }

    .nav-links a.header-cta-btn {
        padding: 0.6rem 1.55rem;
        border-radius: 999px;
        background: linear-gradient(135deg, #2bd27b, #12b76a);
        color: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.10);
        box-shadow: 0 14px 26px rgba(18, 183, 106, 0.25);
        font-family: 'Oswald', sans-serif;
        font-weight: 600;
        font-size: 0.8rem;
        letter-spacing: 0.8px;
        transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
    }

    .nav-links a.header-cta-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 30px rgba(18, 183, 106, 0.30);
        filter: brightness(1.02);
        color: #ffffff;
    }
}

/* Hide icons in desktop view */
.nav-links a i {
    display: none;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

/* Hero Section & Slider */
.hero, .hero-slider {
    min-height: 400px;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-slider .slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slide.active {
    opacity: 1;
}

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

.slider-btn:hover {
    background: var(--primary-color);
}

.slider-btn.prev { left: 2rem; }
.slider-btn.next { right: 2rem; }

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

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

.dot.active {
    background: var(--primary-color);
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
    z-index: 5;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    border-radius: 4px;
}

.btn:hover {
    background: #e07b00; /* Darker orange for hover */
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title span {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    background: #ddd; /* Placeholder */
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--white);
    color: var(--text-color);
    padding: 2rem 0 1rem;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p, .footer-col li, .footer-col a {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

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

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

.social-links a {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Styles */
.admin-login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light-bg);
}

.admin-login-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1.5rem;
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: var(--primary-color);
    color: var(--white);
}

.sidebar-menu i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    padding: 2rem;
    background: var(--light-bg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f8f8;
    font-weight: 600;
}

.action-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.edit-btn {
    background: #e0e0e0;
    color: #333;
}

.delete-btn {
    background: #ffcccc;
    color: #cc0000;
}
