/*
Theme Name: Mr. TIQ
Theme URI: https://mr.tiq.media
Author: IcaruZen
Author URI: https://icaruzen.com
Description: Personal brand website for Mr. TIQ — Qatar's voice, content creator, media personality, and entrepreneur. Mohannad I. Bitar. Fully compatible with Elementor.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mrtiq
Tags: one-column, custom-menu, featured-images, full-width-template, theme-options, elementor
*/

:root {
  --tiq-dark: #262934;
  --tiq-red: #F04040;
  --tiq-red-dark: #BA2A2A;
  --tiq-red-gradient: linear-gradient(135deg, #F04040 0%, #BA2A2A 100%);
  --tiq-white: #FFFFFF;
  --tiq-black: #000000;
  --tiq-grey: #D6D6D6;
  --tiq-grey-dark: #7A7A7A;
  --tiq-light-bg: #F8F8F8;
  --tiq-text: #2D2D2D;
  --tiq-text-light: #6B6B6B;
  --tiq-border: #E5E5E5;
  --tiq-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --tiq-shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --font-display: 'Dancing Script', cursive;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --section-padding: 90px 0;
  --container-width: 1200px;
  --radius: 12px;
  --radius-sm: 6px;
  --tiq-logo-height: 55px;
  --tiq-logo-height-scrolled: 40px;
  --tiq-hero-overlay: linear-gradient(135deg, rgba(38,41,52,0.92) 0%, rgba(38,41,52,0.7) 50%, rgba(240,64,64,0.3) 100%);
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font-body);color:var(--tiq-text);background:var(--tiq-white);line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit;transition:all .3s ease}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:700;line-height:1.2;color:var(--tiq-dark)}
h1{font-size:clamp(2.5rem,5vw,4.2rem)}
h2{font-size:clamp(1.8rem,3.5vw,2.8rem)}
h3{font-size:clamp(1.2rem,2vw,1.5rem)}
p{margin-bottom:1rem;color:var(--tiq-text-light)}
.container{max-width:var(--container-width);margin:0 auto;padding:0 24px}

/* Buttons */
.btn{display:inline-block;padding:14px 36px;border-radius:50px;font-family:var(--font-heading);font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;border:2px solid transparent}
.btn-red{background:var(--tiq-red-gradient);color:var(--tiq-white)}
.btn-red:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(240,64,64,.35)}
.btn-outline{background:transparent;color:var(--tiq-white);border-color:var(--tiq-white)}
.btn-outline:hover{background:var(--tiq-white);color:var(--tiq-dark)}
.btn-outline-dark{background:transparent;color:var(--tiq-dark);border-color:var(--tiq-dark)}
.btn-outline-dark:hover{background:var(--tiq-dark);color:var(--tiq-white)}

