:root{
  --bg:#FFFFFF;
  --text:#0b0b0b;
  --muted:#6b6b6b;
  --accent:#111827;
  --card:#f7f7f8;
  --radius:12px;
  --container:1100px;
  --gap:24px;
  font-size:16px;
}
*{box-sizing:border-box}
html,body{height:100%}
/*body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}*/

body {
            font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
            background-color: var(--color-bg);
            color: var(--color-text);
            line-height: 1.8;
            font-weight: 300;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.site-header{
  border-bottom:1px solid #eee;
  background:linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 0;
}
/* Make header inner a positioned container for absolute mobile nav */
.header-inner{position:relative}
.brand .name{
  font-weight:700;
  font-size:1.15rem;
  color:var(--accent);
  text-decoration:none;
}
.brand .tagline{
  margin:4px 0 0;
  color:var(--muted);
  font-size:0.95rem;
}

.main-nav a{
  color:var(--muted);
  text-decoration:none;
  margin-left:18px;
  font-weight:500;
}
.main-nav a:hover{color:var(--accent)}

/* Mobile nav toggle (hamburger) */
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;border-radius:8px;border:none;background:transparent;cursor:pointer;color:var(--accent);
}
.nav-toggle:focus{outline:2px solid rgba(17,24,39,0.12);outline-offset:2px}
.hamburger{display:block;width:20px;height:2px;background:var(--accent);position:relative}
.hamburger::before,.hamburger::after{content:'';position:absolute;left:0;right:0;height:2px;background:var(--accent)}
.hamburger::before{top:-6px}
.hamburger::after{top:6px}

/* Mobile nav styles: default hidden, slide-down when .open */
.main-nav.open{display:flex}
.main-nav{transition:opacity .18s ease,transform .18s ease}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    text-align: center;
    background: var(--color-bg);
    padding: 2rem;
    position: relative;
    /* background: #f7d361; */
    background-image: url(img/PHOTO-2025-06-06-20-13-38.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, transparent 0%, var(--color-bg-alt) 100%);
            opacity: 0.5;
        }
        
        .hero > * {
            position: relative;
            z-index: 1;
        }
        
        .hero h1 {
            font-size: 5rem;
            margin-bottom: 1.5rem;
            color: var(--color-primary);
            font-weight: 200;
            letter-spacing: -2px;
            color: yellow;
        }
        
        .hero .subtitle {
            font-size: 1.3rem;
            color: var(--color-text-light);
            margin-bottom: 0.5rem;
            font-weight: 300;
            color: white;
        }
        
        .hero .location {
            font-size: 1rem;
            color: var(--color-accent);
            margin-top: 1rem;
            font-weight: 400;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

.section{
  padding:48px 0;
  border-bottom:1px solid #f1f1f1;
}
section h2 {
    margin: 0 0 12px;
    font-size: 2rem;
    letter-spacing: 0.02em;
    text-align: center;
    font-weight: 200;
}

.lead{color:var(--muted);
    /* max-width:70ch */
    text-align: center;
  }

/*Oeuvre Section*/

.oeuvre-item {
    display: flex;
    flex-direction: column;
}

.oeuvre-item img {
    width: 250px;
}

.work-list img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    width: 200px;
}

.work-item {
    margin: 10px;
}

.work-list {
    display: flex;
}

.work-title {
    font-weight: 500;
}

.object-fit-contain {
    object-fit: contain !important;
}

.role {
    font-style: italic;
    font-weight: 400;
}

.oeuvre-item ul {
    display: flex;
    list-style: none;
    flex-direction: column;
}

.oeuvre-item ul li {
    display: flex;
    flex-direction: column;
}

.carousel-block{margin-top:24px}
.carousel{position:relative;display:flex;align-items:center;gap:12px;margin-top:12px}
.carousel-track{
  display:flex;
  gap:14px;
  overflow:hidden;
  width:100%;
  scroll-behavior:smooth;
  padding:6px 0;
}
.card{
  flex:0 0 calc(33.333% - 14px);
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 1px 6px rgba(15,15,15,0.06);
  min-width:260px;
}
.card img{width:100%;height:160px;object-fit:cover;display:block}
.card-body{padding:14px}
.card-body h4{margin:0 0 6px;font-size:1rem}
.meta{font-size:0.85rem;color:var(--muted);margin-bottom:8px}

/* Buttons */
.carousel-btn{
  /* background: transparent; */
  z-index: 999;
  border:none;
  font-size:1.6rem;
  padding:8px;
  cursor:pointer;
  color:var(--muted);
  transition:color .15s ease;
}
.carousel-btn:hover{color:var(--accent)}

.carousel-dots{display:flex;gap:8px;margin-top:10px}
.carousel-dots button{
  width:10px;height:10px;border-radius:50%;border:none;background:#ddd;cursor:pointer;
}
.carousel-dots button.active{background:var(--accent)}

/* Awards */
.awards-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}

.awards-list .award-item {
    display: flex;
    flex-direction: column;
}

.awards-list .award-item img {
    width: 250px;
    height: 354px;
}

.awards-list .award-item strong {
    margin-top: 8px;
    font-weight: 500;
  }

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:10px;
  margin-top:12px;
}
.gallery-grid img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:8px;
  cursor:pointer;
  transition:transform .2s ease;
}
.gallery-grid img:hover{transform:scale(1.02)}

