/*
Theme Name: Re Cell Technology Solutions
Theme URI: https://re-cell.ie
Author: Re Cell
Author URI: https://re-cell.ie
Description: A premium dark & gold custom theme for Re Cell Technology Solutions — a technology reseller specializing in 100% original Apple & Samsung devices, brand new and pre-owned, with global stock across Europe, UAE & USA.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: recell
*/

/* =========================================================
   0. CSS VARIABLES / DESIGN TOKENS
   ========================================================= */
:root{
  --rc-black: #050505;
  --rc-bg: #0a0a0a;
  --rc-surface: #141414;
  --rc-surface-2: #1a1a1a;
  --rc-border: rgba(212,169,74,0.15);
  --rc-border-soft: rgba(255,255,255,0.08);
  --rc-gold: #d4a94a;
  --rc-gold-bright: #e9c565;
  --rc-gold-dim: rgba(212,169,74,0.12);
  --rc-white: #f5f5f3;
  --rc-gray: #9a9a9a;
  --rc-gray-soft: #6f6f6f;
  --rc-font-display: 'Playfair Display', Georgia, serif;
  --rc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rc-max: 1280px;
  --rc-radius: 16px;
  --rc-radius-sm: 10px;
  --rc-transition: 0.25s ease;
}

/* =========================================================
   1. RESET
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--rc-bg);
  color: var(--rc-white);
  font-family: var(--rc-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5,h6{
  font-family: var(--rc-font-display);
  font-weight: 500;
  margin: 0 0 0.5em;
  line-height: 1.15;
  color: var(--rc-white);
}
p{ margin: 0 0 1em; color: var(--rc-gray); }
.container{
  max-width: var(--rc-max);
  margin: 0 auto;
  padding: 0 32px;
}
.screen-reader-text{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}

/* =========================================================
   2. BUTTONS
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--rc-font-body);
  border: 1px solid transparent;
  transition: all var(--rc-transition);
  white-space: nowrap;
}
.btn svg{ width: 16px; height: 16px; transition: transform var(--rc-transition); }
.btn:hover svg{ transform: translateX(4px); }

.btn-solid{
  background: var(--rc-gold);
  color: #1a1200;
  box-shadow: 0 0 30px rgba(212,169,74,0.25);
}
.btn-solid:hover{ background: var(--rc-gold-bright); color: #1a1200; }

.btn-outline{
  background: transparent;
  border-color: var(--rc-gold);
  color: var(--rc-gold);
}
.btn-outline:hover{ background: var(--rc-gold-dim); }

.btn-block{ width: 100%; justify-content: center; }

/* =========================================================
   3. HEADER / NAVIGATION
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rc-border-soft);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.site-branding{ display: flex; flex-direction: column; line-height: 1.1; }
.site-branding a{ display: flex; flex-direction: column; }
.site-title{
  font-family: var(--rc-font-display);
  font-size: 26px;
  color: var(--rc-gold);
  letter-spacing: 0.5px;
  margin: 0;
}
.site-tagline{
  font-family: var(--rc-font-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--rc-gray-soft);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-navigation{ display: flex; }
.main-navigation ul{ display: flex; gap: 44px; align-items: center; }
.main-navigation a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rc-white);
  transition: color var(--rc-transition);
  position: relative;
  padding: 6px 0;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a{
  color: var(--rc-gold);
}

.menu-toggle{
  display: none;
  background: none;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  padding: 10px;
  color: var(--rc-gold);
}
.menu-toggle svg{ width: 22px; height: 22px; }

/* =========================================================
   4. HERO
   ========================================================= */
.hero{
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(212,169,74,0.12) 0%, rgba(212,169,74,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container{ position: relative; z-index: 1; }

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--rc-border);
  background: rgba(212,169,74,0.06);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--rc-gold);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.hero-badge svg{ width: 14px; height: 14px; }

.hero-title{
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 500;
  max-width: 1000px;
  margin: 0 auto 32px;
}
.hero-title .accent{ color: var(--rc-gold); font-style: italic; }

.hero-subtitle{
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 18px;
  color: var(--rc-gray);
}

