/* 
   XetaCorp Burgundy Gold Edition
   Aesthetic: Executive / Heritage / Trust
   Palette: Burgundy Crimson + Champagne Gold
   Focus: Premium Brand Alignment with Logo
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Palette — Burgundy Gold */
    --pristine-white: #FFFFFF;
    --soft-slate: #FAF6F0;           /* warm ivory instead of cool grey */
    --royal-navy: #7D1034;           /* deep burgundy (logo BG) */
    --royal-blue: #9C1A43;           /* lighter burgundy for hover */
    --champagne-gold: #D4A017;       /* logo gold */
    --gold-deep: #B8880F;            /* deeper gold for depth */
    --charcoal: #1E0A10;             /* near-black with burgundy undertone */
    --slate-600: #5C3243;
    --slate-400: #9E7080;
    
    /* Accents */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(125, 16, 52, 0.12);
    --blue-glow: rgba(212, 160, 23, 0.06);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* System */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 16px;
    --radius-md: 10px;
    --box-shadow-elite: 0 20px 40px rgba(125, 16, 52, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--pristine-white);
    color: var(--charcoal);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Navigation & Mega-Menu --- */
.nav-elite {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-top-bar {
    background: var(--royal-navy);
    padding: 10px 0;
}

.nav-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-contact-items {
    display: flex;
    gap: 25px;
}

.nav-contact-link {
    color: #e8d5c4;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.nav-contact-link:hover {
    color: var(--champagne-gold);
}

.nav-main-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(212, 160, 23, 0.2);
    padding: 15px 0;
}

.nav-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-elite {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--royal-navy);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo image in nav */
.brand-elite img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--royal-navy), var(--royal-blue));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--champagne-gold);
}

.brand-logo-mark i {
    color: var(--champagne-gold);
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-item:hover > .nav-link {
    color: var(--royal-navy);
}

/* Mega Menu Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 280px;
    background: var(--pristine-white);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--champagne-gold);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-elite);
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--charcoal);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    gap: 12px;
}

.mega-link:hover {
    background: var(--soft-slate);
    color: var(--royal-navy);
}

.mega-link i {
    font-size: 1rem;
    color: var(--champagne-gold);
    width: 20px;
    text-align: center;
}

/* --- Hero Section --- */
.hero-v4 {
    padding: 220px 0 120px;
    background: radial-gradient(ellipse at 70% 0%, rgba(125, 16, 52, 0.06), transparent 50%),
                radial-gradient(ellipse at 30% 100%, rgba(212, 160, 23, 0.05), transparent 50%),
                var(--soft-slate);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.hero-v4 h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--royal-navy);
}

.hero-v4 p {
    font-size: 1.2rem;
    color: var(--slate-600);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

/* --- Elite Buttons --- */
.btn-v4 {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    gap: 12px;
}

.btn-v4-primary {
    background: linear-gradient(135deg, var(--royal-navy), var(--royal-blue));
    color: var(--pristine-white);
    box-shadow: 0 10px 25px rgba(125, 16, 52, 0.25);
}

.btn-v4-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(125, 16, 52, 0.40);
}

.btn-v4-outline {
    background: transparent;
    color: var(--royal-navy);
    border: 2px solid var(--royal-navy);
}

.btn-v4-outline:hover {
    background: var(--royal-navy);
    color: var(--pristine-white);
}

/* --- Interactive Grid --- */
.elite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 80px 0;
}

.elite-card {
    background: var(--pristine-white);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(125, 16, 52, 0.04);
}

.elite-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-navy), var(--champagne-gold));
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: left;
}

.elite-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 160, 23, 0.35);
    box-shadow: var(--box-shadow-elite);
}

.elite-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--champagne-gold);
    margin-bottom: 25px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--royal-navy);
}

.card-desc {
    color: var(--slate-600);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* --- Content Overrides --- */
.elite-content-hub {
    padding: 100px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.elite-content-hub h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--royal-navy);
    margin-bottom: 2.5rem;
    border-bottom: 2px solid rgba(212, 160, 23, 0.25);
    padding-bottom: 20px;
}

.elite-content-hub h2, .elite-content-hub h3 {
    font-family: var(--font-heading);
    color: var(--royal-navy);
    margin: 4rem 0 1.5rem;
}

.elite-content-hub p {
    margin-bottom: 2rem;
    color: var(--charcoal);
    font-size: 1.1rem;
    line-height: 1.8;
}

.elite-content-hub li {
    padding: 20px 30px;
    background: var(--soft-slate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
    color: var(--charcoal);
}

.elite-content-hub li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--champagne-gold);
}

/* --- Footer --- */
.footer-v4 {
    background: #3D0819;
    padding: 100px 0 50px;
    color: var(--pristine-white);
    position: relative;
}

.footer-v4::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-navy), var(--champagne-gold), var(--royal-navy));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--champagne-gold);
}

.footer-desc {
    color: #c9a0a0;
    max-width: 350px;
}

.footer-column h4 {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    color: var(--champagne-gold);
}

.footer-links {
    list-style: none;
}

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

.footer-link {
    color: #e8c8c8;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--champagne-gold);
    padding-left: 5px;
}

/* --- Floating CTA --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, var(--royal-navy), var(--royal-blue));
    color: white;
    padding: 15px 25px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(125, 16, 52, 0.35);
    z-index: 2000;
    transition: var(--transition-smooth);
    border: 1px solid var(--champagne-gold);
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(125, 16, 52, 0.5);
}

/* --- Section Labels --- */
.section-label {
    color: var(--champagne-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

/* --- Tables --- */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--pristine-white);
    box-shadow: 0 4px 6px -1px rgba(125, 16, 52, 0.05);
}

th {
    background: var(--royal-navy);
    color: var(--pristine-white);
    padding: 20px 25px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--soft-slate);
    color: var(--charcoal);
    font-size: 1rem;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--soft-slate); }

/* --- Forms --- */
form {
    background: var(--soft-slate);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--royal-navy);
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--pristine-white);
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--champagne-gold);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.12);
}

button[type="submit"] {
    background: var(--royal-navy);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

button[type="submit"]:hover {
    background: var(--royal-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(125, 16, 52, 0.25);
}

/* --- Slim scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--soft-slate); }
::-webkit-scrollbar-thumb { 
    background: var(--champagne-gold); 
    border-radius: 10px; 
}

@media (max-width: 992px) {
    .nav-menu { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
