/* ========================================
   Forever Jewelry PH - Styles
   Color Palette: Rose gold (#b76e79), Charcoal (#2d2d2d), Soft pink (#fdf2f0)
   Fonts: Cormorant Garamond + Mulish
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --rose-gold: #b76e79;
  --rose-gold-light: #d4a0a7;
  --rose-gold-dark: #9a5660;
  --charcoal: #2d2d2d;
  --soft-pink: #fdf2f0;
  --white: #ffffff;
  --text-light: #6b6b6b;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Mulish', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section Shared --- */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--rose-gold);
  margin: 0.75rem auto 1.5rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose-gold);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--charcoal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 45, 45, 0.55) 0%,
    rgba(45, 45, 45, 0.35) 50%,
    rgba(45, 45, 45, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 2px;
  font-family: 'Mulish', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--rose-gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rose-gold-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--rose-gold);
  color: var(--rose-gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--rose-gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================
   About Section
   ======================================== */
.about {
  padding: 6rem 0;
  background: var(--soft-pink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.about-text .section-divider {
  margin: 0.75rem 0 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.about-feature {
  text-align: center;
}

.about-feature .feature-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-gold);
}

.about-feature .feature-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ========================================
   Collections Section
   ======================================== */
.collections {
  padding: 6rem 0;
  background: var(--white);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.collection-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.collection-card-image {
  overflow: hidden;
  aspect-ratio: 1;
}

.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.05);
}

.collection-card-info {
  padding: 1.5rem;
  text-align: center;
}

.collection-card-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.collection-card-info .price {
  color: var(--rose-gold);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.collection-card-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */
.services {
  padding: 6rem 0;
  background: var(--soft-pink);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--rose-gold);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   Gallery Banner
   ======================================== */
.gallery-banner {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.gallery-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.gallery-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.65);
}

.gallery-banner-content {
  position: relative;
  z-index: 1;
}

.gallery-banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gallery-banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

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

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-info .section-divider {
  margin: 0.75rem 0 1.5rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--soft-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rose-gold);
  font-size: 1rem;
}

.contact-detail-text h4 {
  font-family: 'Mulish', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.contact-detail-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-detail-text a {
  color: var(--rose-gold);
  transition: color var(--transition);
}

.contact-detail-text a:hover {
  color: var(--rose-gold-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Mulish', sans-serif;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e0d6d3;
  border-radius: 2px;
  background: var(--soft-pink);
  color: var(--charcoal);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--rose-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 350px;
}

.footer-links h4,
.footer-social h4 {
  font-family: 'Mulish', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  color: var(--rose-gold-light);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--rose-gold-light);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--rose-gold);
  color: var(--rose-gold);
  background: rgba(183, 110, 121, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: -1;
    max-height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--charcoal);
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-text h2,
  .contact-info h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 2rem;
    font-size: 0.8rem;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }
}
