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

:root {
  --primary-color: #c9a882;
  --primary-dark: #b8966f;
  --secondary-color: #2c2c2c;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --bg-light: #f8f7f5;
  --bg-white: #ffffff;
  --border-color: #e5e5e5;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: 1px;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

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

.btn-contact {
  padding: 12px 28px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  text-align: center;
  color: white;
  padding: 120px 20px 0 20px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeInUp 1s ease 0.2s both;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 168, 130, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.85rem;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: white;
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

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

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* About Preview */
.about-preview {
  padding: 120px 0;
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.about-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.about-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition);
}

.about-thumb:hover img {
  transform: scale(1.1);
}

/* Products Section */
.products-section {
  padding: 120px 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.product-item {
  background: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-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: var(--transition);
}

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

.product-item:hover .product-image img {
  transform: scale(1.1);
}

.btn-view {
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-view:hover {
  background: var(--primary-dark);
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  padding: 10px 15px;
  justify-content: center;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

/* Hide thumbnails if only one image */
.product-thumbnails:has(.product-thumb:only-child) {
  display: none;
}

.product-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
}

.product-thumb:hover {
  opacity: 1;
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.product-thumb.active {
  opacity: 1;
  border-color: var(--primary-color);
}

.product-info {
  padding: 30px;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.products-cta {
  text-align: center;
}

/* Projects Section */
.projects-section {
  padding: 120px 0;
  background: var(--bg-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 400px;
  cursor: pointer;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-item:hover .project-info {
  transform: translateY(0);
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.project-info p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Gallery Styles */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.gallery-thumb {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  border: 3px solid transparent;
}

.gallery-thumb:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.gallery-thumb.active {
  border-color: var(--primary-color);
}

.gallery-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.gallery-full-images {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.gallery-full-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-full-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-full-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* Gallery Modal/Slideshow */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s;
}

.gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  transition: var(--transition);
  line-height: 1;
}

.gallery-close:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

.gallery-prev,
.gallery-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 44, 44, 0.85);
  color: white;
  border: 2px solid rgba(201, 168, 130, 0.5);
  padding: 25px 30px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  z-index: 2001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gallery-prev:hover,
.gallery-next:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(201, 168, 130, 0.6);
}

.gallery-prev {
  left: 30px;
}

.gallery-next {
  right: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .gallery-thumbnails,
  .gallery-full-images {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-thumbnails,
  .gallery-full-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-thumb img {
    height: 120px;
  }

  .gallery-full-item img {
    height: 120px;
  }

  .gallery-close {
    top: 20px;
    right: 20px;
    font-size: 40px;
  }

  .gallery-prev,
  .gallery-next {
    padding: 20px 25px;
    font-size: 28px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }
}

/* About Section */
.about-section {
  padding: 120px 0;
  background: var(--bg-light);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-large {
  width: 300px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.about-details h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-details p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
  padding: 120px 0;
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-item p {
  color: var(--text-light);
}

.contact-map {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.main-footer {
  background: var(--secondary-color);
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.logo-img-footer {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
  color: white;
}

.footer-logo .logo-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: white;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

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

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  .products-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .about-content,
  .about-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .logo-img {
    height: 45px;
  }

  .hero-content {
    padding: 100px 20px 0 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-text h2,
  .about-details h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-images-grid {
    grid-template-columns: 1fr;
  }

  .about-thumb img {
    height: 200px;
  }

  .btn-contact {
    display: none;
  }
}
