/* Premium & Vibrant Design System for FR. TENDA DECORATION */

:root {
    --primary-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-color: #4f46e5;
    --hover-bg: #f1f5f9;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f1f5f9;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.nav-btn {
    padding: 0.6rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #ffffff;
    color: var(--text-primary);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Main Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    margin-bottom: 3rem;
    color: #ffffff;
}

.hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero hr {
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border: none;
    margin: 1.5rem auto;
    border-radius: 2px;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 400;
}

.hero-logo-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 4s ease-in-out infinite;
}

.hero-logo-wrapper::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: rotate 15s linear infinite;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-logo-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
    background: #ffffff;
}

.hero-logo-wrapper:hover .hero-logo {
    transform: scale(1.1);
}

/* Grid Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 1px;
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.menu-item {
    background-color: var(--card-bg);
    padding: 3rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover {
    background-color: #ffffff;
    transform: scale(1.02);
    z-index: 5;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
    box-shadow: 0 8px 15px rgba(79, 70, 229, 0.2);
}

.menu-item:hover .icon-box {
    transform: rotate(10deg) scale(1.15);
    box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4);
}

.menu-label {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Login Card Specifics */
.login-card {
    background: var(--card-bg);
    width: 100% !important;
    max-width: 450px !important;
    margin: 0 auto;
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--accent-gradient);
}

.login-title {
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--text-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Notification Banner */
.notification {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.notification-link {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
}

/* Footer Links */
.login-footer {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.login-footer a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 { font-size: 1.8rem; }
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .login-card { padding: 2rem; }
}

/* Catalog Page Specific Styles */
.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 8rem 1.5rem; /* bottom padding for sticky button */
    color: #ffffff;
}

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

.catalog-title h2 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.catalog-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
}

.section-header h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #cbd5e1;
}

/* Date Availability Section */
.date-check-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-input-group {
    display: flex;
    gap: 0.5rem;
    flex-grow: 1;
}

.date-input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    flex-grow: 1;
}

.btn-calendar {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.btn-check {
    background: #000000;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-check:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Package Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.package-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--accent-color);
}

.package-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px dashed var(--border-color);
}

.package-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.package-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    min-height: 4.5em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-detail {
    background: #000000;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80%;
}

.btn-detail:hover {
    background: var(--accent-color);
}

.badge-populer {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #000000;
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Item Table */
.table-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.catalog-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.catalog-table th {
    background: #1e293b;
    color: white;
    text-align: left;
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.catalog-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.catalog-table tr:last-child td {
    border-bottom: none;
}

.catalog-table tr:nth-child(even) {
    background: #f8fafc;
}

.catalog-table tr:hover {
    background: #f1f5f9;
}

.btn-pilih {
    background: white;
    border: 1.5px solid #000000;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.btn-pilih:hover {
    background: #000000;
    color: white;
}

.btn-pilih.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Sticky Footer */
.catalog-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.btn-order {
    background: #000000;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 4rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

.btn-order:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}
