/* Color Variables */
:root {
    /* Main Colors - New Color Scheme */
    --primary: #006D77;    /* Dark Blue - 25% usage */
    --accent: #C38264;     /* Cupru - 10% usage */
    --neutral: #2C3E50;    /* Text Color - 10% usage */
    --background: #F5F5F5; /* Light Gray - 55% usage */
    --accent-hover: #E8AA89; /* Cupru deschis - pentru hover */
    
    /* Derived Colors */
    --text-dark: var(--neutral);
    --text-medium: rgba(44, 62, 80, 0.7);
    --white: #FFFFFF;
    --shadow: rgba(27, 54, 93, 0.1);
}

body {
    background-color: var(--background);
}

.design-header {
    background: var(--white);
}

.design-header h1 {
    color: var(--primary);
}

.design-header p {
    color: var(--text-medium);
}

.design-grid {
    background: var(--background);
}

.design-item {
    background: var(--white);
    border: 1px solid var(--accent);
}

.design-item:hover {
    transform: translateY(-5px);
    background: var(--accent-hover);
    color: var(--white);
}

.design-info h3 {
    color: var(--primary);
}

.design-info p {
    color: var(--text-medium);
}

.design-features li {
    color: var(--text-medium);
}

.design-price {
    color: var(--primary);
}

.design-cta {
    background: var(--accent);
    color: var(--white);
    transition: all 0.3s ease;
}

.design-cta:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.package-card {
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow);
}

.package-header {
    background: var(--primary);
    color: var(--white);
}

.package-price {
    color: var(--primary);
}

.package-features li {
    color: var(--text-medium);
}

.package-button {
    background: var(--accent);
    color: var(--white);
    transition: all 0.3s ease;
}

.package-button:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.main-header {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  text-align: center;
  max-width: 600px;
}

.hero-content .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 250px;
    height: 55px;
}

.hero-content .cta-button:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-content .cta-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.gallery-section {
  padding: 80px var(--section-padding);
  background: var(--background-light);
}

.gallery-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-button {
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 25px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  min-width: 120px;
}

.filter-button.active,
.filter-button:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding: 0 20px;
}

.photo-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--background);
  width: 100%;
  padding-bottom: 66.67%; /* Aspect ratio 3:2 */
  height: 0;
}

.photo-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay h3 {
  color: var(--white);
  text-align: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .gallery-filters {
    flex-wrap: wrap;
    justify-content: center;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 0 15px;
  }
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 9999;
  padding: 40px;
  box-sizing: border-box;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  border: 2px solid white;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.9);
}

.lightbox.active .lightbox-close {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  border: 2px solid white;
  transition: all 0.3s ease;
  line-height: 0;
  padding-bottom: 4px;
  opacity: 0;
}

.lightbox.active .lightbox-prev,
.lightbox.active .lightbox-next {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1.1);
}

/* Footer styles */
.main-footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 60px var(--section-padding) 30px;
  margin-top: 80px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
  object-fit: contain;
}

.footer-description {
  max-width: 400px;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  color: white;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.9;
  border: none;
  overflow: hidden;
}

.social-link:hover {
  color: white;
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
}

.footer-links h4,
.footer-resources h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-links ul,
.footer-resources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-resources li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-resources a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-resources a:hover {
  opacity: 1;
  color: var(--accent-hover);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.7;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--accent-hover);
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 40px 20px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .footer-description {
    font-size: 0.9rem;
  }

  .footer-logo {
    height: 70px;
    max-width: 280px;
    margin: 0 auto;
    width: auto;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    height: 60px;
    max-width: 240px;
    margin: 0 auto 1rem;
  }
} 