/* RESET AND VARIABLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3a2a21;
  --secondary: #f5f0e6;
  --accent: #5c4033;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Playfair Display', serif;
  --button-radius: 6px;
  --button-padding: 12px 25px;
  --card-shadow: rgba(0,0,0,0.1);
  --card-shadow-hover: rgba(0,0,0,0.4);
  --focus-outline: 3px solid #5c4033;
  --header-bg: rgba(159, 118, 97, 0.5);
}

body {
  font-family: var(--font-body);
  background-color: var(--secondary);
  color: var(--primary);
  line-height: 1.6;
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

::-moz-selection {
  background-color: var(--accent);
  color: var(--secondary);
}

::selection {
  background-color: var(--accent);
  color: var(--secondary);
}

/* ========== HEADER STYLES ========== */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 15px 30px;
  background-color: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  width: 100%;
  min-height: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo {
  width: 120px;
  height: auto;
  margin: 0;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo:hover {
  transform: scale(1.05);
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* NAVIGATION MENU */
.main-nav {
  position: static;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.main-nav a.active {
  background-color: var(--accent);
  color: var(--secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid transparent;
  pointer-events: none;
}

.main-nav a.active::after {
  border-color: var(--accent);
  view-transition-name: nav-highlight;
}

::view-transition-old(nav-highlight),
::view-transition-new(nav-highlight) {
  height: 100%;
}

/* SKIP LINK */
.skip-link {
  color: var(--secondary);
  font-weight: bold;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid transparent;
  background-color: transparent;
  position: relative;
  z-index: 101;
}

.skip-link:hover {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.skip-link:focus {
  outline: var(--focus-outline);
  outline-offset: 2px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* CLOSE BUTTON */
.close-menu-btn {
  display: none;
}

/* ========== HERO SECTION - UPDATED WITH SMALLER H1 ========== */
.hero {
  width: 100vw;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.hero h1 {
  margin: 30px 0 20px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero button {
  padding: var(--button-padding);
  border: none;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: var(--button-radius);
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.hero button:hover {
  background-color: #4a3328;
  transform: translateY(-2px);
}

.hero button:focus {
  outline: var(--focus-outline);
  outline-offset: 3px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* ========== ABOUT SECTION ========== */
.about {
  max-width: 700px;
  margin: 50px auto 70px;
  padding: 40px 20px;
  background-color: rgba(222, 210, 198, 0.7);
  border-radius: 14px;
  text-align: center;
}

.about h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 25px;
  text-align: center;
}

.about p {
  margin-bottom: 20px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

/* ========== SHOWCASE GRID ========== */
.showcase {
  padding: 2rem;
  text-align: center;
  max-width: 1600px;
  margin: 0 auto;
}

.showcase h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--accent);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  padding: 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.card {
  background-color: rgba(245, 240, 230, 0.95);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.card:focus {
  transform: scale(1.05);
  box-shadow: 0 12px 24px var(--card-shadow-hover);
  outline: 3px solid #4a3328;
}

.card img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

.card h3 {
  margin: 20px 0 15px;
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.8rem;
}

.card p {
  padding: 0 15px 20px;
  font-size: 1rem;
}

/* Card hover enhancement with :has() */
.card:has(:hover),
.card:has(:focus-within) {
  border: 2px solid var(--accent);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
  transition: all 0.4s ease;
}

/* ========== FOOTER ========== */
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px 20px;
  background-color: rgba(159, 118, 97, 0.5);
  font-size: 0.9rem;
  gap: 8px;
  text-align: center;
  margin-top: 3rem;
}

/* ========== MOBILE STYLES ========== */
@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px;
  }
}
@media (max-width: 768px) {
  header {
    justify-content: space-between;
    gap: 0;
    padding: 1rem;
    min-height: 70px;
  }
  .skip-link {
    display: none;
  }
  .hamburger {
    display: flex !important;
  }
  .logo {
    width: 100px;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
  }
  .main-nav.nav-open {
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    display: flex !important;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 2rem;
    margin: 0;
    width: 100%;
    max-width: 500px;
    background-color: transparent;
    box-shadow: none;
    position: relative;
  }
  .main-nav li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    transition-delay: calc(0.1s * var(--item-index, 0));
  }
  .main-nav.nav-open li {
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav a {
    display: block;
    padding: 1.5rem;
    font-size: 1.8rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
  }
  .close-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--secondary);
    border: 3px solid var(--secondary);
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }
  .close-menu-btn:hover {
    background-color: var(--primary);
    transform: scale(1.1) rotate(90deg);
  }
  .close-menu-btn span {
    font-size: 3.5rem;
    transform: rotate(45deg);
    display: block;
    line-height: 1;
  }
  .mobile-skip-link {
    display: block;
    padding: 1.5rem;
    background-color: var(--accent);
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 12px;
    border: 3px solid var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }
  .hero h1 {
    margin: 20px 0 15px;
  }
  .grid-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 20px;
  }
  .about {
    margin: 30px 20px 50px;
    padding: 30px 20px;
  }
}
@media (max-width: 480px) {
  .logo {
    width: 80px;
  }
  .main-nav a {
    font-size: 1.5rem;
    padding: 1.2rem;
  }
  .mobile-skip-link {
    font-size: 1.5rem;
    padding: 1.2rem;
  }
  .close-menu-btn {
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin: 15px 0 10px;
  }
  .hero button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .grid-container {
    padding: 20px 15px;
    gap: 20px;
  }
  .card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
  }
  .about {
    padding: 20px 15px;
  }
}/*# sourceMappingURL=style.css.map */