/* Header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;padding:18px 0;transition:all .3s ease;background:transparent}
.site-header.scrolled{background:rgba(38,41,52,.97);padding:10px 0;box-shadow:0 2px 20px rgba(0,0,0,.2)}
.header-inner{display:flex;align-items:center;justify-content:space-between;max-width:1400px;margin:0 auto;padding:0 30px}
.site-logo img,.custom-logo-link img{height:var(--tiq-logo-height);width:auto;transition:height .3s ease}
.site-header.scrolled .site-logo img,.site-header.scrolled .custom-logo-link img{height:var(--tiq-logo-height-scrolled)}
.main-nav{display:flex;align-items:center;gap:28px}
.nav-links{display:flex;list-style:none;gap:24px}
.nav-links a{color:var(--tiq-white);font-weight:500;font-size:.9rem;position:relative;padding:4px 0}
.nav-links a::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--tiq-red);transition:width .3s ease}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-cta .btn{padding:10px 28px;font-size:.85rem}
.mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px}
.mobile-toggle span{display:block;width:24px;height:2px;background:var(--tiq-white);margin:5px 0;transition:all .3s ease}
.mobile-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.mobile-toggle.active span:nth-child(2){opacity:0}
.mobile-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
.mobile-menu{display:none;position:fixed;top:0;right:-100%;width:100%;height:100vh;background:var(--tiq-dark);z-index:999;transition:right .3s ease;padding:100px 40px 40px}
.mobile-menu.open{right:0}
.mobile-menu ul{list-style:none}
.mobile-menu ul li{margin-bottom:20px}
.mobile-menu ul li a{color:var(--tiq-white);font-size:1.4rem;font-weight:600}

/* Hero */
.hero-section{position:relative;min-height:100vh;display:flex;align-items:center;background:var(--tiq-dark);overflow:hidden}
.hero-section::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:var(--tiq-hero-overlay);z-index:1}
.hero-bg{position:absolute;top:0;left:0;right:0;bottom:0;background-size:cover;background-position:center}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hero-text h1{color:var(--tiq-white);margin-bottom:8px;font-size:clamp(3rem,7vw,5rem)}
.hero-text h1 .accent{color:var(--tiq-red)}
.hero-text .hero-subtitle{font-family:var(--font-display);font-size:clamp(1.3rem,3vw,2rem);color:var(--tiq-red);margin-bottom:20px;font-weight:400}
.hero-text p{color:rgba(255,255,255,.8);font-size:1.05rem;line-height:1.8;margin-bottom:32px;max-width:520px}
.hero-buttons{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:32px}
.hero-socials{display:flex;gap:14px;align-items:center}
.hero-socials a{width:42px;height:42px;border-radius:50%;border:1.5px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;transition:all .3s ease;color:var(--tiq-white)}
.hero-socials a:hover{border-color:var(--tiq-red);background:var(--tiq-red)}
.hero-socials a svg{width:18px;height:18px;fill:currentColor;color:inherit}
.hero-image{position:relative;display:flex;justify-content:center}
.hero-image-circle{width:420px;height:420px;border-radius:50%;background:var(--tiq-red);overflow:hidden;position:relative}
.hero-image-circle img{width:100%;height:100%;object-fit:cover}
.hero-image-ring{position:absolute;width:460px;height:460px;border-radius:50%;border:2px solid rgba(240,64,64,.3);top:50%;left:50%;transform:translate(-50%,-50%);animation:pulse-ring 3s ease infinite}
@keyframes pulse-ring{0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.3}50%{transform:translate(-50%,-50%) scale(1.05);opacity:.1}}

/* About */
.about-section{padding:var(--section-padding);background:var(--tiq-white)}
.about-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:50px;align-items:center}
.about-image{border-radius:var(--radius);overflow:hidden;box-shadow:var(--tiq-shadow);position:relative}
.about-image img{width:100%;height:500px;object-fit:cover}
.about-image .quote-badge{position:absolute;bottom:24px;left:24px;right:24px;background:rgba(38,41,52,.9);backdrop-filter:blur(10px);padding:20px 24px;border-radius:var(--radius-sm);border-left:3px solid var(--tiq-red)}
.about-image .quote-badge p{color:var(--tiq-white);font-style:italic;font-size:.92rem;margin:0}
.section-label{display:inline-block;font-weight:600;font-size:.82rem;letter-spacing:2px;text-transform:uppercase;color:var(--tiq-red);margin-bottom:10px}
.about-content h2{margin-bottom:20px}
.about-content p{font-size:1.02rem;margin-bottom:14px}

/* Stats */
.stats-section{padding:60px 0;background:var(--tiq-dark)}
.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.stat-card{text-align:center;padding:28px 16px;border-radius:var(--radius);background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);transition:all .3s ease}
.stat-card:hover{background:rgba(255,255,255,.08);border-color:rgba(240,64,64,.3)}
.stat-number{font-size:clamp(1.8rem,3vw,2.5rem);font-weight:800;color:var(--tiq-red);margin-bottom:4px}
.stat-label{font-size:.82rem;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:1px}

/* Services / What I Do */
.services-section{padding:var(--section-padding);background:var(--tiq-light-bg)}
.section-header{text-align:center;max-width:650px;margin:0 auto 50px}
.section-header h2{margin-bottom:14px}
.section-header p{font-size:1.02rem}
.services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.service-card{background:var(--tiq-white);padding:32px 28px;border-radius:var(--radius);box-shadow:var(--tiq-shadow);transition:all .3s ease;position:relative;overflow:hidden;text-align:center}
.service-card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--tiq-red-gradient);transform:scaleX(0);transition:transform .3s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--tiq-shadow-hover)}
.service-card:hover::after{transform:scaleX(1)}
.service-icon{width:56px;height:56px;border-radius:50%;background:rgba(240,64,64,.08);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.service-icon svg{width:24px;height:24px;stroke:var(--tiq-red);fill:none;stroke-width:1.5}
.service-card h3{font-size:1.05rem;margin-bottom:8px}
.service-card p{font-size:.9rem;color:var(--tiq-text-light);margin:0}

/* Partners */
.partners-section{padding:70px 0;background:var(--tiq-white)}
.partners-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;align-items:center}

