/*
 Theme Name:     Eloy Cinematic Child
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Eloy V4 Masterpiece Redesign - Ultimate Premium Aesthetic
 Author:         Agent
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.4.0
*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #4A0404;
    --accent: #D4AF37;
    --dark: #000000;
    --grey: #121212;
    --light: #F4F4F4;
    --white: #FFFFFF;
}

/* 1. NUCLEAR FULL-WIDTH RESET (V4.4) */
html,
body,
#page-container,
#main-content,
#main-content .container,
#left-area,
.entry-content,
.et_builder_inner_content,
article {
    background: var(--dark) !important;
    background-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* Kill Divi's Vertical Divider Lines */
#main-content .container:before,
#main-content .container::before {
    display: none !important;
    content: none !important;
    background: none !important;
    width: 0 !important;
}

/* Kill Sidebar & Standard Divi Spacing */
#sidebar,
.et_right_sidebar #sidebar,
.et_left_sidebar #sidebar {
    display: none !important;
}

html,
body {
    overflow-x: hidden;
    position: relative;
}

/* 2. ARTIFACT ANNIHILATION */
/* Force kill the standard Divi header and page titles */
#main-header,
#main-header-wrapper,
#top-header,
#main-footer,
.main_title,
.et_pb_title_container,
#page-container>header {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Fix the 1px white line artifact by shifting the relative positioning */
#main-content {
    margin-top: -1px !important;
    position: relative;
    z-index: 1;
}

/* 3. TYPOGRAPHY & CONTRAST */
body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: var(--dark);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.serif {
    font-family: 'Libre Baskerville', serif;
    color: var(--white);
    letter-spacing: -0.02em;
}

.accent-text {
    color: var(--accent) !important;
}

/* 4. LUXURY NAVIGATION V4.1 */
.nav-v3 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 20px 5% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 9999999 !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%) !important;
    transition: all 0.5s ease;
}

.logo-v4-img {
    height: 50px !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    z-index: 100;
}

.logo-v4-img img {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
    filter: brightness(0) invert(1) !important;
    transition: transform 0.3s ease;
}

.logo-v4-img:hover img {
    transform: scale(1.05);
}

.logo-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Modern Language Pill */
.lang-pill {
    padding: 6px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 0.7rem !important;
    display: inline-block;
    transition: 0.3s;
}

.lang-pill:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    opacity: 1 !important;
}

/* 5. MOBILE OVERLAY V4 */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--white);
    z-index: 100000;
}

@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(20px);
        gap: 40px;
    }

    .nav-links.active {
        display: flex !important;
    }
}

/* 6. CINEMATIC HERO (V4.4 Balanced Reset) */
.hero-v4 {
    height: 100vh;
    width: 100vw;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #000;
    overflow: hidden;
    padding: 100px 5% 0 5%;
    box-sizing: border-box;
}

.v-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center !important;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-v4 h1 {
    font-size: clamp(2.5rem, 8vw, 6.5rem) !important;
    line-height: 1.1 !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
    letter-spacing: -2px;
}

.hero-tag {
    display: block;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.footer-col li {
    list-style: none !important;
}

/* 7. FOOTER V4.5 */
.footer-v3 {
    padding: 150px 10% 80px 10%;
    text-align: center;
    background: #000;
}

.footer-logo {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* 7. SECTION SPACING & GAPS */
.v-section {
    padding: 180px 10%;
    background: var(--dark);
    position: relative;
}

.v-section.grey {
    background: var(--grey);
}

/* Kill WordPress auto-p gaps */
.entry-content>p {
    display: none !important;
}

.v-section p {
    display: block !important;
}

/* 8. CERTIFICATIONS GRID (New) */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-top: 60px;
    opacity: 0.6;
    align-items: center;
}

.cert-item img {
    max-width: 120px;
    filter: invert(1) brightness(0.8);
    margin: 0 auto;
    display: block;
}

/* 9. PREMIUM CONTACT FORM (New) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 80px;
}

.c-field {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 30px;
    transition: 0.4s;
}

.c-field:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.btn-v4 {
    background: var(--accent);
    color: #000;
    padding: 20px 60px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 20px;
}

.btn-v4:hover {
    background: var(--white);
    transform: translateY(-5px);
}