.hero-actions{
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   5. FEATURES
   ========================================================= */
.features{
  padding: 60px 0 100px;
  position: relative;
  z-index: 1;
}
.features-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card{
  background: var(--rc-surface);
  border: 1px solid var(--rc-border-soft);
  border-radius: var(--rc-radius);
  padding: 40px 36px;
  transition: transform var(--rc-transition), border-color var(--rc-transition);
}
.feature-card:hover{
  transform: translateY(-4px);
  border-color: var(--rc-border);
}
.feature-icon{
  width: 44px;
  height: 44px;
  color: var(--rc-gold);
  margin-bottom: 22px;
}
.feature-icon svg{ width: 100%; height: 100%; }
.feature-card h3{ font-size: 24px; margin-bottom: 14px; }
.feature-card p{ font-size: 15px; margin: 0; }

/* =========================================================
   6. FEATURED PRODUCTS / PRODUCT GRID
   ========================================================= */
.section{ padding: 90px 0; }
.section-dark{ background: var(--rc-black); }
.section-header{
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2{ font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.section-header p{ font-size: 16px; margin: 0; }

.products-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.product-card{
  background: var(--rc-surface);
  border: 1px solid var(--rc-border-soft);
  border-radius: var(--rc-radius);
  overflow: hidden;
  transition: transform var(--rc-transition), border-color var(--rc-transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover{ transform: translateY(-6px); border-color: var(--rc-border); }
.product-card-media{
  aspect-ratio: 1/1;
  background: var(--rc-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
}
.product-card-media img{ max-height: 100%; object-fit: contain; margin: 0 auto; }
.product-badge{
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(212,169,74,0.9);
  color: #1a1200;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.product-card-body{ padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat{
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rc-gold);
  margin-bottom: 8px;
}
.product-card h3{ font-size: 20px; margin-bottom: 10px; }
.product-card-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rc-border-soft);
}
.product-price{ font-size: 18px; font-weight: 700; color: var(--rc-white); font-family: var(--rc-font-display); }
.product-condition{ font-size: 12px; color: var(--rc-gray); }

.section-cta{ text-align: center; }

/* =========================================================
   7. ABOUT / GENERIC CONTENT PAGE
   ========================================================= */
.page-hero{
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--rc-border-soft);
}
.page-hero h1{ font-size: clamp(36px, 5vw, 56px); }
.page-hero p{ max-width: 620px; margin: 0 auto; }

.entry-content{
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 32px;
}
.entry-content h2{ font-size: 32px; margin-top: 1.6em; }
.entry-content h3{ font-size: 22px; }
.entry-content p{ font-size: 16px; }
.entry-content img{ border-radius: var(--rc-radius); margin: 24px 0; }
.entry-content a{ color: var(--rc-gold); text-decoration: underline; }

/* Highlight card ("Brand New & Pre-Owned Devices") */
.about-highlight-card{
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,169,74,0.14) 0%, rgba(212,169,74,0) 60%),
    linear-gradient(180deg, #16130a 0%, #0d0b06 100%);
  border: 1px solid var(--rc-border);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  margin: 56px 0;
}
.about-highlight-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.about-highlight-icons svg{ width: 34px; height: 34px; color: var(--rc-gold); }
.about-highlight-card h2{ font-size: 30px; margin-top: 0; margin-bottom: 26px; }
.about-highlight-card p{
  max-width: 700px;
  margin: 0 auto 22px;
  font-size: 16px;
  color: var(--rc-white);
  line-height: 1.75;
}
.about-highlight-card p .gold{ color: var(--rc-gold); font-weight: 700; }
.about-highlight-divider{
  width: 60%;
  max-width: 420px;
  margin: 30px auto;
  border: none;
  border-top: 1px solid var(--rc-border);
}

/* 2x2 detailed feature grid (About page) */
.features-grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 56px 0;
}
.features-grid-2 .feature-card p{ font-size: 15px; }

/* "Our Company" info card */
.company-card{
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,169,74,0.10) 0%, rgba(212,169,74,0) 65%),
    linear-gradient(180deg, #16130a 0%, #0d0b06 100%);
  border: 1px solid var(--rc-border);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin: 56px 0;
}
.company-card h2{ font-size: 28px; margin-bottom: 30px; }
.company-card .company-row{ font-size: 16px; color: var(--rc-white); margin-bottom: 16px; }
.company-card .company-row:last-child{ margin-bottom: 0; }
.company-card .company-row strong{ color: var(--rc-gold); font-weight: 700; }

/* =========================================================
   8. CONTACT PAGE
   ========================================================= */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-col > h2{ font-size: 26px; margin-bottom: 30px; }

