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

body {
  font-family: 'Garamond', serif;
  line-height: 1.6;
  background: #fff;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  background-color: white;
  border-bottom: 1px solid #ccc;
  height: 60px;
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
}

.contact-btn {
    background-color: #333;
    color: white !important;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #555;
}

.main-nav .nav-links {
  display: flex;
  list-style: none;
  justify-content: end;
  gap: 1.6rem;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 0.5rem 0;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 999;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: black;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links .dropdown-menu li a:hover {
  background-color: #f0f0f0;
}


/* Show dropdown on hover */
.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

/* Main content styles */
main {
    max-width: 1200px;
    margin: 0rem auto;
    padding: 0 2rem;
}

#emotions-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#emotions-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

hr {
    border: none;
    height: 1px;
    background-color: #eee;
    margin: 1rem 0;
}

#emotions-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Artwork Grid Styles */
.artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.artwork-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.artwork-card:hover .image-container img {
    transform: scale(1.02);
}

.artwork-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.artwork-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    font-style: italic;
    color: #222;
    line-height: 1.4;
}

.artwork-year {
    font-style: normal;
    font-size: 0.9rem;
    color: #666;
}

.artwork-medium {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    margin-top: auto;
}

/* Sold artwork styling */
.sold .image-container {
    position: relative;
}

.sold .image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 1;
}

.sold-banner {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #d32f2f;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .artworks-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .artworks-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .artwork-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .artworks-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .image-container img {
        max-height: 350px;
    }
}

/* Footer */
footer {
  background: #f5f5f5;
  padding: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer h3 {
  margin-bottom: 10px;
}

footer a {
  text-decoration: none;
  color: black;
}
