/* Premium/Luxury Theme for Bertip */

:root {
    --gold: #D4AF37;
    --navy: #101744;
    --navy-dark: #080c24;
    --ivory: #FFFFF0;
    --text-dark: #101744;
    --text-light: #E0E0E0;
}

body {
    font-family: 'Sarabun', 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #F9F9F9;
    /* Softer white for premium feel */
}

/* Typography Upgrades */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Premium Hero Section */
.hero-premium {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--ivory);
    padding: 100px 0 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    /* Taller hero */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gold accent lines or glow */
.hero-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(16, 23, 68, 0.8) 90%);
    pointer-events: none;
}

.hero-title {
    color: var(--gold);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 60px;
    color: var(--text-light);
    opacity: 0.9;
}

/* Luxury Search Box Container */
.search-container {
    background: rgba(255, 255, 240, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

/* Input Fields overrides for Form */
.search-container .form-control.digit {
    background: var(--ivory) !important;
    border: 2px solid var(--gold) !important;
    color: var(--navy) !important;
    font-weight: bold;
    font-size: 1.4rem !important;
    text-shadow: none;
    transition: all 0.3s ease;
}

.search-container .form-control.digit:focus {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6) !important;
    transform: scale(1.05);
}

/* Buttons */
.btn-luxury {
    background: linear-gradient(45deg, var(--gold), #EFD680, var(--gold));
    background-size: 200% auto;
    color: var(--navy);
    font-weight: 800;
    padding: 14px 40px;
    border-radius: 50px;
    /* Pillow shape */
    border: none;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    cursor: pointer;
}

.btn-luxury:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
}

/* Premium Card (Categories/Numbers) */
.premium-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(16, 23, 68, 0.15);
    border-color: var(--gold);
}

.premium-card .icon-box {
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.premium-card h5 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0;
}

/* Number Card Specifics */
.number-card-luxury {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    border-top: 4px solid var(--navy);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.number-card-luxury:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-top-color: var(--gold);
}

.number-card-luxury .sum-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--navy);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.number-card-luxury .number-display {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 20px 0 10px;
    letter-spacing: 1px;
}

.number-card-luxury .price {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
}

/* Section Styling */
.section-premium {
    padding: 100px 0;
}

.section-title-premium {
    color: var(--navy);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title-premium::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section Enhancements */
.about-premium {
    background: #fff;
    position: relative;
}

.about-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    /* Fallback/Optional */
    opacity: 0.05;
    pointer-events: none;
}

/* Enhanced Category Section */
.premium-category-box {
    background: #fff;
    border-radius: 15px;
    padding: 20px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    height: 100%;
}

.premium-category-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    background: linear-gradient(180deg, #fff 0%, #fffbf0 100%);
}

.premium-category-box .icon-box {
    background: var(--navy);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid var(--gold);
}

.premium-category-box .icon-box i {
    color: #fff;
    font-size: 1.5rem;
}

/* Enhanced About Section */
.premium-about-text {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--gold);
}

/* Footer override (if needed) */
footer.footer_section {
    background: var(--navy-dark) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* Navbar Premium Overrides */
.navbar-brand span {
    color: var(--gold) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
    color: var(--ivory) !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link,
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
    color: var(--gold) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Redesigned About Us Section */
.about-image-wrapper {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.about-img-gold-border {
    border: 3px solid var(--gold);
    padding: 5px;
    background: #fff;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: -10px;
    background: #fff;
    color: var(--navy);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--gold);
    text-align: center;
}

.bg-white-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.gold-text-heading {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

.text-navy {
    color: var(--navy);
}

.text-gold-gradient {
    background: linear-gradient(45deg, var(--navy), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.about-benefits-list i {
    font-size: 1.2rem;
}

.text-gold {
    color: var(--gold) !important;
}

.header_section {
    background-color: var(--navy) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Simple Luxury Number Card */
.number-card-luxury-simple {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.number-card-luxury-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
}

.number-display-simple {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: 'Sarabun', sans-serif;
}

.network-badge-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.9rem;
}

.network-badge-simple img {
    height: 20px;
    opacity: 0.8;
}

.price-simple {
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.action-buttons-simple {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-predict {
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-predict:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-book {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.btn-book:hover {
    background: #b5952f;
    color: #fff;
    transform: translateY(-2px);
}

.btn-sold {
    background: #eee;
    color: #999;
    border: none;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: not-allowed;
}

.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    transition: all 0.3s;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}
/* Sticky Footer Fix */
body { min-height: 100vh; display: flex; flex-direction: column; }
footer, .footer_section { margin-top: auto; }

/* Sticky Footer Fix for Info Section */
.info_section { margin-top: auto; }
