/* style.css */
:root {
  --primary-color: #3a1c71;
  --secondary-color: #d76d77;
  --tertiary-color: #ffaf7b;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --text-color: #333;
  --body-font: 'Cormorant Garamond', serif;
  --heading-font: 'Playfair Display', serif;
  --accent-font: 'Libre Baskerville', serif;
  --transition-speed: 0.3s;
  --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.8;
  background-image: url('assets/images/back.jpg');
  background-position: center;
  background-attachment: fixed;
  background-repeat: repeat;
  font-size: 1.25rem;
  font-weight: 500;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Create a semi-transparent overlay for better readability */
.content-wrapper {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 15px;
  margin: 20px auto 40px;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.content-wrapper:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

h1, h2, h3, h4, h5 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  font-weight: 800;
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 2.2rem;
  color: var(--secondary-color);
}

h5 {
  font-size: 1.6rem;
  font-weight: 600;
}

p {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.8rem;
  font-weight: 500;
  font-family: var(--accent-font);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Navigation */
.navbar {
  padding: 15px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 8px 0;
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 2.3rem;
  letter-spacing: 1px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all var(--transition-speed) ease;
}

.nav-link {
  font-family: var(--accent-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.1rem;
  margin: 0 10px;
  position: relative;
  transition: all var(--transition-speed) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn {
  border-radius: 30px;
  padding: 0.7rem 2rem;
  font-family: var(--accent-font);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.card {
  border-radius: 15px;
  border: none;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  background-color: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  height: 100%;
}

.card-img-top {
  transition: all 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.card-text {
  font-size: 1.2rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

footer {
  background-color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--accent-font);
  font-size: 1.1rem;
  margin-top: auto;
  padding: 30px 0;
}

footer a {
  color: var(--dark-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

footer a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  display: inline-block;
}

.social-links .bi {
  font-size: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.social-links a:hover .bi {
  transform: translateY(-3px);
}

.display-4 {
  font-size: 4rem;
  font-weight: 800;
}

.social-header {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  padding: 10px 0;
  font-size: 1rem;
  text-align: center;
  color: white;
}

.social-header a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

.social-header a:hover {
  color: var(--light-color);
  transform: translateY(-3px);
}

.dropdown-socials {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  transition: all var(--transition-speed) ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  transform: translateY(10px);
  opacity: 0;
}

.dropdown-content a {
  color: var(--dark-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  margin: 0;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-content a:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-left: 3px solid var(--primary-color);
  transform: none;
}

.dropdown-socials:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.email-subscription {
  background: linear-gradient(45deg, rgba(58, 28, 113, 0.1), rgba(215, 109, 119, 0.1));
  padding: 30px 0;
  text-align: center;
  border-radius: 15px;
  margin: 20px 0;
}

.email-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.subscription-title {
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Artwork gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.gallery-item img {
  transition: all 0.5s ease;
  width: 100%;
  height: auto;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

/* Testimonials */
.testimonial {
  border-radius: 15px;
  padding: 30px;
  background: linear-gradient(45deg, rgba(58, 28, 113, 0.05), rgba(215, 109, 119, 0.05));
  position: relative;
  margin-top: 40px;
  margin-bottom: 30px;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 100px;
  font-family: serif;
  color: var(--secondary-color);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideUp {
  0% { 
    opacity: 0;
    transform: translateY(50px); 
  }
  100% { 
    opacity: 1;
    transform: translateY(0); 
  }
}

/* Modal styling */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.modal-header {
  border-bottom: none;
  padding: 20px 25px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  color: white;
}

.modal-body {
  padding: 30px 25px;
}

.modal-footer {
  border-top: none;
  padding: 20px 25px;
}

.btn-close {
  color: white;
  filter: brightness(0) invert(1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.4rem;
  }
  
  .lead {
    font-size: 1.5rem;
  }
  
  .content-wrapper {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.3rem;
  }
  
  .content-wrapper {
    padding: 20px;
  }
  
  .navbar-brand {
    font-size: 1.8rem;
  }
  
  .social-header a {
    margin: 0 5px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .lead {
    font-size: 1.2rem;
  }
  
  p {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  
  .email-subscription {
    padding: 20px 0;
  }
}