/* public/css/style.css */
:root {
  --bg:      #ffffff;      /* White */
  --surface: #f7f8fa; /* Off-white */
  --fg:      #1a1d2d;  /* Near Black / Dark Navy */
  --muted:   #73778b;  /* Grey */
  --border:  #e2e4eb;  /* Light Border */
  --accent:  #fbbd05;   /* G-SELL Yellow */
  --secondary: #0f172a; /* G-SELL Blue/Navy */
  
  --accent-soft: rgba(251, 189, 5, 0.15);
  --blue-soft:   rgba(15, 23, 42, 0.15);
}

body {
    background-color: var(--surface); /* Use off-white for a cleaner look */
    background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('../images/bodhi_tree_bg.png'); /* Light overlay to make it visible but not too dark */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Inter', 'Sarabun', 'Kanit', sans-serif;
    color: var(--fg);
}

/* Redefine utility colors to match G-SELL */
.bg-gold-pattern {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--accent);
}

.text-success {
    color: var(--secondary) !important; /* Replaced green with Navy */
}

.text-primary {
    color: var(--secondary) !important;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.btn-danger, .btn-success, .btn-info {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--secondary) !important;
    font-weight: 800;
}

.btn-danger:hover, .btn-success:hover, .btn-info:hover {
    background-color: #e5ac04 !important;
    color: #000 !important;
}

/* Footer tweaks */
.main-footer {
    background-color: #0c0c0c !important; /* Very dark/black */
    border-top: 4px solid var(--accent) !important;
    color: white !important;
}
.text-warning {
    color: var(--accent) !important;
}
.text-light {
    color: #e2e4eb !important;
}

/* Row 2 Banners */
.banners-container {
    height: 70vh;
    overflow: hidden;
}

.banner-col {
    height: 100%;
    padding: 0;
    overflow: hidden;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-link {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none !important;
}

.banner-box {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--secondary);
}

.banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.7;
    filter: grayscale(20%);
}

.banner-box:hover img {
    transform: scale(1.15);
    opacity: 1;
    filter: grayscale(0%);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.85); /* Navy transparent */
    color: var(--accent); /* Yellow */
    padding: 10px 15px;
    text-align: center;
    transition: background 0.3s ease;
    border-top: 3px solid transparent;
}

.banner-box:hover .banner-overlay {
    background: var(--secondary);
    border-top: 3px solid var(--accent);
}

.banner-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banners-container {
        height: auto;
    }
    .banner-col {
        height: 250px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
}
