/* ==========================================
   Golden Brew Resort - Main Stylesheet
   ========================================== */

:root {
    --primary-gold: #C9A961;
    --dark-gold: #8B7030;
    --light-gold: #D4B896;
    --cream: #F5E6D3;
    --light-cream: #FFFBF7;
    --bg-light: #f8f6f1;
    --text-dark: #333;
    --text-medium: #555;
    --text-light: #666;
    --text-muted: #999;
    --border-light: #ddd;
    --border-lighter: #e5e5e5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

a {
    color: var(--dark-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-gold);
}

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background: var(--dark-gold);
    padding: 8px 0;
    color: white;
    font-size: 13px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.7);
}

.top-bar a:hover {
    color: white;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-gold);
}

.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px !important;
    color: var(--text-dark) !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-gold) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary-gold);
}

/* ==========================================
   Buttons - IMPROVED SMOOTH ANIMATIONS
   ========================================== */

/* Primary Button (Gold Gradient) */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    background-size: 100% 100%;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    
    /* Smooth transitions ONLY for these specific properties */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                opacity 0.3s ease;
    
    /* No shadow by default */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary-custom:hover {
    /* Subtle lift effect */
    transform: translateY(-3px);
    color: white;

    
    /* Enhanced shadow on hover */
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.4);
    
    /* Optional: slight brightness increase */
    opacity: 0.95;
}

.btn-primary-custom:active {
    /* Press effect */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

/* Outline Button (Gold Border) */
.btn-outline-custom {
    background: white;
    border: 2px solid var(--primary-gold);
    color: var(--dark-gold);
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    
    /* Smooth transitions for specific properties */
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-custom:hover {
    background-color: var(--primary-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.btn-outline-custom:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   BUTTON SIZE VARIANTS
   ========================================== */

.btn-sm {
    padding: 6px 15px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
}

/* ==========================================
   BUTTON STATE VARIANTS
   ========================================== */

/* Disabled state */
.btn-primary-custom:disabled,
.btn-outline-custom:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Loading state (optional) */
.btn-primary-custom.loading,
.btn-outline-custom.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* ==========================================
   ALTERNATIVE BUTTON STYLES (Optional)
   ========================================== */

/* Gradient variant with more pronounced effect */
.btn-primary-custom.premium {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.25);
}

.btn-primary-custom.premium:hover {
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.5);
    transform: translateY(-4px);
}

/* Minimal style button */
.btn-minimal {
    background: none;
    border: none;
    color: var(--dark-gold);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.btn-minimal:hover {
    color: var(--primary-gold);
}

.btn-minimal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.btn-minimal:hover::after {
    width: 100%;
}

/* ==========================================
   BUTTON GROUPS
   ========================================== */

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-group.vertical {
    flex-direction: column;
}

.btn-group.stacked {
    flex-direction: column;
    gap: 8px;
}

.btn-group.centered {
    justify-content: center;
}

.btn-group.spaced {
    gap: 20px;
}

/* ==========================================
   BUTTON WITH ICON ANIMATIONS
   ========================================== */

.btn-primary-custom i,
.btn-outline-custom i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary-custom:hover i,
.btn-outline-custom:hover i {
    transform: scale(1.1) rotate(2deg);
}

/* Right arrow animation */
.btn-primary-custom i.arrow-right,
.btn-outline-custom i.arrow-right {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary-custom:hover i.arrow-right,
.btn-outline-custom:hover i.arrow-right {
    transform: translateX(4px);
}

/* ==========================================
   RESPONSIVE BUTTON STYLES
   ========================================== */

@media (max-width: 768px) {
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .btn-group {
        flex-direction: column;
    }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 54, 32, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--primary-gold);
}

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

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-section { height: 60vh; }
}

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* ==========================================
   Section Title
   ========================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto 20px;
}

/* ==========================================
   Cards
   ========================================== */
.feature-card {
    background: var(--light-cream);
    border: 0.5px solid var(--cream);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.room-card {
    background: white;
    border: 0.5px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.room-card-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--primary-gold) 100%);
    position: relative;
}

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

.room-card:hover .room-card-image img {
    transform: scale(1.05);
}

.room-card-body {
    padding: 25px;
}

