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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FFF9EF;
  font-family: 'Georgia', serif;
  color: #333;
}

/* Navigation Bar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #FFF9EF;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #AA3224;
  z-index: 1000;
}


/* .navbar {
  background-color: transparent;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #AA3224;
} */


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-brand {
  font-size: 4rem;
  font-weight: 900;
  color: #333;
  letter-spacing: -1px;
  font-family: 'Inter', sans-serif;
}

.nav-z {
  color: #AA3224;
  font-weight: 900;
}

.nav-brand-link {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  font-size: 1.3rem;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.6;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem 2rem;
  margin-top: 0;
}

/* .hero {
  display: flex;
  align-items: center;
  justify-content: center;
} */

.hero-content {
  display: flex;
  gap: 3.5rem;
  max-width: 1000px;
  width: 100%;
  align-items: flex-start;
  margin: 0 auto;
}

.about-container {
  position: relative;
  flex: 0 0 auto;
  margin-top: 3rem;
}

.about-box {
  border: 2px solid #333;
  padding: 2rem;
  min-width: 300px;
  width: 450px;
  background-color: #FFF9EF;
  position: relative;
  z-index: 1;
}

.a-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 100px;
  border: 2px solid #333;
  background-color: #FFF9EF;
  z-index: 0;
}



.about-title {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  font-weight: normal;
  font-family: 'Courgette', cursive;
}

.about-red {
  color: #A85050;
  font-weight: bold;
  display: block;
  letter-spacing: 2px;
  transform: rotate(-15deg);
}

.about-italic {
  color: #333;
  font-style: italic;
  font-weight: normal;
  display: block;
  margin-left: 6rem;
}

.about-box p {
  color: #A85050;
  line-height: 1.8;
  font-size: 1.3rem;
}

.hero-image {
  flex: 0 0 auto;
  width: 500px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border: 3px solid #333;
  display: block;
}

/* Sections */
.portfolio, .contact {
  padding: 4rem 2rem;
  text-align: center;
  
}

.portfolio h2, .contact h2 {
  font-size: 2.5rem;
  color: #A85050;
  margin-bottom: 3rem;
  font-weight: normal;
  text-align: center;
}


.portfolio a, .contact a {
  color: #A85050;
  text-decoration: underline;
  font-size: 1rem;
  margin: 0.5rem 0;
  transition: opacity 0.3s ease;
  font-weight: bold;
}

.portfolio p, .contact p {
  margin: 1.5rem 0;
}

.portfolio a:hover, .contact a:hover {
  opacity: 0.7;
}

/* Hobbies Section */
.hobbies {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 3px dashed #A85050;
  border-bottom: 3px dashed #A85050;
  margin-top: 3rem;
}

.hobbies-content {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.hobbies-text {
  flex: 1;
}

.hobbies h2 {
  font-size: 3rem;
  color: #A85050;
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.hobbies-text p {
  color: #A85050;
  line-height: 1.8;
  font-size: 1.3rem;
}

.hobbies-text a {
  color: #A85050;
  text-decoration: underline;
  font-weight: bold;
}

.hobbies-text a:hover {
  opacity: 0.7;
}

.hobbies-image {
  flex: 1;
}

.hobbies-image img {
  width: 570px;
  height: 500px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Strange Passions Section */
.passions {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 3px dashed #A85050;
  margin-top: 0;
}

.passions h2 {
  font-size: 3rem;
  color: #A85050;
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.passions p {
  color: #A85050;
  line-height: 1.8;
  font-size: 1.3rem;
  max-width: 800px;
  margin-left: 12rem;
}
/* Artists Section */
.artists {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;

  border-bottom: 3px dashed #A85050;
}

.artists h2 {
  font-size: 2.5rem;
  color: #A85050;
  margin-bottom: 3rem;
  font-weight: normal;
  text-align: center;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.artist-card {
  background-color: #5C4A47;
  color: white;
  padding: 1.5rem;
  text-align: left;
  max-width: 300px;
}

.artist-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: normal;
  color: #f0e6d2;
  font-style: italic;
}

.artist-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #f0e6d2;
}


.artist-image {
  width: 100%;
  margin-top: 1rem;
}

.artist-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 2px solid #333;
}

@media (max-width: 768px) {
  .artists-grid {
    grid-template-columns: 1fr;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .hobbies-content {
    flex-direction: column;
  }
  
  .hero-content {
    flex-direction: column;
    margin-left: 2rem;
    margin-right: 2rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-brand {
    font-size: 1.5rem;
  }
  
  .about-box {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .about-container {
    width: 100%;
  }
  
  .hero-image {
    width: 100%;
    max-width: 100%;
  }
  
  .a-box {
    width: 80px;
    height: 70px;
    bottom: -15px;
    right: -15px;
  }
}

.name.primary { opacity: 1; }
.name.secondary { opacity: 0; }

.name-switch:hover .primary { opacity: 0; }
.name-switch:hover .secondary { opacity: 1; }