/* custom.css - Gavel & Guide Premium Custom Styles */

/* CSS Variables */
:root {
    --bg-dark: #0A0A0A;
    --bg-card: #121212;
    --bg-card-hover: #1A1A1A;
    --rose-gold: #c59b84;
    --rose-gold-gradient: linear-gradient(135deg, #d4a790 0%, #a67c66 100%);
    --rose-gold-hover: #d3ad99;
    --border-dark: #222222;
    --border-gold: #41352E;
    --text-primary: #FFFFFF;
    --text-muted: #CCCCCC;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Reset & Styling */
body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Selection Color */
::selection {
    background-color: var(--rose-gold);
    color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--rose-gold);
}

/* Navigation Styles */
.navbar-custom {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 12px 0;
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar-custom .nav-link {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--rose-gold);
}

/* Dropdown Menu styling */
.dropdown-menu-custom {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown-menu-custom .dropdown-item {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.dropdown-menu-custom .dropdown-item:hover {
    background-color: var(--bg-card-hover);
    color: var(--rose-gold);
}

/* Logo Brand Header (Central branding) */
.brand-header {
    background-color: var(--bg-dark);
    padding: 30px 0;
}

.brand-header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.brand-header-logo:hover {
    text-decoration: none;
}

.brand-header-title {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 4px;
    margin-top: 10px;
    margin-bottom: 2px;
    text-transform: uppercase;
    text-align: center;
}

.brand-header-subtitle {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 400;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
    background-image: url('../img/hero_bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,10,10,0.72) 0%,
        rgba(10,10,10,0.55) 50%,
        rgba(10,10,10,0.90) 100%);
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.25;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: var(--text-primary);
}

/* Make it fit nicely like the image structure */
.hero-title .accent-text {
    color: var(--rose-gold);
    display: block;
    font-weight: 700;
}

.hero-subtitle {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Premium Buttons */
.btn-rose-gold {
    background-color: var(--rose-gold);
    color: #0A0A0A !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1px solid var(--rose-gold);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 155, 132, 0.15);
}

.btn-rose-gold:hover {
    background-color: var(--rose-gold-hover);
    border-color: var(--rose-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 155, 132, 0.3);
}

.btn-outline-rose-gold {
    background-color: transparent;
    color: var(--rose-gold) !important;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 4px;
    border: 1px solid var(--rose-gold);
    transition: all 0.3s ease;
}

.btn-outline-rose-gold:hover {
    background-color: rgba(197, 155, 132, 0.08);
    transform: translateY(-1px);
}

/* Sections */
.section-title-container {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-primary);
    display: inline-block;
}

/* Service Cards */
.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    border-color: var(--rose-gold);
    background-color: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(197, 155, 132, 0.05);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--rose-gold);
}

.service-card-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.service-card-text {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Why Us Section */
.why-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    position: relative;
    background-image: url('../img/why_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.82);
    z-index: 0;
}

.why-section > * {
    position: relative;
    z-index: 1;
}

.why-col-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--rose-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.why-col-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Footer Section */
.footer-section {
    background-color: var(--bg-dark);
    padding: 60px 0 20px 0;
}

.footer-contact-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer-contact-info li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-contact-info li i {
    color: var(--rose-gold);
    margin-right: 10px;
    font-size: 1rem;
}

.footer-contact-info li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-info li a:hover {
    color: var(--rose-gold);
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.footer-logo-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.25rem;
    letter-spacing: 3px;
    margin-top: 10px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.footer-logo-subtitle {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.copyright-container {
    border-top: 1px solid var(--border-dark);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.copyright-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

/* Pages Styling (Standard elements for contact, services etc) */
.page-header {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-dark);
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,10,10,0.75) 0%,
        rgba(10,10,10,0.92) 100%);
    z-index: 0;
}

.page-header > * {
    position: relative;
    z-index: 1;
}

/* Per-page header backgrounds */
.page-header--about    { background-image: url('../img/about_banner.png'); }
.page-header--services { background-image: url('../img/services_banner.png'); }
.page-header--contact  { background-image: url('../img/contact_banner.png'); }

/* CTA Section */
.cta-section {
    position: relative;
    padding: 80px 0;
    background-image: url('../img/cta_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(10,10,10,0.88) 0%,
        rgba(20,12,8,0.80) 100%);
    z-index: 0;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-breadcrumbs a {
    color: var(--rose-gold);
    text-decoration: none;
}

/* Card lists & details */
.detail-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
}

.detail-card-title {
    font-family: var(--font-heading);
    color: var(--rose-gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 15px;
}

/* Forms */
.form-custom .form-label {
    color: var(--rose-gold);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-custom .form-control,
.form-custom .form-select {
    background-color: #121212;
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-custom .form-control:focus,
.form-custom .form-select:focus {
    background-color: #181818;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 155, 132, 0.15);
    color: var(--text-primary);
}

.form-custom .form-control::placeholder {
    color: #555555;
}

/* Custom Accordion */
.accordion-custom .accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    margin-bottom: 15px;
    border-radius: 6px !important;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 20px 24px;
    border: none;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--bg-card-hover);
    color: var(--rose-gold);
}

.accordion-custom .accordion-button::after {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(330deg); /* Adjust arrow to gold */
}

.accordion-custom .accordion-body {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 24px;
}

/* Bullet list premium style */
.list-premium {
    list-style: none;
    padding-left: 0;
}

.list-premium li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.list-premium li::before {
    content: "•";
    color: var(--rose-gold);
    font-weight: bold;
    font-size: 1.25rem;
    position: absolute;
    left: 5px;
    top: -2px;
}

/* Admin Table styling */
.table-custom {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
}

.table-custom th {
    background-color: var(--bg-card-hover);
    border-bottom: 2px solid var(--border-dark);
    color: var(--rose-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 15px;
}

.table-custom td {
    border-bottom: 1px solid var(--border-dark);
    padding: 15px;
    font-size: 0.85rem;
    vertical-align: middle;
}

.table-custom tr:hover {
    background-color: var(--bg-card-hover);
}

/* Utility alert boxes */
.alert-custom-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #2ecc71;
    border-radius: 4px;
}

.alert-custom-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #e74c3c;
    border-radius: 4px;
}

/* Premium Image Wrappers & Grids */
.premium-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 155, 132, 0.05);
    transition: all 0.4s ease;
}

.premium-image-wrapper:hover {
    border-color: var(--rose-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 155, 132, 0.12);
    transform: translateY(-3px);
}

.premium-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.premium-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Service Alternating Detail Cards */
.service-card-split {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card-split:hover {
    border-color: var(--rose-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-text-block {
    padding: 45px;
}

.service-img-block-wrapper {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}

.service-img-block {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.service-card-split:hover .service-img-block {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .service-img-block-wrapper,
    .service-img-block {
        min-height: 280px;
    }
}

/* Highlighted Phrase style */
.highlighted-phrase {
    color: #E0E0E0 !important;
    font-weight: 500;
}

/* Global Text Muted override for high readability */
.text-muted {
    color: var(--text-muted) !important;
}



