/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/*=============== FUTURA FONT ===============*/
/* Futura Bold Oblique for major titles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--title-font);
  font-weight: bold;
  font-style: oblique;
}

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /* Red and Black Theme inspired by globe design */
  --first-color: hsl(0, 0%, 0%);           /* Pure black */
  --first-color-alt: hsl(0, 0%, 10%);     /* Dark black */
  --title-color: hsl(0, 0%, 5%);
  --text-color: hsl(0, 0%, 25%);
  --text-color-light: hsl(0, 0%, 50%);
  --body-color: hsl(0, 0%, 98%);
  --container-color: hsl(0, 0%, 100%);
  --border-color: hsl(0, 0%, 90%);
  --accent-color: hsl(0, 85%, 50%);        /* Vibrant red */
  --accent-color-alt: hsl(0, 75%, 45%);   /* Darker red */
  --red-primary: hsl(0, 85%, 50%);
  --red-secondary: hsl(0, 75%, 45%);
  --red-light: hsl(0, 85%, 95%);
  --success-color: hsl(120, 60%, 50%);
  --error-color: hsl(0, 70%, 60%);
  --shadow-light: 0 2px 16px hsla(0, 85%, 50%, 0.1);
  --shadow-medium: 0 4px 32px hsla(0, 85%, 50%, 0.15);
  --shadow-heavy: 0 8px 64px hsla(0, 85%, 50%, 0.2);

  /*========== Font and typography ==========*/
  --body-font: 'Futura', 'Futura-Bold-Oblique', 'Century Gothic', 'AppleGothic', sans-serif;
  --title-font: 'Futura', 'Futura-Bold-Oblique', 'Century Gothic', 'AppleGothic', sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*========== Responsive typography ==========*/
@media screen and (max-width: 1150px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/*========== Dark theme variables ==========*/
body.dark-theme {
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 75%);
  --text-color-light: hsl(0, 0%, 60%);
  --body-color: hsl(0, 0%, 5%);            /* Darker background */
  --container-color: hsl(0, 0%, 8%);      /* Dark containers */
  --border-color: hsl(0, 85%, 50%);       /* Red borders in dark mode */
  --shadow-light: 0 2px 16px hsla(0, 85%, 50%, 0.3);
  --shadow-medium: 0 4px 32px hsla(0, 85%, 50%, 0.4);
  --shadow-heavy: 0 8px 64px hsla(0, 85%, 50%, 0.5);
}

/*=============== DARK MODE BUTTON STYLES ===============*/
.dark-theme .button--primary {
  background-color: var(--accent-color);
  color: var(--body-color);
  border: 2px solid var(--accent-color);
}

.dark-theme .button--primary:hover {
  background-color: var(--accent-color-alt);
  border-color: var(--accent-color-alt);
  box-shadow: 0 0 30px hsla(0, 85%, 50%, 0.4);
}

.dark-theme .button--secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.dark-theme .button--secondary:hover {
  background-color: var(--accent-color);
  color: var(--body-color);
  box-shadow: 0 0 25px hsla(0, 85%, 50%, 0.3);
}

.dark-theme .button--ghost {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color-light);
}

.dark-theme .button--ghost:hover {
  background-color: var(--text-color-light);
  color: var(--body-color);
  border-color: var(--text-color);
}

/*=============== DARK MODE NAVIGATION STYLES ===============*/
.dark-theme .nav__link {
  color: var(--text-color);
}

.dark-theme .nav__link:hover,
.dark-theme .nav__link.active-link {
  color: var(--accent-color);
}

