/* ==========================================================================
   THIRUMAANGALYAM MATRIMONY - OFFICIAL BRAND THEME STYLESHEET
   Primary Theme: Deep Maroon / Burgundy (#58111A, #3B060D)
   Accent Theme: Metallic Warm Gold (#D4AF37, #B8860B, #E6C280)
   ========================================================================== */

:root {
    --tm-maroon-primary: #58111A;
    --tm-maroon-dark: #3B060D;
    --tm-maroon-light: #7A1A27;
    --tm-maroon-subtle: #FDF4F5;
    
    --tm-gold-primary: #D4AF37;
    --tm-gold-dark: #B8860B;
    --tm-gold-light: #E6C280;
    --tm-gold-subtle: #FFFDF5;
    
    --tm-maroon-gradient: linear-gradient(135deg, #58111A 0%, #3B060D 100%);
    --tm-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
    --tm-hero-gradient: linear-gradient(135deg, rgba(59, 6, 13, 0.92) 0%, rgba(88, 17, 26, 0.85) 100%);
}

/* --- Global Brand Resets & Color Overrides --- */
body {
    color: #333333;
    background-color: #FAF5F6;
}

/* Links & Accents */
a {
    color: #58111A;
}

a:hover, a:focus {
    color: #B8860B;
}

/* Headings */
/* h1, h2, h3, h4, h5, h6,
.sec-title h2,
.title-column h2 {
    color: #58111A !important;
} */

/* --- Main Header Styling --- */
.main-header.header-style-two,
.main-header .main-box {
    background: #58111A !important;
    border-bottom: 2px solid #D4AF37;
}

/* Header Navigation Links */
.main-menu .navigation > li > a {
    color: #FAF5F6 !important;
    font-weight: 600;
}

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li.active > a {
    color: #D4AF37 !important;
    border-bottom-color: #D4AF37 !important;
}

/* Submenu Dropdowns */
.main-menu .navigation > li > ul {
    background: #3B060D !important;
    border: 1px solid #D4AF37 !important;
}

.main-menu .navigation > li > ul > li > a {
    color: #FFFDF5 !important;
}

.main-menu .navigation > li > ul > li > a:hover {
    background: #58111A !important;
    color: #D4AF37 !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggler .icon {
    color: #D4AF37 !important;
}

/* Top bar / Login user bar */
.user-dropdown .dropdown-toggle {
    color: #D4AF37 !important;
}

/* --- Buttons System --- */
/* Primary Action Buttons (Deep Maroon with Gold Border/Hover) */
.theme-btn,
.btn-style-one,
.btn-style-two,
.btn-primary,
button[type="submit"],
input[type="submit"] {
    background: linear-gradient(135deg, #58111A 0%, #3B060D 100%) !important;
    color: #D4AF37 !important;
    border: 1px solid #D4AF37 !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(88, 17, 26, 0.25) !important;
    transition: all 0.3s ease !important;
}

.theme-btn:hover,
.btn-style-one:hover,
.btn-style-two:hover,
.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    color: #3B060D !important;
    border-color: #58111A !important;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35) !important;
}

/* Secondary Gold Accent Buttons */
.btn-gold,
.btn-style-three {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    color: #3B060D !important;
    border: 1px solid #58111A !important;
    font-weight: 700 !important;
}

.btn-gold:hover,
.btn-style-three:hover {
    background: #58111A !important;
    color: #D4AF37 !important;
}

/* --- Form Controls & Search Cards --- */
.matrimony-form-card,
.register-form .form-inner,
.search-form-card {
    border-top: 4px solid #D4AF37 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(88, 17, 26, 0.12) !important;
    background: #FFFFFF !important;
}

.form-control:focus,
select:focus,
textarea:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
}

/* --- Profile Cards & Speaker Blocks --- */
.profile-card img {
    border: 3px solid #D4AF37 !important;
}

.speaker-block .lower-content {
    border-bottom: 3px solid #58111A !important;
}

.speaker-block .lower-content h5 a,
.speaker-block .lower-content h4 a {
    color: #58111A !important;
}

.speaker-block .lower-content h5 a:hover {
    color: #B8860B !important;
}

/* Badges & Tags */
.badge-primary,
.badge-theme,
.tag-style {
    background-color: #58111A !important;
    color: #D4AF37 !important;
    border: 1px solid #D4AF37 !important;
}

/* --- Footer Styling --- */
.main-footer,
.main-footer.style-two {
    background: linear-gradient(135deg, #3B060D 0%, #250207 100%) !important;
    color: #FDF4F5 !important;
    border-top: 3px solid #D4AF37 !important;
}

.main-footer .footer-logo .logo-title {
    color: #D4AF37 !important;
}

.main-footer .footer-logo .logo-subtitle {
    color: #E6C280 !important;
}

.footer-nav li a {
    color: #E6C280 !important;
}

.footer-nav li a:hover {
    color: #D4AF37 !important;
}

.copyright-text,
.copyright-text a {
    color: #D4AF37 !important;
}

/* --- Pagination --- */
.styled-pagination li.active a,
.styled-pagination li a:hover {
    background: #58111A !important;
    color: #D4AF37 !important;
    border-color: #D4AF37 !important;
}

.styled-pagination li.setPage {
    color: #58111A !important;
}

/* --- Icons & Decorative Accents --- */
.sec-title .icon,
.feature-block .icon,
.info-list i {
    color: #D4AF37 !important;
}

/* Section Backgrounds */
.bg-maroon-gradient {
    background: linear-gradient(135deg, #58111A 0%, #3B060D 100%) !important;
    color: #FFFFFF !important;
}

.bg-maroon-gradient h1,
.bg-maroon-gradient h2,
.bg-maroon-gradient h3,
.bg-maroon-gradient p {
    color: #FFFDF5 !important;
}

/* Custom Gold Accent Lines */
.gold-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #D4AF37 50%, transparent 100%);
    margin: 20px 0;
}
