/* =========================================================
   DIGITAL SWINDON – CORE STYLESHEET
   Typography: Lato
   Theme: Dark / Cyan Accent
   ========================================================= */

/* --------------------
   GLOBAL VARIABLES
-------------------- */
:root {
  --bg: #ffffff;
  --bg-2: #000000;
  --panel: #111111;
  --card-bg: #1a1a1a;
  --muted: #9aa0a6;
  --accent: #00d1ff;
  --accent-2: #7c4dff;
  --radius: 12px;
  --container: 1200px;
  --text: #ffffff;
  --text-dark: #000000;
}

/* --------------------
   BASE STYLES
-------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------
   TYPOGRAPHY
-------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--text-dark);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

/* --------------------
   BUTTONS
-------------------- */
.btn,
.btn-outline {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.btn {
  background: var(--accent);
  color: var(--text-dark);
}

.btn:hover {
  opacity: 0.9;
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-dark);
}

/* --------------------
   HEADER / NAVIGATION
-------------------- */
.site-header {
  background: var(--bg-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand img {
  height: 200px;
}

.nav a {
  margin-left: 22px;
  color: var(--bg);
  font-weight: 600;
}

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

.nav .btn {
  margin-left: 34px;
  color: #000;
}

/* --------------------
   HERO SECTION
-------------------- */
.hero-variant {
  padding: 80px 0;
  background: var(--bg);
	  transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
border: 1px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-text p {
  color: var(--bg-2);
  margin: 0;
}

.hero-image img {
  border-radius: var(--radius);
}

.hero-panel {
  background: var(--bg-2);
  color: var(--bg);
  padding: 20px;
  font-size: 24px;
}

.hero-panel h2 {
  color: var(--bg);
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 36px;
  }
}

/* --------------------
   SECTIONS
-------------------- */
.section {
  padding: 56px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 36px;
}

/* --------------------
   GRID LAYOUTS
-------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--bg);
  color: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.feature svg {
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* --------------------
   CTA QUOTE
-------------------- */
.cta-quote {
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-quote h2 {
  color: var(--bg);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-quote p {
  color: var(--bg);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.cta-quote .btn {
  background: var(--bg-2);
  color: var(--accent);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.cta-quote .btn:hover {
  opacity: 0.9;
}

/* --------------------
   CONTACT PAGE
-------------------- */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-wrapper form {
  display: grid;
  gap: 14px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  background: #0b0b0b;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  font-size: 15px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.contact-list strong {
  color: var(--accent);
}

/* --------------------
   FOOTER
-------------------- */
.site-footer {
  background: var(--bg-2);
  color: var(--bg);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand img {
  height: 200px;
  margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4,
.footer-legal h4 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-links a,
.footer-legal a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--bg);
}

/* Manage Cookies button */
.footer-legal .btn-outline.small {
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.8rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer-legal .btn-outline.small:hover {
  background: var(--accent);
  color: #000;
}

/* --------------------
   COOKIE BANNER
-------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--panel);
  color: var(--text);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner .btn,
.cookie-banner .btn-outline {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.cookie-banner .btn {
  background: var(--accent);
  color: #000;
  border: none;
}

.cookie-banner .btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.cookie-banner.hidden {
  display: none;
}

/* --------------------
   RESPONSIVE FOOTER / COOKIE
-------------------- */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* --------------------
   SECTION FADE-IN ANIMATION
-------------------- */
.fade-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* --------------------
   CAROUSEL STYLES
-------------------- */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 75%;
  margin: 60px auto;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--bg-2);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  text-align: center;
  padding: 40px 20px;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  margin-bottom: 20px;
}

.carousel-slide h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.carousel-slide p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--bg-2);
  font-size: 1.1rem;
}

.carousel-nav {
  position: absolute;
  top: 45%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  border: none;
  cursor: pointer;
  font-size: 2rem;
  padding: 10px 20px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: var(--accent);
  color: #000;
}

.carousel-indicators {
  text-align: center;
  margin: 10px 0 10px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  margin: 0 10px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicators button.active {
  background: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-slide {
    padding: 60px 10px;
  }
  .carousel-slide h2 {
    font-size: 1.5rem;
  }
  .carousel-slide p {
    font-size: 1rem;
  }
}