.dark-theme .nav__link.active-link::after {
  background-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

/*=============== DARK MODE SOCIAL/FOLLOW BUTTONS ===============*/
.dark-theme .footer__social-link {
  background-color: var(--container-color);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.dark-theme .footer__social-link:hover {
  background-color: var(--accent-color);
  color: var(--container-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px hsla(0, 85%, 50%, 0.4);
  transform: translateY(-2px);
}

/*=============== DARK MODE THEME TOGGLE BUTTON ===============*/
.dark-theme .theme-toggle {
  background-color: var(--container-color);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 2px 8px hsla(0, 85%, 50%, 0.2);
}

.dark-theme .theme-toggle:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--container-color);
  box-shadow: 0 4px 16px hsla(0, 85%, 50%, 0.4);
  transform: rotate(180deg);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  font-style: oblique;
  font-weight: bold;
  transition: background-color 0.2s, color 0.2s;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.15s ease;
}

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

a:visited {
  color: var(--accent-color);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
}

.section {
  padding-block: 5rem 2rem;
}

.section__title {
  font-family: var(--title-font);
  font-size: var(--h1-font-size);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: 3rem;
}

.section__header {
  margin-bottom: 4rem;
}

.main {
  overflow: hidden;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-family: var(--title-font);
  font-weight: bold;
  transition: all 0.15s ease;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: var(--normal-font-size);
}

.button--primary {
  background-color: var(--first-color);
  color: var(--container-color);
}

.button--primary:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button--secondary {
  background-color: var(--accent-color);
  color: var(--container-color);
  box-shadow: 0 0 20px hsla(0, 85%, 50%, 0.3);
}

.button--secondary:hover {
  background-color: var(--accent-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 4px 30px hsla(0, 85%, 50%, 0.5);
}

.button--ghost {
  background-color: transparent;
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.button--ghost:hover {
  background-color: var(--first-color);
  color: var(--container-color);
}

.button--small {
  padding: 0.75rem 1.5rem;
  font-size: var(--small-font-size);
}

.button--full {
  width: 100%;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.2s ease;
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  font-family: var(--title-font);
  font-weight: bold;
  font-size: var(--h3-font-size);
  color: var(--title-color);
}

.logo-text {
  color: var(--first-color);
}

.logo-accent {
  color: var(--accent-color);
}

.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav__list {
  display: flex;
  column-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: color 0.3s;
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--first-color);
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.15s ease;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.1);
}

.theme-toggle:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--container-color);
  transform: rotate(180deg);
  box-shadow: 0 4px 16px hsla(0, 85%, 50%, 0.3);
}

.theme-toggle i {
  display: block;
  line-height: 1;
}

.theme-toggle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.theme-label {
  font-size: 0.420rem;
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
  user-select: none;
}

/* Header blur effect */
.blur-header {
  background-color: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.dark-theme .blur-header {
  background-color: hsla(0, 0%, 8%, 0.8);
}

/*=============== HERO ===============*/
.hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/*=============== PROCEDURAL WIREFRAME GLOBE ===============*/
.globe-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#wireframe-globe {
  width: 400px;
  height: 400px;
  /* border-radius: 50%; */
  background: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*=============== GLOBE LOGO ===============*/
.globe-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  animation: float-logo 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-logo {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-3px);
  }
}

.logo-text {
  display: block;
  font-family: var(--title-font);
  font-weight: bold;
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
  letter-spacing: 0.1em;
}

.logo-text:first-child {
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
}

.logo-text:last-child {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-color);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/*=============== HERO CONTENT ===============*/
.hero__content {
  max-width: 600px;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--title-font);
  font-size: var(--biggest-font-size);
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  color: var(--accent-color);
  display: inline;
  text-shadow: 
    0 0 10px hsla(0, 85%, 50%, 0.5),
    0 0 20px hsla(0, 85%, 50%, 0.3),
    0 0 30px hsla(0, 85%, 50%, 0.2);
  animation: glow-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    text-shadow: 
      0 0 10px hsla(0, 85%, 50%, 0.5),
      0 0 20px hsla(0, 85%, 50%, 0.3),
      0 0 30px hsla(0, 85%, 50%, 0.2);
  }
  to {
    text-shadow: 
      0 0 15px hsla(0, 85%, 50%, 0.8),
      0 0 25px hsla(0, 85%, 50%, 0.5),
      0 0 35px hsla(0, 85%, 50%, 0.3);
  }
}

