@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Raleway:wght@300;400;500;600&display=swap');

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

:root {
  --teal: #1A7BB5;
  --emerald: #155f8f;
  --dark: #1a1a2e;
  --light: #f8fffe;
  --coral: #f43f5e;
  --magenta: #d946ef;
}

body { font-family: 'Raleway', sans-serif; background: #fff; color: #333; line-height: 1.6; }

/* NAV */
nav { background: #fff; border-bottom: 2px solid var(--teal); padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
nav .logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--teal); text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }
nav .logo .logo-img { height: 60px; width: auto; border-radius: 4px; }
nav ul { list-style: none; display: flex; gap: 1.5rem; }
nav ul li a { text-decoration: none; color: #555; font-weight: 500; transition: color 0.3s; }
nav ul li a:hover, nav ul li a.active { color: var(--teal); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--teal); }

/* HERO */
.hero { position: relative; height: 70vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: relative; z-index: 2; text-align: center; background: rgba(255,255,255,0.85); padding: 2.5rem 3rem; border-radius: 8px; }
.hero-overlay h1 { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--dark); margin-bottom: 0.5rem; }
.hero-overlay p { font-size: 1.2rem; color: #555; margin-bottom: 1.5rem; }
.btn { display: inline-block; padding: 0.75rem 2rem; background: var(--teal); color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600; transition: background 0.3s, transform 0.2s; border: none; cursor: pointer; }
.btn:hover { background: var(--emerald); transform: translateY(-2px); }

/* FEATURED */
.featured { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.featured h2, .section-title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--dark); text-align: center; margin-bottom: 2rem; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.featured-card { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.featured-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.featured-card a { display: block; }
.featured-card a img { width: 100%; height: 300px; object-fit: cover; display: block; transition: opacity 0.2s; }
.featured-card a:hover img { opacity: 0.92; }
.featured-card .card-info { padding: 1rem; background: #fff; }
.featured-card .card-info h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); text-decoration: none; }
.featured-card .card-info p { font-size: 0.85rem; color: #777; text-decoration: none; }
.featured-card { text-decoration: none; }

/* FILTER BAR */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn { padding: 0.5rem 1.25rem; border: 2px solid var(--teal); background: #fff; color: var(--teal); border-radius: 25px; font-family: 'Raleway', sans-serif; font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--teal); color: #fff; }
.gallery-item { transition: transform 0.3s, box-shadow 0.3s, opacity 0.4s; }
.gallery-item.hidden { display: none; }

/* GALLERY GRID */
.gallery-section { padding: 4rem 2rem; max-width: 1400px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 6px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; display: block; }
.gallery-item .item-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(13,148,136,0.85); color: #fff; padding: 0.75rem 1rem; transform: translateY(100%); transition: transform 0.3s; }
.gallery-item:hover .item-overlay { transform: translateY(0); }
.gallery-item .item-overlay h3 { font-size: 0.95rem; font-weight: 600; }
.gallery-item .item-overlay p { font-size: 0.8rem; opacity: 0.9; }

/* SHOWCASE */
.showcase-section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.showcase-piece { margin-bottom: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: #f8f9fb; border: 1px solid #e2e6ec; border-radius: 12px; padding: 2rem; transition: box-shadow 0.3s; }
.showcase-piece:hover { box-shadow: 0 6px 24px rgba(26,123,181,0.1); }
.showcase-piece:nth-child(even) { direction: rtl; }
.showcase-piece:nth-child(even) > * { direction: ltr; }
.showcase-piece img { width: 100%; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.showcase-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); margin-bottom: 0.5rem; }
.showcase-info p { color: #666; margin-bottom: 0.5rem; }
.showcase-info .medium { font-style: italic; color: var(--teal); }

/* ABOUT */
.about-section { padding: 4rem 2rem; max-width: 900px; margin: 0 auto; }
.about-section .about-img { width: 100%; max-width: 400px; border-radius: 8px; margin: 0 auto 2rem; display: block; box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.about-section h1 { font-family: 'Playfair Display', serif; color: var(--dark); font-size: 2.5rem; text-align: center; margin-bottom: 1.5rem; }
.about-section p { font-size: 1.05rem; color: #555; margin-bottom: 1rem; line-height: 1.8; }

/* CONTACT */
.contact-section { padding: 4rem 2rem; max-width: 700px; margin: 0 auto; text-align: center; }
.contact-section h1 { font-family: 'Playfair Display', serif; color: var(--dark); font-size: 2.5rem; margin-bottom: 1rem; }
.contact-section p { color: #555; font-size: 1.1rem; margin-bottom: 2rem; }
.contact-section .email-link { display: inline-block; font-size: 1.3rem; color: var(--teal); font-weight: 600; text-decoration: none; border: 2px solid var(--teal); padding: 1rem 2.5rem; border-radius: 6px; transition: all 0.3s; }
.contact-section .email-link:hover { background: var(--teal); color: #fff; }
.contact-section button.email-link { background: none; font-family: inherit; cursor: pointer; }
.contact-section .email-text { display: inline-block; font-size: 1.3rem; color: var(--teal); font-weight: 600; user-select: all; margin: 1rem 0.5rem 0 0; }
.contact-section .copy-btn { font-family: inherit; font-size: 0.9rem; color: var(--teal); background: none; border: 2px solid var(--teal); border-radius: 6px; padding: 0.4rem 1rem; cursor: pointer; }
.contact-section .copy-btn:hover { background: var(--teal); color: #fff; }
.contact-form { text-align: left; margin-top: 2rem; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 0.3rem; color: #444; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem; border: 2px solid #e0e0e0; border-radius: 4px; font-family: 'Raleway', sans-serif; font-size: 1rem; margin-bottom: 1rem; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); }
.contact-form textarea { height: 150px; resize: vertical; }

/* FOOTER */
footer { background: var(--dark); color: #ccc; text-align: center; padding: 2rem; margin-top: 3rem; }
footer a { color: var(--teal); text-decoration: none; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 1000; align-items: center; justify-content: center; cursor: pointer; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 1rem; right: 1.5rem; color: #fff; font-size: 2rem; cursor: pointer; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 3rem; padding: 0.5rem 1rem; cursor: pointer; border-radius: 4px; transition: background 0.3s; z-index: 1001; }
.lb-arrow:hover { background: rgba(255,255,255,0.3); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 2rem; border-bottom: 2px solid var(--teal); }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { height: 50vh; }
  .hero-overlay h1 { font-size: 2rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .showcase-piece { grid-template-columns: 1fr; }
  .showcase-piece:nth-child(even) { direction: ltr; }
}