/* Contact info cards (Phone / Email / Address) */
.contact-card{
  background: var(--rc-surface);
  border: 1px solid var(--rc-border-soft);
  border-radius: var(--rc-radius);
  padding: 28px 30px;
  margin-bottom: 22px;
}
.contact-card-header{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-card-header svg{ width: 18px; height: 18px; color: var(--rc-gold); }
.contact-card-header span{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rc-gold);
}
.contact-entry{ margin-bottom: 14px; }
.contact-entry:last-child{ margin-bottom: 0; }
.contact-entry .entry-name{
  display: block;
  font-size: 13px;
  color: var(--rc-gray);
  margin-bottom: 2px;
}
.contact-entry .entry-value{ display: block; font-size: 16px; color: var(--rc-white); font-weight: 600; }
.contact-entry .entry-value a{ color: var(--rc-white); }
.contact-entry .entry-value a:hover{ color: var(--rc-gold); }
.contact-address{ font-size: 16px; color: var(--rc-white); line-height: 1.7; }

/* Underline-style form (Elementor-friendly markup, plain classes) */
.recell-form .form-field{ margin-bottom: 32px; }
.recell-form label{
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rc-white);
  margin-bottom: 14px;
}
.recell-form label .req{ color: var(--rc-gold); margin-left: 3px; }
.recell-form input,
.recell-form textarea,
.recell-form select{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rc-border-soft);
  padding: 6px 0 12px;
  color: var(--rc-white);
  font-family: var(--rc-font-body);
  font-size: 15px;
  border-radius: 0;
  transition: border-color var(--rc-transition);
}
.recell-form input:focus,
.recell-form textarea:focus,
.recell-form select:focus{
  outline: none;
  border-color: var(--rc-gold);
}
.recell-form textarea{ resize: vertical; min-height: 110px; }
.recell-form .form-note{
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--rc-gray-soft);
  margin: -14px 0 26px;
}

/* =========================================================
   9. FOOTER
   ========================================================= */
.site-footer{
  background: var(--rc-black);
  border-top: 1px solid var(--rc-border-soft);
  padding: 70px 0 0;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .site-title{ font-size: 24px; }
.footer-brand .site-tagline{ margin-bottom: 18px; }
.footer-brand p{ font-size: 14px; max-width: 260px; }

.footer-col h4{
  font-family: var(--rc-font-display);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rc-gold);
  margin-bottom: 20px;
}
.footer-col ul li{ margin-bottom: 12px; }
.footer-col ul li a{
  font-size: 14px;
  color: var(--rc-gray);
  transition: color var(--rc-transition);
}
.footer-col ul li a:hover{ color: var(--rc-gold); }

.footer-contact-item,
.footer-location-item{
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--rc-gray);
}
.footer-contact-item svg,
.footer-location-item svg{
  width: 16px; height: 16px;
  color: var(--rc-gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item a{ color: var(--rc-gray); display: block; }
.footer-contact-item a:hover{ color: var(--rc-gold); }
.footer-location-item span{ line-height: 1.5; }

.footer-bottom{
  border-top: 1px solid var(--rc-border-soft);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .copyright{ font-size: 13px; color: var(--rc-gray-soft); }
.footer-regions{ display: flex; gap: 28px; }
.footer-regions a{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--rc-gray);
  transition: color var(--rc-transition);
}
.footer-regions a:hover{ color: var(--rc-gold); }

/* =========================================================
   10. WORDPRESS DEFAULTS / ALIGNMENT
   ========================================================= */
.alignleft{ float: left; margin-right: 24px; }
.alignright{ float: right; margin-left: 24px; }
.aligncenter{ display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text{ font-size: 13px; color: var(--rc-gray-soft); text-align: center; }

.pagination{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.pagination a, .pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--rc-border-soft);
  border-radius: 8px;
  font-size: 14px;
  color: var(--rc-gray);
}
.pagination .current, .pagination a:hover{
  border-color: var(--rc-gold);
  color: var(--rc-gold);
}

/* =========================================================
   11. RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .features-grid{ grid-template-columns: 1fr; }
  .features-grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .about-stats{ grid-template-columns: 1fr; }
}

@media (max-width: 782px){
  .main-navigation{
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--rc-black);
    border-bottom: 1px solid var(--rc-border-soft);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--rc-transition);
  }
  .main-navigation.is-open{ max-height: 400px; }
  .main-navigation ul{ flex-direction: column; padding: 24px 32px; gap: 22px; align-items: flex-start; }
  .menu-toggle{ display: inline-flex; }
  .hero{ padding: 80px 0 60px; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}