.hero__description {
  font-size: var(--h3-font-size);
  color: var(--text-color-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  column-gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/*=============== PRODUCTS ===============*/
.products {
  background-color: var(--container-color);
}

.products__container {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.product__card {
  background-color: var(--body-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.15s ease;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}

.product__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.product__image {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product__card:hover .product__img {
  transform: scale(1.05);
}

.product__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent-color);
  color: var(--container-color);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  box-shadow: 0 2px 15px hsla(0, 85%, 50%, 0.4);
  animation: pulse-red 1s infinite;
}

@keyframes pulse-red {
  0%, 100% {
    box-shadow: 0 2px 15px hsla(0, 85%, 50%, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px hsla(0, 85%, 50%, 0.7);
  }
}

.product__content {
  padding: 1.5rem;
  flex-shrink: 0;
}

.product__title {
  font-family: var(--title-font);
  font-size: var(--h3-font-size);
  font-weight: bold;
  font-style: oblique;
  margin-bottom: 0.75rem;
}

.product__description {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-style: oblique;
  font-weight: bold;
}

.product__details {
  margin-bottom: 1.5rem;
}

.product__price {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  font-style: oblique;
  color: var(--first-color);
  display: block;
  margin-bottom: 1rem;
}

.product__sizes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-label {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-right: 0.5rem;
}

.size-options {
  display: flex;
  gap: 0.5rem;
}

.size-btn {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-color);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: var(--small-font-size);
  font-style: oblique;
  font-weight: bold;
}

.size-btn:hover,
.size-btn.selected {
  background-color: var(--first-color);
  color: var(--container-color);
  border-color: var(--first-color);
}

/*=============== PRODUCT GALLERY ===============*/
.product__gallery {
  position: relative;
  height: 100%;
  width: 100%;
}

.product__gallery .product__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.product__gallery .product__img[data-view="back-model"] {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  transform: scale(1.0);
}

.product__gallery .product__img.active {
  opacity: 1;
}

.product__nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
}

.nav-btn {
  padding: 0.25rem 0.75rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  cursor: pointer;
  transition: all 0.15s ease;
}

.nav-btn:hover,
.nav-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

/*=============== SUCCESS PAGE ===============*/
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: 3rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: pulse-success 1s infinite;
}

.success-icon i {
  font-size: 2.5rem;
  color: white;
}

@keyframes pulse-success {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(220, 38, 38, 0);
  }
}

.success-title {
  font-size: var(--h1-font-size);
  font-family: var(--title-font);
  margin-bottom: 1rem;
  color: var(--title-color);
}

