/*
  Elegant Wood Care – Luxurious Theme

  This stylesheet refreshes the look and feel of the website with a darker,
  more luxurious colour palette and refined layout while preserving all
  existing markup, text content and image sizes. Colours, spacing and
  interactions are tuned for a premium aesthetic.  No changes were made
  to the HTML content or structure; this file purely defines styling.
*/

/* CSS Custom Properties for easy theme adjustments */
:root {
  --bg: #0c0f17;              /* primary background */
  --panel: #131621;           /* secondary panels & header */
  --card: #1a1c26;            /* cards & content blocks */
  --text: #e3ddc3;            /* primary text colour */
  --muted: #a99f87;           /* muted/subtle text */
  --accent: #cda55b;          /* gold accent colour */
  --radius: 12px;             /* border radius */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 6px 16px rgba(0,0,0,0.5);
}

/* Base and reset styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  text-decoration: underline;
  color: #f5ecd7;
}

/* Navbar styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(19, 22, 29, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .logo {
  height: 55px;
  width: auto;
}
.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.navbar ul li a {
  color: #d6c89e;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.3s ease, color 0.3s ease;
}
.navbar ul li a.active,
.navbar ul li a:hover {
  background: rgba(205, 165, 91, 0.2);
  color: #f0e6d2;
}
.navbar .lang-switch a {
  border: 1px solid rgba(205, 165, 91, 0.35);
  color: #d6c89e;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.3s ease, color 0.3s ease;
}
.navbar .lang-switch a:hover {
  background: rgba(205, 165, 91, 0.25);
  color: #f0e6d2;
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
  min-height: 220px;
}
.hero.small {
  padding: 2.5rem 2rem;
  min-height: 140px;
}
.hero-content {
  flex: 1;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: #f0e6d2;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero-img {
  width: 40%;
  max-width: 380px;
  min-width: 180px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.button, .btn {
  display: inline-block;
  background: linear-gradient(180deg, rgba(205,165,91,0.8), rgba(205,165,91,0.65));
  color: #131621;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.button:hover, .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(205,165,91,0.4);
}
/* Ghost style buttons (outlined) */
.ghost {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.ghost:hover {
  background: rgba(205, 165, 91, 0.15);
  color: #f0e6d2;
}

/* Features and services lists */
.features,
.service-list {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  background: var(--bg);
  flex-wrap: wrap;
}
.feature,
.service-card {
  flex: 1 1 240px;
  text-align: center;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover,
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature img,
.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.feature h3,
.service-card h3 {
  color: #f0e6d2;
  margin-bottom: 0.5rem;
}
.feature p,
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* About sections */
.about-short {
  background: var(--panel);
  text-align: center;
  padding: 3rem 2rem;
}
.about-short h2 {
  color: #f0e6d2;
  margin-bottom: 1rem;
}
.about-short p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-detail {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--panel);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.about-img {
  width: 260px;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-text {
  flex: 1;
  color: var(--muted);
  font-size: 1.05rem;
}
.about-text h2 {
  color: #f0e6d2;
  margin-bottom: 1rem;
}

/* Gallery layouts */
.gallery-vertical,
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 0;
  background: var(--bg);
}
.gallery-vertical .gallery-item,
.gallery-grid .gallery-item {
  width: clamp(280px, 45%, 340px);
  background: var(--panel);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-vertical .gallery-item:hover,
.gallery-grid .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-vertical .gallery-item img,
.gallery-grid .gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  display: block;
}
.gallery-vertical .gallery-item span,
.gallery-grid .gallery-item span {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Call to Action */
.cta {
  background: var(--panel);
  text-align: center;
  padding: 3rem 2rem;
}
.cta h2 {
  color: #f0e6d2;
  margin-bottom: 1rem;
}
.cta a.button {
  margin-top: 1rem;
}

/* Footer */
footer {
  background: var(--bg);
  color: var(--muted);
  text-align: center;
  padding: 2rem 2rem;
  border-top: 1px solid rgba(205,165,91,0.2);
  font-size: 0.9rem;
}
footer a {
  color: var(--accent);
  margin: 0 0.25rem;
  transition: color 0.2s ease;
}
footer a:hover {
  color: #f0e6d2;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(205,165,91,0.25);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  background: #0f1019;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(205,165,91,0.3);
  outline: none;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.contact-form button.btn {
  background: linear-gradient(180deg, rgba(205,165,91,0.8), rgba(205,165,91,0.65));
  color: #131621;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-form button.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(205,165,91,0.4);
}

/* Lightbox overlay (unchanged except colour tweaks) */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 17, 25, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease forwards;
}
.lightbox-popup {
  position: relative;
  max-width: 95vw;
  max-height: 85vh;
  background: transparent;
}
.lightbox-popup img {
  max-width: 95vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: -32px;
  right: -8px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 1px 8px #000;
  padding: 0 10px;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-img {
    width: 60%;
    max-width: 320px;
    margin-top: 1.5rem;
  }
  .features,
  .service-list {
    flex-direction: column;
    align-items: center;
  }
  .about-detail {
    flex-direction: column;
    text-align: center;
  }
  .about-img {
    width: 70%;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .navbar {
    padding: 0.75rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-img {
    width: 80%;
    max-width: 280px;
  }
  
  /* Center the Instagram embed horizontally */
.instagram-section {
  display: flex;
  justify-content: center;
  align-items: center; /* optional, for vertical centering */
  padding: 2rem;
}

/* Force the Instagram iframe to behave like a normal block so flex centering works */
.instagram-section iframe {
  position: static !important;  /* override absolute positioning from the embed script */
  width: 100%;
  max-width: 540px;             /* same as the original blockquote’s max-width */
  margin: 0 auto;               /* center within the flex container */
}