/* MASCULINE CHIC LLC - Dark Editorial Magazine Style */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
  --color-bg-dark: #0F0F0F;
  --color-bg-charcoal: #1A1A1A;
  --color-gold: #B8860B;
  --color-gold-light: #D4A843;
  --color-text-ivory: #F5F0E8;
  --color-text-muted: #A09880;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Josefin Sans', sans-serif;

  --transition-smooth: 400ms ease-out;
  --transition-fast: 200ms ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-ivory);
  background-color: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-ivory);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

a {
  color: var(--color-gold-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

a:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 4%;
  transition: background-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  cursor: pointer;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-ivory);
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 6px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  transform: scale(1.1);
}

.hero.parallax .hero-bg {
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--color-text-ivory);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 2rem auto;
}

/* Main Content */
main {
  padding-top: 0;
}

section {
  padding: 6rem 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-dark {
  background-color: var(--color-bg-charcoal);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 1.5rem auto 0;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
  align-items: center;
}

/* Cards */
.card {
  background-color: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(184, 134, 11, 0.3);
  padding: 2.5rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
}

.card h3 {
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Image Containers */
.image-container {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-charcoal);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.image-container:hover img {
  transform: scale(1.05);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 16px;
  height: 16px;
  background-color: var(--color-gold);
  border: 3px solid var(--color-bg-dark);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-content {
  padding: 2rem;
}

.timeline-item:nth-child(even) .timeline-content:first-child {
  text-align: right;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 3rem auto;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(184, 134, 11, 0.3);
  color: var(--color-text-ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn:focus {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 4px;
}

/* Footer */
footer {
  background-color: var(--color-bg-dark);
  border-top: 1px solid rgba(184, 134, 11, 0.2);
  padding: 4rem 4% 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* O2O Info Strip */
.o2o-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background-color: rgba(26, 26, 26, 0.6);
  border-top: 1px solid rgba(184, 134, 11, 0.3);
  border-bottom: 1px solid rgba(184, 134, 11, 0.3);
}

.o2o-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.o2o-item svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
}

.o2o-item h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
}

.o2o-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Product Showcase */
.product-showcase {
  margin: 5rem auto;
  max-width: 1200px;
}

.product-showcase h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.product-showcase h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 1.5rem auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background-color: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(184, 134, 11, 0.3);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold-light);
  padding: 1.5rem;
  text-align: center;
}

.shop-cta {
  text-align: center;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--color-gold);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
}

.btn-secondary:focus {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  section {
    padding: 4rem 4%;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 3rem;
  }

  .timeline-item::before {
    left: 0;
  }

  .timeline-item:nth-child(even) .timeline-content:first-child {
    text-align: left;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 4%;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--color-bg-dark);
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 2rem;
    transition: right var(--transition-smooth);
    border-left: 1px solid rgba(184, 134, 11, 0.2);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  section {
    padding: 3rem 5%;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
