/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --clr-primary: #2c2c2c;
  --clr-accent: #b8860b;
  --clr-accent-light: #d4a843;
  --clr-bg: #faf8f5;
  --clr-bg-dark: #1a1a1a;
  --clr-text: #333;
  --clr-text-light: #f5f5f5;
  --clr-muted: #777;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
}

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a { color: var(--clr-accent); text-decoration: none; }
a:hover { color: var(--clr-accent-light); }

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

/* ===== NAVBAR ===== */
.navbar {
  background: var(--clr-bg-dark) !important;
  padding: .8rem 0;
  transition: background .3s;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--clr-accent) !important;
  font-weight: 700;
  letter-spacing: 2px;
}

.navbar-nav .nav-link {
  color: var(--clr-text-light) !important;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .85rem;
  padding: .5rem 1rem !important;
  transition: color .2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--clr-accent) !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
              url('../img/slikar1.jpg') center/cover no-repeat;
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.hero .tagline {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero .btn-outline-light {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .7rem 2.5rem;
  font-size: .85rem;
  transition: all .3s;
}

.hero .btn-outline-light:hover {
  background: var(--clr-accent);
  color: #fff;
}

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header {
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url('../img/slikar1.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 8rem 0 4rem;
}

.page-header h1 {
  font-size: 3rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ===== SECTION ===== */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--clr-accent);
  margin: .8rem auto 0;
}

.section-title p {
  color: var(--clr-muted);
  margin-top: .5rem;
}

/* ===== ABOUT ===== */
.about-img {
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

/* ===== INFO CARDS ===== */
.info-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.info-card i {
  font-size: 2rem;
  color: var(--clr-accent);
  margin-bottom: 1rem;
}

.info-card h5 {
  font-family: var(--font-heading);
  margin-bottom: .5rem;
}

/* ===== MAP ===== */
.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ===== MENU PAGE ===== */
.menu-category {
  margin-bottom: 3rem;
}

.menu-category h3 {
  font-size: 1.8rem;
  color: var(--clr-accent);
  border-bottom: 2px solid var(--clr-accent);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .7rem 0;
  border-bottom: 1px dotted #ddd;
}

.menu-item-info { flex: 1; padding-right: 1rem; }

.menu-item-info h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: .15rem;
}

.menu-item-info p {
  color: var(--clr-muted);
  font-size: .9rem;
  margin: 0;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--clr-accent);
  font-weight: 700;
  white-space: nowrap;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

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

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--clr-bg-dark);
  color: var(--clr-text-light);
  padding: 3rem 0 1.5rem;
}

.site-footer h5 {
  color: var(--clr-accent);
  margin-bottom: 1rem;
}

.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--clr-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: var(--clr-muted);
  font-size: .85rem;
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: .75rem 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 .2rem rgba(184,134,11,.15);
}

.btn-accent {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: .7rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .85rem;
  border-radius: 4px;
  transition: background .3s;
}

.btn-accent:hover {
  background: var(--clr-accent-light);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; letter-spacing: 3px; }
  .hero .tagline { font-size: 1rem; }
  .page-header h1 { font-size: 2rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
