/*
 * must.anna - Link-in-Bio & UGC Portfolio Stylesheet
 * Quiet Luxury & Boutique Hotel Design Aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Elegant warm neutrals palette */
  --bg-primary: #FAF7F2;      /* Soft Warm Alabaster */
  --bg-card: #FFFFFF;         /* Crisp White */
  --text-primary: #1C1917;    /* Charcoal/Stone 900 */
  --text-secondary: #78716C;  /* Warm Gray/Stone 500 */
  --text-tertiary: #A8A29E;   /* Light Gray/Stone 400 */
  --accent: #BFA17F;          /* Muted Satin Gold */
  --accent-hover: #AA8B69;    /* Deep Gold */
  --accent-light: #F4EFEA;    /* Soft Creamy Sand */
  --border-color: rgba(28, 25, 23, 0.06);
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.03);
  --shadow-md: 0 10px 30px rgba(28, 25, 23, 0.05);
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Base Layout (Mobile First) */
.page-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

/* Hero Section (Left panel on Desktop, Header on Mobile) */
.hero-panel {
  position: relative;
  width: 100%;
  height: 45vh;
  background-image: url('assets/aesthetic_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.5) 0%, rgba(28, 25, 23, 0.1) 70%, rgba(28, 25, 23, 0) 100%);
  z-index: 1;
}

.hero-quote {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  font-family: var(--font-serif);
  max-width: 600px;
}

.hero-quote p {
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.hero-quote span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

/* Content Panel (Right panel on Desktop, Main on Mobile) */
.content-panel {
  width: 100%;
  padding: 2.5rem 1.5rem;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-container {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent) 100%);
  box-shadow: var(--shadow-md);
  margin-top: -4.5rem; /* Overlap mobile hero */
  z-index: 10;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
}

.username {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.title-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.location-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.bio-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 1.5rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--accent-light);
  color: var(--text-primary);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(191, 161, 127, 0.15);
}

/* Links List */
.links-section {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--accent);
  transform: scaleY(0);
  transition: var(--transition);
  transform-origin: bottom;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(191, 161, 127, 0.3);
}

.link-card:hover::before {
  transform: scaleY(1);
}

.link-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--accent-light);
  color: var(--accent);
  transition: var(--transition);
}

.link-card:hover .icon-container {
  background-color: var(--accent);
  color: #FFFFFF;
}

.icon-container svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.link-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.link-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.link-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.chevron-arrow {
  color: var(--text-tertiary);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.link-card:hover .chevron-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

.chevron-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* UGC Showcase Gallery */
.gallery-section {
  width: 100%;
  max-width: 580px;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--accent);
  margin: 0.5rem auto 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, rgba(28, 25, 23, 0.1) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.gallery-caption {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #FFFFFF;
  font-style: italic;
}

/* Collaboration CTA Card */
.collab-card {
  width: 100%;
  max-width: 580px;
  background-color: var(--accent-light);
  border: 1px dashed rgba(191, 161, 127, 0.4);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.collab-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.collab-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.collab-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(28, 25, 23, 0.15);
}

.collab-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.collab-button:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 161, 127, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  width: 100%;
}

/* Responsive Styles */
@media (min-width: 992px) {
  .page-container {
    flex-direction: row;
  }
  
  .hero-panel {
    width: 45%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 4rem;
  }
  
  .content-panel {
    width: 55%;
    margin-left: 45%;
    padding: 5rem 3rem 3rem 3rem;
    min-height: 100vh;
    justify-content: center;
  }
  
  .avatar-wrapper {
    margin-top: 0;
    width: 110px;
    height: 110px;
  }
  
  .hero-quote p {
    font-size: 2.2rem;
  }
}

@media (min-width: 1200px) {
  .hero-panel {
    width: 40%;
  }
  
  .content-panel {
    width: 60%;
    margin-left: 40%;
  }
}