.success-message {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.success-details {
  background: var(--container-color);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.success-details p {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.success-details p:last-child {
  margin-bottom: 0;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/*=============== ABOUT ===============*/
.about__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  column-gap: 3rem;
}

.about__data {
  text-align: left;
}

.about__description {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about__features {
  display: grid;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  column-gap: 1rem;
}

.feature__icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 0.25rem;
}

.feature__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.feature__description {
  color: var(--text-color-light);
  line-height: 1.5;
}

.about__img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-medium);
  border: none !important;
  outline: none !important;
}

/*=============== CONTACT ===============*/
.contact__container {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
}

.contact__info {
  display: grid;
  gap: 2rem;
}

.contact__item {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.contact__icon {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.25rem;
}

.contact__description {
  color: var(--text-color-light);
}

/*=============== FORMS ===============*/
.contact__form,
.payment-form,
.fallback-form {
  display: grid;
  gap: 1.5rem;
}

.form__group {
  position: relative;
}

.form__label {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  background-color: var(--container-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: border-color 0.15s ease;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--first-color);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  color: var(--error-color);
  font-size: var(--small-font-size);
  margin-top: 0.5rem;
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--first-color);
  color: var(--container-color);
  padding-block: 3rem 2rem;
}

.footer__container {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  font-weight: var(--font-bold);
  font-size: var(--h3-font-size);
  color: var(--container-color);
  margin-bottom: 1rem;
}

.footer__description {
  color: hsl(0, 0%, 75%);
  line-height: 1.6;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.footer__list {
  display: grid;
  gap: 0.75rem;
}

.footer__link {
  color: hsl(0, 0%, 75%);
  transition: color 0.15s ease;
}

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

.footer__social-links {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  display: inline-flex;
  padding: 0.5rem;
  background-color: var(--first-color-alt);
  color: var(--container-color);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: all 0.15s ease;
}

.footer__social-link:hover {
  background-color: var(--accent-color);
  color: var(--first-color);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--first-color-alt);
  text-align: center;
}

.footer__copy {
  color: hsl(0, 0%, 60%);
  font-size: var(--small-font-size);
}

/*=============== MODAL ===============*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background-color: var(--container-color);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(50px);
  transition: transform 0.3s ease;
}

.modal.show .modal__content {
  transform: translateY(0);
}

.modal__content--success {
  text-align: center;
  max-width: 400px;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal__title {
  font-family: var(--title-font);
  font-size: var(--h2-font-size);
  font-weight: bold;
  color: var(--title-color);
}

.modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.modal__close:hover {
  background-color: var(--border-color);
  color: var(--title-color);
}

/*=============== ORDER SUMMARY ===============*/
.order-summary {
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.order-summary__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-item__name {
  font-weight: var(--font-medium);
}

.order-item__size {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.order-item__price {
  font-weight: var(--font-bold);
  color: var(--first-color);
}

/*=============== FALLBACK FORM ===============*/
.fallback-form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.fallback-title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.fallback-description {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.payment-toggle {
  text-align: center;
  margin-top: 1.5rem;
}

/*=============== SUCCESS MODAL ===============*/
.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.success-title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
}

.success-message {
  color: var(--text-color-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/*=============== SPINNER ===============*/
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 0.5s linear infinite;
}

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

.hidden {
  display: none !important;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--border-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-color-light);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 1150px) {
  .container {
    margin-inline: 1rem;
  }
  
  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  
  .about__data {
    text-align: center;
  }
  
  .globe-container {
    width: 300px;
    height: 300px;
  }
  
  .logo-obv {
    font-size: 2rem;
  }
  
  .logo-collective {
    font-size: 1rem;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background-color: var(--container-color);
    padding: 6rem 2rem 2rem;
    transition: right 0.2s;
    box-shadow: var(--shadow-heavy);
  }
  
  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
  }
  
  .nav__close,
  .nav__toggle {
    display: block;
  }
  
  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .show-menu {
    right: 0;
  }
  
  .hero__buttons {
    justify-content: center;
  }
  
  .products__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer__container {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    text-align: center;
  }
  
  .modal__content {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }
  
  .products__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .product__card {
    min-height: 500px;
    aspect-ratio: unset;
  }
  
  .product__image {
    min-height: 300px;
  }
  
  .product__content {
    padding: 1rem;
  }
  
  .contact__container {
    grid-template-columns: 1fr;
  }
  
  .size-options {
    flex-wrap: wrap;
  }
  
  .order-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .globe-container {
    width: 250px;
    height: 250px;
    margin-bottom: 2rem;
  }
  
  .logo-obv {
    font-size: 1.5rem;
  }
  
  .logo-collective {
    font-size: 0.875rem;
  }
  
  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }
}

/*=============== GLOBE HOVER EFFECTS ===============*/
/* Base transition for smooth hover in/out */
#wireframe-globe {
  transition: filter 0.15s ease;
}

/* Globe theme adaptation handled in JavaScript */

#logo-text {
  transition: text-shadow 0.15s ease;
}
/* Clean hover effect for wireframe globe only - no transform to avoid pushing */
.globe-container:hover #wireframe-globe {
  filter: brightness(1.03) contrast(1.02) saturate(1.05);
}

/* Subtle hover effect for floating logo */
.globe-container:hover .logo-text {
  text-shadow: 
    0 0 25px rgba(220, 38, 38, 0.8),
    0 0 35px rgba(220, 38, 38, 0.4);
  /*transition: all 0.3s ease;*/
}