/* ===========================
   Tommies Bar - Clean Stylesheet
   Palette: offwhite / olive / copper
   =========================== */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Theme tokens */
:root{
  --bg: #fbfaf7;
  --bg-2: #f3f1ec;

  --text: #151515;
  --muted: #5d5d5d;

  --olive-1: #1f2a22;
  --olive-2: #2e3a2b;
  --olive-3: #3f4d32;

  --copper: #b08b2e;

  --card: rgba(255,255,255,.78);
  --card-border: rgba(0,0,0,.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 18px;

  --shadow-sm: 0 10px 24px rgba(0,0,0,.08);
  --shadow-md: 0 12px 30px rgba(0,0,0,.10);
  --transition: all .25s ease;
}

/* Base */
body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(176,139,46,.10), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(31,42,34,.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================
   Header / Nav
   =========================== */
.main-header{
  background: linear-gradient(135deg, var(--olive-1), var(--olive-2), var(--olive-3));
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.nav-wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo img{
  height: 50px;
  width: auto;
  filter: brightness(1.08) contrast(1.02);
}

.nav-menu{
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

.nav-menu a{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .5px;
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after{
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,.65);
  transition: var(--transition);
}

.nav-menu a:hover{ color: #fff; }
.nav-menu a:hover::after{ width: 100%; }

.mobile-menu-toggle{
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  gap: 5px;
}

.mobile-menu-toggle span{
  width: 25px;
  height: 2px;
  background: rgba(255,255,255,.9);
  transition: var(--transition);
}

/* Main content wrapper */
.main-content{ min-height: calc(100vh - 200px); }

/* ===========================
   Buttons
   =========================== */
.btn{
  display: inline-block;
  text-align: center;
  text-decoration: none;
  cursor: pointer;

  border-radius: 999px;
  padding: .95rem 1.6rem;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;

  border: 1px solid rgba(31,42,34,.35);
  color: var(--olive-1);
  background: rgba(255,255,255,.55);
  transition: var(--transition);
}

.btn:hover{
  background: rgba(255,255,255,.85);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary{
  background: linear-gradient(135deg, var(--olive-2), var(--olive-1));
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}

.btn-primary:hover{ filter: brightness(1.05); }

/* Action buttons row */
.action-buttons{
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

/* ===========================
   Sections / Typography blocks
   =========================== */
.section{ padding: 5rem 0; }
.section-dark{ background: var(--bg-2); }

.section-title{
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-subtitle{
  text-align: center;
  font-size: 1.1rem;
  color: rgba(31,42,34,.75);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.content-section{
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.content-section h2{ font-size: 2.4rem; color: var(--olive-1); }
.content-section h3{ font-size: 1.6rem; margin-top: 1.2rem; color: rgba(31,42,34,.88); }
.content-section p{ margin-bottom: 1.2rem; font-size: 1.1rem; line-height: 1.8; color: var(--muted); }

/* Default lists (non-feature-list) */
.content-section ul{
  list-style: none;
  padding-left: 0;
  margin: 1.2rem 0;
}
.content-section ul li{
  padding: .45rem 0 .45rem 1.4rem;
  position: relative;
  color: var(--muted);
}
.content-section ul li::before{
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--copper);
}

/* ===========================
   Home / Hero
   =========================== */
.hero-modern{
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.hero-modern .hero-media{ position: absolute; inset: 0; }
.hero-modern .hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.92) contrast(1.02) saturate(1.02);
}

.hero-modern::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(251,250,247,.10), rgba(251,250,247,.65));
  z-index: 1;
}

.hero-inner{ position: relative; z-index: 2; width: 100%; padding: 5rem 0; }

.hero-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}

.hero-card-center{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker{
  color: rgba(31,42,34,.70);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: .75rem;
}

.hero-title{
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  margin-bottom: .75rem;
  color: var(--olive-1);
}

.hero-subtitle{
  font-size: 1.15rem;
  color: rgba(21,21,21,.72);
  margin: 0 auto 1.75rem auto;
  max-width: 56ch;
}

.hero-actions-center{
  display: flex;
  justify-content: center;
  gap: .9rem;
  flex-wrap: wrap;
}

/* Optional smaller hero for inner pages */
.hero-small{ min-height: 42vh; }
.hero-small .hero-inner{ padding: 3.5rem 0; }

/* ===========================
   Image Grids (uniform)
   =========================== */
.image-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin: 3rem 0;
}

.image-item{
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.image-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.image-item:hover img{ transform: scale(1.03); }

/* Mosaic (also uniform tiles) */
.mosaic{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.mosaic-item{
  grid-column: span 3;     /* 4 across */
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.mosaic-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.mosaic-item:hover img{ transform: scale(1.03); }

/* ===========================
   Events
   =========================== */
.events-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.event-card{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.event-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.event-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.event-card-content{ padding: 1.25rem; }
.event-card h3{ font-size: 1.35rem; margin-bottom: .4rem; color: var(--olive-1); }
.event-card p{ color: var(--muted); font-size: .95rem; }

/* ===========================
   Contact
   =========================== */
.contact-form{
  background: rgba(255,255,255,.82);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-md);
}

.form-group{ margin-bottom: 1.25rem; }

.form-group label{
  display:block;
  margin-bottom: .5rem;
  color: var(--olive-1);
  font-weight: 600;
}

.form-group input,
.form-group textarea{
  width: 100%;
  padding: .9rem;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus{
  outline: none;
  border-color: rgba(176,139,46,.6);
  box-shadow: 0 0 0 3px rgba(176,139,46,.15);
}

.form-group textarea{ resize: vertical; min-height: 150px; }

.form-message{
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  text-align: center;
}

.form-message.success{
  background: rgba(76,175,80,.12);
  border: 1px solid rgba(76,175,80,.35);
  color: #2e7d32;
}

.form-message.error{
  background: rgba(244,67,54,.12);
  border: 1px solid rgba(244,67,54,.35);
  color: #c62828;
}

.map-container{
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  height: 420px;
  box-shadow: var(--shadow-md);
}

.map-container iframe{
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================
   Instagram
   =========================== */
.instagram-section{ text-align: center; }

.instagram-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
}

.instagram-grid .instagram-media{
  width: 100% !important;
  min-width: unset !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
}

/* ===========================
   Social Icon Buttons
   =========================== */
.social-icon-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: .75rem;
}

.social-icon{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.08);
  color: var(--olive-1);
  text-decoration:none;
  transition: var(--transition);
}

.social-icon svg{ color: var(--copper); }
.social-icon span{ font-size:.95rem; letter-spacing:.02em; }

.social-icon:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}

/* ===========================
   Feature List (About)
   Olive panel + copper shadow
   =========================== */
.feature-list{
  background: linear-gradient(135deg, #2a3a2d, #1f2a22);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0 2.25rem;
  box-shadow:
    0 14px 35px rgba(176,139,46,0.35),
    0 6px 18px rgba(0,0,0,0.18);
}

.feature-list ul{ margin: 0; padding: 0; list-style: none; }

.feature-list li{
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .75rem;
  color: #f6f4ef;
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-list li:last-child{ margin-bottom: 0; }

.feature-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 6px rgba(176,139,46,0.75);
}

/* ===========================
   Footer (olive gradient)
   =========================== */
.main-footer{
  background: linear-gradient(135deg, var(--olive-1), var(--olive-2), var(--olive-3));
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.main-footer::before{
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(176,139,46,0.8), transparent);
  margin-bottom: 3rem;
}

.footer-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4{
  color: #f6f4ef;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-section p{ color: rgba(246,244,239,.75); font-size: .95rem; }

.footer-section a{
  color: rgba(176,139,46,.92);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover{
  color: #f6f4ef;
  text-decoration: underline;
}

.social-links{ display:flex; gap: 1.25rem; }
.social-links a{ color: rgba(246,244,239,.85); font-weight: 500; }
.social-links a:hover{ color: rgba(176,139,46,1); }

.footer-bottom{
  text-align:center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(246,244,239,0.6);
  font-size: .85rem;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px){
  .image-item{ grid-column: span 6; }
  .mosaic-item{ grid-column: span 6; }
  .instagram-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px){
  .nav-menu{
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, var(--olive-1), var(--olive-2));
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .nav-menu.active{ left: 0; }
  .mobile-menu-toggle{ display: flex; }

  .container{ padding: 0 1rem; }
  .section-title{ font-size: 2rem; }
  .content-section h2{ font-size: 2rem; }
  .instagram-grid{ grid-template-columns: 1fr; }
  .image-item{ grid-column: span 12; }
  .mosaic-item{ grid-column: span 12; }
  .btn{ width: 100%; }
  .action-buttons{ flex-direction: column; align-items: stretch; }
}

/* Force feature-list text to pure white */
.feature-list,
.feature-list *{
  color: #ffffff !important;
}

/* Keep copper bullets */
.feature-list li::before{
  background: #b08b2e !important;
  box-shadow: 0 0 6px rgba(176,139,46,0.75) !important;
}

.home-copy{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.home-copy h2{
  color: var(--olive-1);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  margin-bottom: .75rem;
}

.home-copy .lead{
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 0 auto 2.25rem auto;
  max-width: 70ch;
}

.home-features{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
}

.home-feature{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.home-feature h3{
  font-family: 'Playfair Display', serif;
  color: var(--olive-1);
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

.home-feature p{
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 1024px){
  .home-features{ grid-template-columns: 1fr; }
}