/* CTA */
.cta-section{padding:80px 0;background:var(--tiq-dark);text-align:center;position:relative;overflow:hidden}
.cta-section::before{content:'';position:absolute;top:-50%;right:-10%;width:400px;height:400px;border-radius:50%;background:rgba(240,64,64,.08)}
.cta-section h2{color:var(--tiq-white);margin-bottom:14px;position:relative;z-index:1}
.cta-section p{color:rgba(255,255,255,.75);font-size:1.05rem;max-width:550px;margin:0 auto 28px;position:relative;z-index:1}
.cta-section .btn{position:relative;z-index:1}

/* Contact */
.contact-section{padding:var(--section-padding);background:var(--tiq-light-bg)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}
.contact-form-wrap{background:var(--tiq-white);padding:36px;border-radius:var(--radius);box-shadow:var(--tiq-shadow)}
.contact-form-wrap h3{margin-bottom:6px;font-size:1.3rem}
.contact-form-wrap>p{margin-bottom:24px;font-size:.92rem;color:var(--tiq-text-light)}
.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 input[type="tel"],.wpcf7 select,.wpcf7 textarea,
.tiq-form input[type="text"],.tiq-form input[type="email"],.tiq-form input[type="tel"],.tiq-form select,.tiq-form textarea{
  width:100%;padding:13px 16px;border:1px solid var(--tiq-border);border-radius:var(--radius-sm);font-family:var(--font-body);font-size:.92rem;transition:border-color .3s ease;background:var(--tiq-white);margin-bottom:4px}
.wpcf7 input:focus,.wpcf7 select:focus,.wpcf7 textarea:focus,.tiq-form input:focus,.tiq-form select:focus,.tiq-form textarea:focus{outline:none;border-color:var(--tiq-red)}
.wpcf7 textarea,.tiq-form textarea{min-height:110px;resize:vertical}
.wpcf7 input[type="submit"],.tiq-form button[type="submit"]{background:var(--tiq-red-gradient);color:var(--tiq-white);border:none;padding:14px 36px;border-radius:50px;font-family:var(--font-heading);font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;width:100%}
.wpcf7 input[type="submit"]:hover,.tiq-form button[type="submit"]:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(240,64,64,.35)}
.wpcf7 label,.tiq-form label{display:block;margin-bottom:14px;font-weight:500;font-size:.85rem;color:var(--tiq-text)}
.tiq-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-info{padding-top:16px}
.contact-info h3{margin-bottom:20px;font-size:1.3rem}
.contact-detail{display:flex;gap:14px;margin-bottom:20px;align-items:flex-start}
.contact-detail-icon{width:44px;height:44px;flex-shrink:0;border-radius:50%;background:rgba(240,64,64,.08);display:flex;align-items:center;justify-content:center}
.contact-detail-icon svg{width:18px;height:18px;stroke:var(--tiq-red);fill:none;stroke-width:1.5}
.contact-detail-text h4{font-size:.92rem;margin-bottom:2px}
.contact-detail-text p{font-size:.88rem;margin:0}
.contact-socials{display:flex;gap:12px;margin-top:28px}
.contact-socials a{width:44px;height:44px;border-radius:50%;background:var(--tiq-dark);display:flex;align-items:center;justify-content:center;transition:all .3s ease;color:var(--tiq-white)}
.contact-socials a:hover{background:var(--tiq-red)}
.contact-socials a svg{width:18px;height:18px;fill:currentColor;color:inherit}

/* Footer */
.site-footer{background:var(--tiq-dark);color:rgba(255,255,255,.7);padding:50px 0 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.08);flex-wrap:wrap;gap:20px}
.footer-brand{display:flex;align-items:center;gap:16px}
.footer-brand img{height:36px}
.footer-brand span{font-size:.85rem;color:rgba(255,255,255,.5)}
.footer-links{display:flex;gap:24px}
.footer-links a{color:rgba(255,255,255,.5);font-size:.85rem}
.footer-links a:hover{color:var(--tiq-red)}
.footer-socials{display:flex;gap:10px}
.footer-socials a{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;transition:all .3s ease;color:var(--tiq-white)}
.footer-socials a:hover{border-color:var(--tiq-red);background:var(--tiq-red)}
.footer-socials a svg{width:14px;height:14px;fill:currentColor;color:inherit}
.footer-bottom{padding:20px 0;text-align:center;font-size:.78rem;color:rgba(255,255,255,.35)}
.footer-bottom a{color:rgba(255,255,255,.4)}
.footer-bottom a:hover{color:var(--tiq-red)}