/* Lightbox */
.lightbox{
  position:fixed;inset:0;background:rgba(0,0,0,0.85);display:none;align-items:center;justify-content:center;z-index:9999;padding:20px;
}
.lightbox[aria-hidden="false"]{display:flex}
.lightbox-img{max-width:95%;max-height:85%;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,0.6)}
.lightbox-close{
  position:fixed;right:18px;top:18px;background:transparent;border:none;color:#fff;font-size:1.4rem;cursor:pointer;
}

/* Contact & socials */
.contact-section a{color:var(--accent);text-decoration:underline}
.socials{display:flex;gap:12px;margin-top:12px}
.social{display:inline-flex;width:40px;height:40px;border-radius:8px;align-items:center;justify-content:center;background:#f5f5f5;color:var(--accent);text-decoration:none}
.social svg{width:20px;height:20px}

/* Footer */
.site-footer{padding:24px 0;color:var(--muted);text-align:center}

/* ============ Tablet and down (<= 1024px) ============ */
@media (max-width: 1024px) {
  .container { padding-left: 20px; padding-right: 20px; }

  .hero { padding: 72px 20px 48px; }
  .hero h1 { font-size: clamp(34px, 5vw, 56px); }
  .subtitle { font-size: 16px; }

  /* 2-column layouts for cards/grids */
  .work-list { 
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .awards-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ============ Mobile/tablet (<= 768px) ============ */
@media (max-width: 768px) {
  .site-header { position: sticky; top: 0; z-index: 50; }

  /* Show hamburger, collapse links */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; }

  /* When JS sets aria-expanded="true" on the button, show the menu */
  .nav-toggle[aria-expanded="true"] + .main-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .header-inner { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap; /* allows nav to drop below the toggle */
  }

  .section { padding-top: 40px; padding-bottom: 40px; }
  .lead { font-size: 16px; line-height: 1.7; }

  /* Work cards and awards become 1 column */
  .work-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .awards-list {
    grid-template-columns: 1fr;
  }

  /* Gallery to 2 columns */
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Make thumbnails/images responsive */
  img { max-width: 100%; height: auto; }
  .thumbnail img { width: 100%; display: block; }
}

/* ============ Small mobile (<= 480px) ============ */
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }

  .hero { padding: 56px 16px 36px; }
  .hero h1 { font-size: 32px; line-height: 1.1; }
  .subtitle { font-size: 14px; }

  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  /* Gallery to 1 column */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .socials { gap: 14px; }
}


/* Responsive tweaks */
@media (max-width:900px){
  .card{flex:0 0 calc(50% - 12px)}
}
@media (max-width:640px){
  .header-inner{flex-direction:column;align-items:flex-start;gap:8px}
  .main-nav{display:flex;flex-wrap:wrap;gap:8px}
  .card{flex:0 0 calc(100% - 12px);min-width:280px}
}

/* Mobile behavior: show hamburger and convert nav to slide-down panel */
@media (max-width:640px){
  .nav-toggle{display:inline-flex}

  .main-nav{
    display:none; /* hidden by default on mobile */
    position:absolute;
    left:0;right:0;top:100%;
    background:var(--bg);
    padding:12px 18px;
    box-shadow:0 8px 20px rgba(15,15,15,0.08);
    flex-direction:column;
    gap:8px;
    border-bottom-left-radius:12px;
    border-bottom-right-radius:12px;
    z-index:80;
    transform-origin:top center;
    opacity:0;
    transform:translateY(-8px);
  }
  .main-nav.open{opacity:1;transform:translateY(0)}
  .main-nav a{margin-left:0;padding:10px 6px;border-radius:8px}
}

@media (max-width:420px){
  .hamburger{width:18px}
}

/* Additional targeted media queries for common device families */
/* Small phones (iPhone, many Android devices) */
@media (max-width:420px){
  :root{font-size:15px}
  .container{padding:0 16px}
  .header-inner{padding:14px 0}
  .brand .name{font-size:1rem}
  .brand .tagline{font-size:0.9rem}
  .main-nav a{margin-left:12px;font-size:0.95rem}

  /* Cards: stack full width, reduce image height */
  .card{flex:0 0 100%;min-width:0}
  .card img{height:140px}
  .card-body{padding:12px}

  /* Gallery smaller tiles */
  .gallery-grid{gap:8px}
  .gallery-grid img{border-radius:6px}

  /* Socials slightly smaller */
  .social{width:36px;height:36px}
  .social svg{width:18px;height:18px}
}

/* Very small phones (e.g. older iPhone SE, narrow Androids) */
@media (max-width:360px){
  :root{font-size:14px}
  .brand .name{font-size:0.95rem}
  .lead{max-width:50ch}
  .card img{height:120px}
  .header-inner{padding:12px 0}
}

/* Tablets (iPad portrait and landscape range) */
@media (min-width:641px) and (max-width:1024px){
  :root{font-size:16px}
  .container{padding:0 24px}
  .header-inner{padding:18px 0}

  /* Cards should show two per row on most tablets */
  .card{flex:0 0 calc(50% - 14px);min-width:0}
  .card img{height:180px}

  /* Gallery: slightly larger gaps */
  .gallery-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
}

/* Larger tablets / small laptops: ensure comfortable reading width */
@media (min-width:1025px) and (max-width:1280px){
  .container{max-width:960px}
}
