/* ============================================
   BLUE WAVE.in — Handmade Fashion & Accessories
   Color palette from logo: ocean blue gradient
   ============================================ */

:root {
  --cyan-light: #74D7FF;
  --cyan-pale: #E0F7FF;
  --cyan: #00E5FF;
  --sky: #38BDF8;
  --blue: #0077B6;
  --royal: #0056B3;
  --navy: #002366;
  --ice: #F0F9FF;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --text: #1E293B;
  --text-light: #64748B;
  --text-dark: #0F172A;
  --shadow: rgba(0, 86, 179, 0.12);
  --shadow-deep: rgba(0, 86, 179, 0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--ice);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

em {
  font-style: italic;
  color: var(--royal);
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 0.75rem;
}

.section-label--light {
  color: var(--cyan-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--white);
}

.section-title em {
  color: var(--blue);
}

.section-title--light em {
  color: var(--cyan-light);
}

.section-desc {
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--royal);
  color: var(--white);
  border-color: var(--royal);
}

.btn--primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--royal);
  border-color: var(--blue);
}

.btn--ghost:hover {
  background: var(--cyan-pale);
  border-color: var(--royal);
}

.btn--full {
  width: 100%;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 249, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(75, 163, 227, 0.15);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo,
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--royal);
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer__logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--royal);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--royal);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  padding: 0.5rem 1.25rem;
  background: var(--royal);
  color: var(--white) !important;
  border-radius: 50px;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--royal);
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(168, 230, 255, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(56, 189, 248, 0.25) 0%, transparent 45%),
    var(--ice);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.hero__title em {
  color: var(--blue);
  font-style: italic;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow-deep);
}

.hero__image {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--royal);
}

.hero__badge-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--royal);
}

.hero__badge-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Features ---- */
.features {
  padding: 4rem 0;
  background: var(--white);
  border-top: 1px solid rgba(75, 163, 227, 0.12);
  border-bottom: 1px solid rgba(75, 163, 227, 0.12);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-pale);
  border-radius: 50%;
  color: var(--royal);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- About ---- */
.about {
  padding: 6rem 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-col {
  position: relative;
}

.about__image {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px var(--shadow);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about__accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  background: var(--cyan-pale);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__text {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(75, 163, 227, 0.25);
}

.about__stats li {
  text-align: center;
}

.about__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--royal);
  margin-bottom: 0.25rem;
}

.about__stats span {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Collections ---- */
.collections {
  padding: 6rem 0;
  background: var(--white);
}

.collections__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.collection-card {
  background: var(--ice);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(75, 163, 227, 0.1);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow);
}

.collection-card--featured {
  grid-row: span 2;
}

.collection-card--featured .collection-card__image {
  aspect-ratio: auto;
  height: 55%;
}

.collection-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-card:hover .collection-card__image img {
  transform: scale(1.06);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 35, 38, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.collection-card:hover .collection-card__overlay {
  opacity: 1;
}

.collection-card__body {
  padding: 1.5rem;
}

.collection-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--royal);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.collection-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.collection-card__body p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.collection-card__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--royal);
  transition: color var(--transition);
}

.collection-card__link:hover {
  color: var(--navy);
}

/* ---- Craft ---- */
.craft {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.craft__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 50%, var(--blue) 100%);
  z-index: 0;
}

.craft__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.craft__text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.craft__steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.craft__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.craft__step-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cyan-light);
  opacity: 0.7;
  line-height: 1;
}

.craft__step h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.craft__step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.craft__visual {
  display: flex;
  justify-content: center;
}

.craft__image {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  max-width: 420px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---- Testimonial ---- */
.testimonial {
  padding: 5rem 0;
  background: var(--cyan-pale);
}

.testimonial__inner {
  text-align: center;
  max-width: 680px;
}

.testimonial__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial__quote cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--text-light);
}

.testimonial__stars {
  color: var(--royal);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}

/* ---- Contact ---- */
.contact {
  padding: 6rem 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__desc {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--royal);
  transition: color var(--transition);
}

.contact__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact__item:hover {
  color: var(--navy);
}

.contact__form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px var(--shadow);
  border: 1px solid rgba(75, 163, 227, 0.12);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ice);
  border: 1.5px solid rgba(75, 163, 227, 0.25);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(75, 163, 227, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- Footer ---- */
.footer {
  background: linear-gradient(180deg, var(--navy) 0%, #081E33 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  justify-content: center;
  color: var(--cyan-light);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__nav a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--cyan-light);
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .hero__inner,
  .about__inner,
  .craft__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__content {
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .collections__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-card--featured {
    grid-row: span 1;
  }

  .about__image-col {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .craft__visual {
    order: -1;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(240, 249, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(75, 163, 227, 0.15);
  }

  .nav__menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .collections__grid {
    grid-template-columns: 1fr;
  }

  .about__stats {
    justify-content: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .contact__form {
    padding: 1.75rem;
  }
}

/* ---- Animations on scroll ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
