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

:root {
  --color-bg: #f8f5f0;
  --color-bg-warm: #ede8e0;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-light: #5a5a5a;
  --color-accent: #c45a3b;
  --color-accent-light: #e8c4b8;
  --color-dark: #1a1a1a;
  --color-border: #d4cfc7;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Syne', 'Helvetica Neue', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* Paper Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.02;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

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

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

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  padding: 25px 0;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  transition: var(--transition-smooth);
}

.logo:hover {
  border-color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav a {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav a:hover {
  color: var(--color-text);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--color-accent);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  padding-top: 100px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: var(--color-bg);
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
}

.hero-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 30px;
  color: var(--color-text);
  font-style: italic;
}

.hero-tagline {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 50px;
  max-width: 400px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  width: fit-content;
}

.hero-cta svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: var(--transition-smooth);
}

.hero-cta:hover {
  color: var(--color-accent);
}

.hero-cta:hover svg {
  transform: translateX(5px);
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 40px;
}

.hero-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--color-accent);
  padding: 20px 12px;
  font-weight: 600;
}

/* Categories Section */
.categories {
  padding: 150px 0;
  background: var(--color-bg);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: end;
}

.section-number {
  font-family: var(--font-heading);
  font-size: 10rem;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  margin-bottom: 20px;
}

.section-title {
  font-size: 4rem;
  font-style: italic;
  color: var(--color-text);
}

.section-description {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 500px;
}

/* Asymmetric Grid */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
}

.category-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.category-card:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.category-card:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.category-card:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.category-card:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
}

.category-number {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-accent-light);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.category-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: white;
  font-style: italic;
  margin-bottom: 10px;
}

.category-view {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.category-view svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.category-card:hover .category-view {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Page */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  padding-top: 100px;
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: var(--color-bg-warm);
}

.page-hero-breadcrumb {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 30px;
}

.page-hero h1 {
  font-size: 5rem;
  font-style: italic;
  margin-bottom: 30px;
}

.page-hero p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 400px;
}

.page-hero-image {
  position: relative;
  overflow: hidden;
}

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

/* Gallery Grid */
.gallery {
  padding: 100px 0 150px;
  background: var(--color-bg);
}

/* Horizontal Scroll Gallery */
.gallery-scroll {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 40px 60px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-scroll .gallery-item {
  flex: 0 0 auto;
  width: 400px;
  scroll-snap-align: start;
}

/* Regular Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

/* Contact Page */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 50vh;
  padding-top: 100px;
}

.contact-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: var(--color-bg-warm);
}

.contact-hero-content h1 {
  font-size: 3.5rem;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--color-text);
}

.contact-hero-content p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 400px;
}

.contact-hero-image {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.contact-hero-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.contact-section {
  padding: 100px 0 150px;
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-style: italic;
  margin-bottom: 30px;
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 50px;
  line-height: 1.9;
}

.contact-details {
  margin-bottom: 50px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--color-border);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-detail-content span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 5px;
}

.contact-detail-content p {
  color: var(--color-text);
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.social-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-light);
  transition: var(--transition-smooth);
}

.social-link:hover svg {
  stroke: white;
}

/* Form Styles */
.contact-form {
  background: var(--color-surface);
  padding: 60px;
  border: 1px solid var(--color-border);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-border);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c45a3b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.submit-btn {
  width: 100%;
  padding: 22px 50px;
  background: var(--color-text);
  color: white;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 20px;
}

.submit-btn:hover {
  background: var(--color-accent);
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: white;
  padding: 100px 0 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-top: 20px;
}

.footer-logo {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-nav-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 30px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: white;
}

.footer-newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 20px;
}

.footer-newsletter p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.instagram-link:hover {
  background: var(--color-accent);
  color: white;
}

.instagram-link svg {
  stroke: currentColor;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 50px;
  font-weight: 500;
}

.back-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: var(--transition-smooth);
}

.back-link:hover {
  color: var(--color-accent);
}

.back-link:hover svg {
  transform: translateX(-5px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(248, 245, 240, 0.98);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  background: white;
  padding: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text);
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.lightbox-close:hover svg {
  stroke: white;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    height: 50vh;
  }
  
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(3),
  .category-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
  
  .section-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .page-hero {
    grid-template-columns: 1fr;
  }
  
  .page-hero-image {
    height: 50vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-hero {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 30px;
  }
  
  .nav {
    display: none;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-content {
    padding: 50px 30px;
  }
  
  .section-number {
    font-size: 6rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .page-hero h1 {
    font-size: 3rem;
  }
  
  .page-hero-content {
    padding: 50px 30px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 40px 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }
.fade-up-delay-4 { animation-delay: 0.4s; }

