/* ==========================================================================
   New Horizon Studios — Master Stylesheet
   Typography: Cormorant Garamond (Editorial Serif) & Montserrat (Clean Sans)
   ========================================================================== */

/* --- 1. CSS Reset & Variables --- */
:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --color-black: #111111;
  --color-dark: #222222;
  --color-body: #444444;
  --color-muted: #777777;
  --color-light-muted: #999999;
  --color-border: #e8e8e8;
  --color-border-light: #f0f0f0;
  --color-bg-light: #fafafa;
  --color-white: #ffffff;
  
  --site-max-width: 1200px;
  --content-max-width: 1040px;
  --header-height: 80px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-body);
  background-color: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 2. Typography Hierarchy --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-black);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.sub-heading {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.header-divider {
  width: 40px;
  height: 1px;
  background: var(--color-black);
  margin: 0 auto 20px;
}

/* --- 3. Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 2px;
  color: var(--color-black);
  text-transform: uppercase;
}

.brand-logo span {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--color-muted);
  margin-left: 4px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-dark);
  padding: 6px 0;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-black);
  transition: width var(--transition-fast);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.cart-link {
  font-weight: 500 !important;
}

#cart-count {
  font-size: 0.7rem;
}

/* --- 4. Buttons & Interactive Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}

.btn-primary:hover {
  background: #333333;
  border-color: #333333;
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* --- 5. Home / Hero & Intro --- */
.hero-section {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-section h1 {
  margin-bottom: 20px;
}

.hero-section .lead-text {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1rem;
  color: var(--color-muted);
}

/* --- 6. Gallery / Shop Grid --- */
.gallery-section {
  padding: 40px 0 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-light);
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.03);
}

.product-info {
  text-align: center;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-black);
  margin-bottom: 4px;
}

.product-meta {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--color-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-black);
  margin-top: 6px;
}

/* --- 7. About Page --- */
.about-main {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 40px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content blockquote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
  border-left: 2px solid var(--color-black);
  padding-left: 20px;
  margin: 28px 0;
  color: var(--color-dark);
}

/* --- 8. Solid Block Contact Page --- */
.contact-main {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.contact-header {
  text-align: center;
  margin-bottom: 70px;
}

.contact-header h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
  color: var(--color-black);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  align-items: start;
}

/* Left Column: Clean Contact Details */
.clean-details p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-black);
  line-height: 1.8;
  margin: 0 0 24px 0; 
}

.clean-details a {
  color: var(--color-black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.clean-details a:hover {
  border-bottom-color: var(--color-black);
}

/* Right Column: Solid Block Form */
.solid-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.solid-form .form-field {
  margin-bottom: 16px;
}

.solid-form input[type="text"],
.solid-form input[type="email"],
.solid-form select,
.solid-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: #f4f4f4; 
  border: none; 
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-black);
  box-sizing: border-box;
  transition: background 0.25s ease;
  -webkit-appearance: none;
}

.solid-form input::placeholder,
.solid-form textarea::placeholder {
  color: #777;
  font-weight: 300;
}

.solid-form input:focus,
.solid-form select:focus,
.solid-form textarea:focus {
  outline: none;
  background: #e8e8e8; 
}

.solid-form .select-wrapper {
  position: relative;
}

.solid-form .select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #333;
  pointer-events: none;
}

.solid-form textarea {
  resize: vertical;
  min-height: 140px;
}

.solid-form .btn-submit {
  display: block;
  width: 100%;
  padding: 18px 28px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 10px;
}

.solid-form .btn-submit:hover {
  background: #333;
}

/* --- 9. Site Footer --- */
.site-footer {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border-light);
  padding: 60px 0 40px;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.footer-links a:hover {
  color: var(--color-black);
}

/* --- 10. Responsive Breakpoints --- */
@media (max-width: 860px) {
  .contact-layout,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solid-form .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 18px 0;
    gap: 16px;
  }

  .site-nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}