/*
 Theme Name:   Romoz Agency Theme
 Theme URI:    http://romozadv.com
 Description:  A Fully Custom, Standalone Theme for Romoz Advertising.
 Author:       Romoz Dev Team
 Version:      1.0.7 (Updated by Antigravity)
*/

:root {
    --primary: #FF2E00;
    /* Red Brand Color */
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #f4f4f4;
}


::selection {
    background: #da291c;
    color: #fff;
}

::-moz-selection {
    background: #da291c;
    color: #fff;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ROOT NAVIGATION FAILSAFE */
[id] {
    scroll-margin-top: 50px !important;
}

body {
    background-color: #0b0b0b !important;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    /* ELITE FIX: Force visibility regardless of preloader state */
}

/* Page Entry Mastery: Immediate Visibility */
body {
    opacity: 1 !important;
    visibility: visible !important;
}

.romoz-preloader-active body {
    opacity: 1 !important;
}

/* Ensure visibility in Elementor/Admin */
.elementor-editor-active body,
.wp-admin body {
    opacity: 1 !important;
}

/* --- CRITICAL HEADER STYLES (FOUC Prevention) --- */
.r-v3-wrapper {
    background: #000000 !important;
    position: relative;
    z-index: 1000;
    width: 100%;
}

.r-v3-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    min-height: 70px;
    /* Base height reduction */
}

.r-v3-logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.r-v3-nav {
    display: flex;
    gap: 40px;
}

.r-v3-nav-link {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.r-v3-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.r-v3-btn {
    background: #da291c;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {

    .r-v3-nav,
    .r-v3-actions {
        display: none !important;
    }
}

/* Buttons */
.romoz-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.romoz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 46, 0, 0.4);
}

/* Services Section */
.romoz-services {
    padding: 100px 20px;
    background: var(--light);
    text-align: center;
}

