/* Modern Art Portfolio Styles */

:root {
  --bg-color: #1a1a1a;
  --text-color: #f0f0f0;
  --accent-color: #d4af37;
  --secondary-bg: #2a2a2a;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition-speed: 0.3s;
}

/* Reset & Core */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #fff;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  display: block;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(26,26,26,0.95), rgba(26,26,26,0));
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: width var(--transition-speed);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  background-image: url('assets/abstract.svg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* Overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition-speed);
  animation: fadeInUp 1s ease 0.4s backwards;
}

.btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

/* Gallery Grid */
.gallery {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
  margin: 10px auto 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1; /* Square tiles for now */
}

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

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

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  transform: translateY(100%);
  transition: transform var(--transition-speed);
}

.grid-item:hover .overlay {
  transform: translateY(0);
}

.overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.overlay p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Lightbox (CSS Only) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox:target {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox img {
  max-height: 80vh;
  border: 2px solid #333;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  padding: 1rem;
}
.prev { left: 1rem; }
.next { right: 1rem; }


/* About Page Specifics */
.about-container {
  max-width: 800px;
  margin: 8rem auto 4rem;
  padding: 0 2rem;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.artist-photo {
  flex: 1;
  min-width: 300px;
}

.artist-photo img {
    border-radius: 5px;
    filter: grayscale(20%);
}

.bio {
  flex: 2;
}

.bio h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Contact Page Specifics */
.contact-container {
    max-width: 600px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
    text-align: center;
}

.contact-info {
    margin-top: 3rem;
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: 4px;
}

.contact-item {
    margin-bottom: 1.5rem;
}
.contact-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}


/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 0.8rem;
  border-top: 1px solid #333;
  margin-top: 4rem;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  
  .about-container {
    flex-direction: column;
    margin-top: 6rem;
  }
  
  nav {
    display: none; /* In a real scenario, use a hamburger menu here */
  }
  /* Simple mobile nav for now */
  nav ul {
      flex-direction: column;
      position: absolute;
      top: 0;
      right: 0;
      background: #000;
  }
}