.room-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.room-card-price {
    color: var(--dark-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================
   Booking Sidebar
   ========================================== */
.booking-sidebar {
    background: var(--light-cream);
    border: 0.5px solid var(--cream);
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.booking-price {
    font-size: 1.75rem;
    color: var(--dark-gold);
    font-weight: 600;
}

.booking-price small {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: normal;
}

/* ==========================================
   Forms
   ========================================== */
.form-control,
.form-select {
    padding: 10px 15px;
    border: 0.5px solid var(--border-light);
    border-radius: 6px;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* ==========================================
   Offer Cards
   ========================================== */
.offer-card {
    border: 0.5px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: white;
}

.offer-card.featured {
    border: 2px solid var(--primary-gold);
}

.offer-header {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-discount {
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    min-width: 100px;
}

.offer-discount .number {
    font-size: 2rem;
    font-weight: 600;
}

.offer-body {
    padding: 25px 30px;
}

/* ==========================================
   Activity Cards
   ========================================== */
.activity-card {
    background: white;
    border: 0.5px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.activity-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.activity-tag {
    background: var(--light-cream);
    color: var(--dark-gold);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* ==========================================
   Reviews
   ========================================== */
.review-card {
    background: #fafaf8;
    border: 0.5px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.review-rating {
    color: var(--primary-gold);
}

.review-tag {
    background: #fee8c7;
    color: var(--dark-gold);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    display: inline-block;
    margin-right: 5px;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-item {
    border: 0.5px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: var(--light-cream);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--cream);
}

.faq-answer {
    padding: 20px;
    border-top: 0.5px solid var(--border-light);
    background: white;
}

.faq-category-title {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin: 30px 0 20px;
}

/* ==========================================
   Gallery
   ========================================== */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--light-gold);
    aspect-ratio: 1;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    padding: 20px;
    color: white;
}

.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.gallery-filter {
    background: white;
    border: 0.5px solid var(--border-light);
    color: var(--dark-gold);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.gallery-filter.active,
.gallery-filter:hover {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

/* ==========================================
   Footer
   ========================================== */
.main-footer {
    background: white;
    border-top: 1px solid var(--border-lighter);
    margin-top: 80px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-gold);
    margin-top: 3px;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--light-cream);
    color: var(--dark-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #f8f8f8;
    padding: 20px 0;
    border-top: 1px solid var(--border-lighter);
}

.newsletter-form .form-control {
    border-right: none;
}

/* ==========================================
   Back to Top
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-gold);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
}

/* ==========================================
   Login Page
   ========================================== */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
    display: flex;
    align-items: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo h1 {
    font-size: 1.8rem;
    color: var(--dark-gold);
    margin-bottom: 5px;
}

.login-logo p {
    color: var(--text-light);
    font-size: 13px;
}

/* ==========================================
   Admin Panel Styles
   ========================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
}

.admin-sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid var(--border-lighter);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-lighter);
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: white;
}

.admin-sidebar-header h2 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

.admin-sidebar-header p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.admin-nav {
    padding: 15px 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-medium);
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    background: var(--light-cream);
    color: var(--dark-gold);
}

.admin-nav a.active {
    background: var(--light-cream);
    color: var(--dark-gold);
    border-left-color: var(--primary-gold);
    font-weight: 500;
}

.admin-nav a i {
    font-size: 18px;
    width: 22px;
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    padding: 0;
}

.admin-topbar {
    background: white;
    padding: 15px 30px;
    border-bottom: 1px solid var(--border-lighter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
}

.admin-topbar h1 {
    font-size: 1.4rem;
    margin: 0;
    font-family: var(--font-body);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.admin-main {
    padding: 30px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border-lighter);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-card-title {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-card-value {
    font-size: 1.75rem;
    color: var(--dark-gold);
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.stat-card-trend {
    font-size: 12px;
    color: #28a745;
}

.stat-card-trend.down {
    color: #dc3545;
}

.admin-card {
    background: white;
    border: 1px solid var(--border-lighter);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-lighter);
}

.admin-card-title {
    font-size: 1.1rem;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    border-bottom: 2px solid var(--border-lighter);
}

.admin-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-lighter);
    font-size: 14px;
}

.admin-table tr:hover {
    background: #fafafa;
}

/* Mobile responsive admin */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
}

/* ==========================================
   Utilities
   ========================================== */
.text-gold { color: var(--primary-gold) !important; }
.text-dark-gold { color: var(--dark-gold) !important; }
.bg-gold { background-color: var(--primary-gold) !important; }
.bg-light-cream { background-color: var(--light-cream) !important; }

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
