/*
Theme Name: WRAPX DIGITAL
Theme URI: https://wrapxdigital.co.uk
Author: WWLINX
Author URI: https://wrapxdigital.co.uk
Description: A modern, tech-focused WordPress theme for WRAPX DIGITAL.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wrapxdigital
*/
:root {
  /* Modern Light Palette */
  --color-bg: #ffffff;
  /* White */
  --color-bg-light: #f3f4f6;
  /* Light Grey (Cool Gray 100) */
  --color-bg-lighter: #7A7A7A;
  /* Gray 200 */

  --color-primary: rgb(94, 192, 169);
  /* Sky Blue 600 - Good contrast on white */
  --color-secondary: #ffffff;
  /* White */
  --color-accent: #61CE70;
  /* Amber 500 */

  --color-text: #1f2937;
  /* Gray 800 */
  --color-text-muted: #64748b;
  /* Slate 500 */
  --color-heading: rgb(51, 91, 105);
  /* Slate 900 */

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --spacing-xxl: 100px;

  --border-radius: 4px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 15px rgba(2, 132, 199, 0.2);

  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
h1 {
    font-size: clamp(40px, 8vw, 40px);
}

h2 {
    font-size: clamp(26px, 5vw, 32px);
}

h3 {
    font-size: clamp(20px, 4vw, 24px);
}

p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

.section {
  padding: var(--spacing-xxl) 0;
}

.bg-alt {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay */
.bg-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-light);
  opacity: 0.85; /* adjust for readability */
  z-index: 1;
}

/* Content above overlay */
.bg-alt .container {
  position: relative;
  z-index: 2;
}

/* Buttons & Interactive */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  /* Techy mono look maybe? Keep Inter for readability */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: rgba(2, 132, 199, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.btn-white {
  background-color: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-primary);
  border-color: white;
}


/* Navigation */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);align-content
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: -1px;
}

.logo span {
  color: var(--color-text);
}
.custom-logo-link img{
	width:160px;
	height:100px;
	object-fit:contain;
}
.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-text);
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Navigation Dropdown */
.nav-links li {
  position: relative;
}

.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-bg-light);
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 10px 0;
  z-index: 1000;
  list-style: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-links li:hover .sub-menu {
  display: block;
}

.nav-links .sub-menu li {
  margin: 0;
}

.nav-links .sub-menu li a {
  padding: 10px 20px;
  display: block;
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.nav-links .sub-menu li a:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-lighter);
}

/* Cards */
.card {
  background-color: var(--color-bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-7px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Footer */
footer {
  background-color: var(--color-bg-light);
  /* Match secondary bg or keep dark for contrast? User asked for lighter website, let's go light. */
  color: var(--color-text-muted);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  text-align: left;
}
/* New Section Styles */

/* Badges */
.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Service Cards */
.service-card {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary);
}

.service-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

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

.learn-more {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    display: inline-block;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 25px;
    font-family: var(--font-heading);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(0,0,0,0.1);
    margin-top: 30px;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .step-connector {
        display: none;
    }
}

/* Forms */
.bg-light-blue {
    background-color: #f0f9ff;
}

.quote-form {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
}

.box-shadow {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-bg);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}
/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ==============================
   Mobile Responsive Header start
================================ */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 2px;
}

/*Mobile Responsive Code*/
@media (max-width: 768px) {

  nav {
    height: 70px;
  }

  /* Hide menu by default */
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
    display: none;
  }

  /* Show menu when active */
  .nav-links.active {
    display: flex;
  }

  /* Hide Get a Quote on mobile */
  .get-quote-btn {
    display: none;
  }

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }
}


.nav-links {
  z-index: 9999;
}

/* Ensure nav and menu are positioned correctly on mobile */
@media (max-width: 768px) {
  nav {
    position: relative;
  }

  .nav-links {
    top: 70px; /* match header height */
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    display: none;
    position: absolute;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}




/* ==============================
   Mobile Responsive Header End
================================ */
/* --- New Sections Styles --- */

/* Hero Background Image Support */
.bg-image-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-bg);
    /* Default to white text on bg images */
}

.bg-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    /* Dark overlay */
    z-index: 1;
}

.bg-image-section>.container {
    position: relative;
    z-index: 2;
}

.bg-image-section h1,
.bg-image-section p {
    color: var(--color-bg);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--color-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-block;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
    /* Center featured card vertically if different height */
}

.pricing-card {
    background: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary);
}

.pricing-card.featured {
    background: #0f172a;
    /* Dark theme for featured */
    color: var(--color-bg);
    padding: 50px 40px;
    /* Slightly larger */
    box-shadow: var(--shadow-glow);
    border: none;
    z-index: 2;
}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: var(--color-bg);
}

.pricing-card.featured p,
.pricing-card.featured .features-list li {
    color: #cbd5e1;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-heading);
    margin: 20px 0;
    font-family: var(--font-heading);
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: var(--color-text);
}

.features-list li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0284c7 0%, #0c4a6e 100%);
    color: white;
    padding: 80px 0;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-section .btn {
    background: white;
    color: var(--color-primary);
    border-color: white;
}

.cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}
/* Portfolio Section */
.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    z-index: 2;
}