.romoz-services h2 {
    font-size: 3rem;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.romoz-generic-container {
    padding: 100px 20px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.romoz-generic-container.page-layout {
    text-align: left;
    min-height: 60vh;
}

.romoz-generic-container.page-layout .entry-header {
    margin-bottom: 60px;
}

.romoz-generic-container.page-layout .entry-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

.service-card {
    background: var(--gray);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* CTA Section */
.romoz-cta {
    background: var(--primary);
    color: var(--light);
    padding: 80px 20px;
    text-align: center;
}

.romoz-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.romoz-btn-white {
    background: var(--light);
    color: var(--primary);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.romoz-btn-white:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

.bounce-in {
    animation: fadeInUp 0.8s ease-out forwards;
}


/* =========================================
   HARDCODED DECORATIONS (Requested by User)
   ========================================= */

/* The Background Grid */
.bg-grid-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 90 !important;
    /* Visible on top of content, non-blocking */
    /* Reduced grid visibility */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.8 !important;
    /* Ensure visible */
    display: block !important;
}

/* The Vertical "AGENCY" Text */
.vertical-watermark {
    position: fixed !important;
    left: 70px;
    top: 40%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Wireframe / Blueprint Style */
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    /* Slightly stronger */

    font-size: 16vh;
    font-weight: 800;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 1vh;
    pointer-events: none;
    z-index: 91 !important;
    /* Visible on top of content */
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure Elementor content sits on top if needed, but watermarks are overlay here */
/* Sovereign Content Visibility */
.elementor {
    position: relative !important;
    z-index: 2000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force "Than Expecte" to be Red in Elementor Content */
div[data-id="hero_title"] h1 span {
    color: #da291c !important;
}



.romoz-hero-title span {
    color: #da291c;
    /* The Red Color */
}

.romoz-hero-desc {
    font-size: 1.25rem;
    color: #999;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* Buttons */
.romoz-btn-group {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #da291c;
    color: #fff;
    padding: 18px 40px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #b01f15;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 18px 40px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

/* Image Side */
.romoz-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.romoz-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .romoz-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 50px;
    }

    .romoz-hero-content {
        padding-left: 0;
        margin-bottom: 50px;
    }

    .romoz-eyebrow {
        display: inline-block;
    }


    .romoz-btn-group {
        justify-content: center;
    }

    .romoz-hero-title {
        font-size: 3.5rem;
    }
}


/* =========================================
   ROMOZ AGENCY: WIDGET STYLES (HARDCODED SUPPORT)
   ========================================= */

/* --- WHO WE ARE (Beyond Marketing) --- */
.romoz-who-wrapper {
    font-family: 'Outfit', sans-serif;
    padding: 80px 0;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.romoz-who-left {
    flex: 0 0 35%;
    padding-right: 40px;
    border-right: 1px solid #e0e0e0;
}

.romoz-who-eyebrow {
    font-size: 0.85rem;
    color: #da291c;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: block;
    text-transform: uppercase;
}

.romoz-who-title {
    margin: 0;
    line-height: 0.95;
    font-weight: 900;
    text-transform: uppercase;
}

.romoz-who-line1 {
    display: block;
    font-size: 4rem;
    color: #111;
}

.romoz-who-line2 {
    display: block;
    font-size: 4rem;
    color: #da291c;
}

.romoz-who-right {
    flex: 1;
    display: flex;
    gap: 40px;
    padding-top: 50px;
}

.romoz-who-col {
    flex: 1;
}

.romoz-who-subhead {
    font-size: 0.8rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: block;
}

.romoz-who-p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}



/* =========================================
   ROMOZ AGENCY: CINEMATIC ELEMENTOR UTILITIES (NATIVE)
   Usage: Add these classes to Elementor Containers
   ========================================= */

/* 1. THE PARENT ROW (Add class: romoz-fx-row) */
.romoz-fx-row {
    display: flex !important;
    gap: 15px;
    height: 600px;
    /* Min height for impact */
    transition: all 0.5s ease;
}

/* 2. THE CHILD COLUMN (Add class: romoz-fx-col) */
.romoz-fx-col {
    flex: 1 !important;
    /* Start equal */
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), background-size 0.7s ease !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px;
    background-size: cover !important;
    background-position: center !important;
}

/* 3. HOVER EFFECT (Expansion) */
.romoz-fx-col:hover {
    flex: 3 !important;
    /* Grow wide */
    background-size: 110% auto !important;
    /* Zoom */
}

/* 4. GLASS CONTENT (Add class: romoz-fx-glass) */
.romoz-fx-glass {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.5s ease;
    margin-top: auto;
    /* Push to bottom */
}

/* Mobile Fallback */
@media (max-width: 768px) {
    .romoz-fx-row {
        flex-direction: column !important;
        height: auto !important;
    }

    .romoz-fx-col {
        height: 350px !important;
        flex: none !important;
        width: 100% !important;
        margin-bottom: 15px;
    }
}

/* --- ROMOZ WHO WE ARE MOBILE REFINEMENTS --- */
@media (max-width: 767px) {
    .romoz-who-wrapper {
        text-align: center !important;
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        gap: 40px !important;
    }

    .romoz-who-left {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        padding-bottom: 40px !important;
        margin-bottom: 40px !important;
    }

    .romoz-who-eyebrow {
        margin-bottom: 20px !important;
        justify-content: center !important;
        display: block !important;
        text-align: center !important;
    }

    .romoz-who-line1,
    .romoz-who-line2 {
        font-size: 2.8rem !important;
        /* Smaller than 4rem */
        line-height: 1.0 !important;
    }

    .romoz-who-right {
        gap: 40px !important;
    }

    .romoz-who-subhead {
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    .romoz-who-p {
        font-size: 1rem !important;
        padding: 0 10px !important;
        /* Prevent edge touching */
    }
}

/* --- ROMOZ MOBILE IMAGE VISIBILITY FIX (Gallery/Services) --- */
@media (max-width: 767px) {

    /* Main Gallery Fix */
    .romoz-gallery-card {
        height: 400px !important;
        min-height: 400px !important;
        margin-bottom: 25px !important;
        display: block !important;
        position: relative !important;
        background-color: #222 !important;
        /* Fallback */
    }

    .romoz-gallery-bg {
        opacity: 1 !important;
        /* No dimming */
        filter: none !important;
        /* No grayscale */
        transform: scale(1.0) !important;
        height: 100% !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    /* FX Column Utility Fix */
    .romoz-fx-col {
        min-height: 350px !important;
        background-attachment: scroll !important;
        /* Fix fix-bg bug on mobile */
        background-position: center center !important;
        background-size: cover !important;
        opacity: 1 !important;
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}

/* --- ROMOZ SERVICES STACK MOBILE FIX --- */
/* The widget uses hover effects which don't work on mobile. We force images to show. */
@media (max-width: 767px) {
    .romoz-services-stack {
        flex-direction: column !important;
        padding: 40px 20px !important;
    }

    .romoz-stack-left {
        width: 100% !important;
        margin-bottom: 40px !important;
    }

    .romoz-stack-right {
        width: 100% !important;
        height: auto !important;
        /* Ensure container has height */
        display: block !important;
        position: relative !important;
    }

    .romoz-stack-img {
        position: relative !important;
        /* Stop absolute layering */
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        opacity: 1 !important;
        /* FORCE VISIBILITY */
        visibility: visible !important;
        margin-bottom: 20px !important;
        transform: none !important;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: block !important;
    }
}

/* 
 * Romoz Agency - Core Structural Fixes 
 * Production CSS 
 */

html,
body {
    background-color: #0b0b0b !important;
    color: #fff;
    margin: 0;
    padding: 0;
}

body {
    background: #0b0b0b !important;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.gradient-text {
    background: linear-gradient(45deg, #FF2E00, #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Force Elementor Full Width */
.elementor-section-boxed,
.elementor-container {
    overflow: visible !important;
    transform: none !important;
}

.romoz-pf-wrapper,
.romoz-who-wrapper-ar,
.romoz-work-section,
.romoz-slider-section,
.romoz-services-stack,
.romoz-services-section-ar,
.romoz-hero-widget-ar,
.romoz-hero-widget,
.romoz-why-v5-root,
.romoz-services-section {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    z-index: 10;
}

/* Header UI Consistency */
header:not(.elementor-location-header):not(.romoz-safe-header),
#masthead,
.site-header,
.main-header {
    display: none !important;
}

.elementor-location-header,
.romoz-safe-header {
    display: block !important;
}/* ROMOZ_BYPASS_ID: 1772399418 */