/* Insights Bottom — Audience & Gender cards */
.insights-bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.insight-card{border-radius:var(--radius);overflow:hidden;background:var(--tiq-white)}
.insight-card-header{background:var(--tiq-red-gradient);padding:14px 24px;text-align:center;font-family:var(--font-heading);font-weight:700;font-size:1rem;color:var(--tiq-white);text-transform:uppercase;letter-spacing:1px}
.insight-card-body{padding:24px;text-align:center}
.insight-card-body p{color:var(--tiq-red);font-weight:600;font-size:.95rem;font-style:italic;margin:0;line-height:1.5}
.gender-body{display:flex;align-items:center;justify-content:center;gap:24px;padding:20px 24px}
.gender-split{text-align:center}
.gender-pct{font-size:clamp(2rem,4vw,3rem);font-weight:800;color:var(--tiq-red);line-height:1}
.gender-label{font-size:.85rem;color:var(--tiq-text-light);margin-top:4px;font-weight:500}
.gender-divider{width:2px;height:50px;background:var(--tiq-border)}

/* Partners — dynamic logos */
.partners-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;align-items:center}
.partner-item{display:flex;align-items:center;justify-content:center;padding:8px;transition:all .3s ease}
.partner-item img.partner-logo{height:40px;width:auto;max-width:140px;opacity:.45;filter:grayscale(100%);transition:all .3s ease;object-fit:contain}
.partner-item:hover img.partner-logo{opacity:1;filter:grayscale(0%)}
.partner-text-badge{display:inline-block;font-size:.78rem;color:var(--tiq-grey-dark);font-weight:500;padding:8px 18px;background:var(--tiq-light-bg);border-radius:50px;border:1px solid var(--tiq-border)}

/* CF7 Form Fixes */
.tiq-form-wrap p{margin:0 !important}
.tiq-form-wrap br{display:none}
.tiq-form-wrap label{display:block;margin-top:10px !important;margin-bottom:5px !important;line-height:1}
.tiq-form-wrap .wpcf7-form-control-wrap{margin:0 !important}
.tiq-form-wrap input,.tiq-form-wrap textarea,.tiq-form-wrap select{margin:0 !important}

/* Animations */
.fade-up{opacity:0;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}
.delay-1{transition-delay:.1s}
.delay-2{transition-delay:.2s}
.delay-3{transition-delay:.3s}

/* Responsive */
@media(max-width:1024px){
  .hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr;gap:40px}
  .hero-image{order:-1}
  .hero-image-circle{width:300px;height:300px}
  .hero-image-ring{width:340px;height:340px}
  .stats-grid{grid-template-columns:repeat(3,1fr)}
  .insights-bottom{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  :root{--section-padding:60px 0}
  .nav-links,.nav-cta{display:none}
  .mobile-toggle{display:block}
  .mobile-menu{display:block}
  .services-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(3,1fr)}
  .insights-bottom{grid-template-columns:1fr}
  .hero-text{text-align:center}
  .hero-text h1{font-size:2.2rem}
  .hero-text p{font-size:.95rem}
  .hero-buttons{flex-direction:column;align-items:center;width:100%}
  .hero-buttons .btn{text-align:center;width:100%;max-width:280px}
  .hero-socials{justify-content:center}
  .footer-inner{flex-direction:column;text-align:center}
  .contact-form-wrap{padding:24px}
  .tiq-form-row{grid-template-columns:1fr !important}
  .about-image img{height:300px}
  .section-header{padding:0 10px}
  .partner-item img.partner-logo{height:30px}
  .gender-pct{font-size:2rem}
}
@media(max-width:480px){
  .hero-text h1{font-size:1.8rem}
  .hero-image-circle{width:220px;height:220px}
  .hero-image-ring{width:260px;height:260px}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat-card{padding:20px 12px}
  .stat-number{font-size:1.4rem}
  .stat-label{font-size:.7rem}
  .service-card{padding:24px 20px}
  .contact-form-wrap{padding:20px}
  .insights-bottom{gap:16px}
  .insight-card-body{padding:16px}
  .gender-pct{font-size:1.6rem}
  .btn{padding:12px 28px;font-size:.88rem}
}
