/*
Theme Name: Atgler Agency
Theme URI: http://localhost/wordpress/abhay
Author: DeepMind Antigravity
Author URI: https://google.com
Description: Premium Agency WordPress Theme with 100% Dynamic ACF Content, Zero-Downtime Architecture, and Contact Form 7 Integration.
Version: 1.0.0
Text Domain: atgler-agency
*/

/* Premium Corporate 3-Color Palette */
:root {
    --primary: #FEC802; /* Vibrant Yellow */
    --black: #000000;   /* Pure Black */
    --white: #FFFFFF;   /* Pure White */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 4.2rem; letter-spacing: -1.5px; margin-bottom: 1.5rem; }
h2 { font-size: 2.8rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1.5rem; font-size: 1.1rem; font-weight: 500; }

.subtitle { 
    font-size: 0.85rem; 
    color: var(--black); 
    background-color: var(--primary);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
}

.subtitle.danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.subtitle.dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.subtitle.light {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--black);
}

/* Subtitles inside yellow sections */
.bg-primary .subtitle {
    background-color: var(--black);
    color: var(--white);
}

/* Utilities */
.bg-primary { background-color: var(--primary); color: var(--black); }
.bg-black { background-color: #0a0a0a; color: var(--white); }
.bg-white { background-color: var(--white); color: var(--black); }
.bg-light { background-color: #f8f9fa; color: var(--black); }

.black-text { color: var(--black) !important; }
.white-text { color: var(--white) !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.align-items-center { align-items: center; }

/* Premium UI Utilities */

/* Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons (Runok Pill Style) */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 700;
    text-transform: none;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.05rem;
    border: none;
}

.btn-black {
    background-color: var(--black);
    color: var(--white);
}

.btn-black:hover {
    background-color: var(--primary);
    color: var(--black);
    transform: translateY(-3px);
}

.bg-primary .btn-black:hover, .mega-menu-sidebar .btn-black:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}

.bg-black .btn-primary:hover, .hero .btn-primary:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-outline {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
    padding: 14px 38px;
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 14px 38px;
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 45px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.white-links a {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 850px;
    padding: 0;
    display: flex;
    overflow: hidden;
}

.mega-menu-item:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-sidebar {
    width: 35%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-menu-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mega-menu-sidebar p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

.mega-menu-content {
    width: 65%;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mega-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.mega-column h4 i { 
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.mega-column:hover h4 i {
    transform: translateX(3px) translateY(-3px);
}

.mega-menu-content a {
    display: block;
    color: var(--black) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    transition: color 0.3s, transform 0.3s;
}

.mega-menu-content a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}


/* Nav Actions (Cart & Button) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 14rem;
    position: relative;
    overflow: hidden;
}

/* Sections Global Layout */
.about, .services {
    padding: 10rem 0;
}

/* Overlapping About Section & Creative Sections */
.about {
    margin-top: -8rem;
    position: relative;
    z-index: 10;
    border-radius: 40px 40px 0 0;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Cards & Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .grid-5 { grid-template-columns: 1fr; }
}

/* AI Tools & Scanner */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer CTA */
.footer-cta {
    padding: 8rem 0 0;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 6rem;
    align-items: center;
}

.footer-info .logo {
    font-size: 3rem;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}
.footer-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7) !important;
}
.footer-links a:hover {
    color: var(--primary) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .hero { padding: 4rem 0 10rem; }
     .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-action { text-align: left; }
    h1 { font-size: 3.5rem; }
    .about { margin-top: 0; border-radius: 0; }
}

/* --- NEW ICON & COMPONENT STYLES --- */

/* Utility */
.mt-4 { margin-top: 2rem !important; }

/* Hero Bullets */

/* Hero Visual Overrides (Mockup Floating Cards) */

/* Card Icons */

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
}
.social-icons a {
    color: var(--primary);
    transition: transform 0.3s;
}
.social-icons a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

/* --- MASSIVE REDESIGN UTILITY CLASSES --- */

/* Split Screen (Section 3) */

/* Ecosystem Connectors (Section 4) */

/* Animated Counters & Charts (Section 5) */

/* Horizontal Timeline (Section 7) */

/* Success Story Magazine Layout (Section 8) */

/* Asymmetrical Bento Grid (Section 9) */

/* Interactive Industries (Section 10) */
.industry-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 24px;
    cursor: pointer;
}
.industry-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    transition: background 0.3s;
}
.industry-card:hover .overlay {
    background: rgba(0,0,0,0.8);
}
.industry-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.industry-card .hidden-stats {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}
.industry-card:hover .hidden-stats {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
}

/* Testimonial Cluster (Section 12) */

/* Tech Stack Grid (Section 13) */

/* Accordion FAQ (Section 15) */

/* Animations */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(254, 200, 2, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(254, 200, 2, 0); }
    100% { box-shadow: 0 0 0 0 rgba(254, 200, 2, 0); }
}


/* --- LAYOUT FIXES --- */

/* Split Screen Max-Width Fix (Section 3) */

/* Bento Grid Row Fix (Section 9) */

/* Testimonial Mobile Fix (Section 12) */

/* --- FINAL DESIGN UTILITIES --- */

/* 5 Column Grid */

/* 4 Column Flex/Grid for Services */

/* 3 Column Grid for Testimonials */

/* Split Background Section */
.split-bg {
    background: linear-gradient(to right, #0a0a0a 50%, #f8f9fa 50%);
}

.split-bg-reverse {
    background: linear-gradient(to right, #f8f9fa 50%, #0a0a0a 50%);
}

@media (max-width: 992px) {
    .split-bg {
        background: #0a0a0a; /* Default to dark on mobile, will add a light bg to the right card */
    }
    .split-bg-reverse {
        background: #f8f9fa;
    }
}

/* Minimalist Icon Cards (Section 5) */

/* Rounded Final CTA (Section 8) */
.rounded-cta-box {
    background: #0a0a0a;
    border-radius: 32px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
}




/* Contact Form 7 Custom Styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 16px;
    color: #000000;
}

.wpcf7 input[type="submit"] {
    background-color: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.05rem;
    width: 100%;
    margin-top: 10px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--primary);
    color: var(--black);
    border-color: var(--primary);
    transform: translateY(-3px);
}
