/* URL: https://www.deco-build.co.uk */
/* Extracted on: 2026-02-21 16:06:40 */
/* ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #E6E6CE;
  --text-color: #352C35;
  --header-bg: #E6E6CE;
  --primary: #CEB945;
  --secondary: #e29100;
  --footer-btm: #CEB945;
  --card-bg: #E6E6CE;
  --font-family: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========================================= */
/* Header & Navigation */
/* ========================================= */
.main-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  height: 80px;
  width: auto;
  display: block;
  transform: scale(3.5);
  transform-origin: left center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

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

/* ========================================= */
/* Hero Session */
/* ========================================= */
.hero-slider-wrap {
  width: 100%;
  position: relative;
  background: #000;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 450px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  z-index: 2;
}

/* ========================================= */
/* Features / Info Boxes (Overlapping Hero) */
/* ========================================= */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.info-box {
  background: var(--card-bg);
  padding: 40px 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.info-box svg {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  stroke: #352C35;
  transition: stroke 0.3s ease;
}

.info-box:hover svg {
  stroke: var(--primary);
}

.info-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.info-box p {
  color: #666;
  font-size: 15px;
}

.info-box a {
    text-decoration: none;
    color: inherit;
}

/* ========================================= */
/* General Sections */
/* ========================================= */
.section-padding {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-color);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

/* ========================================= */
/* Revolving Carousel */
/* ========================================= */
.revolving-carousel-wrap {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.revolving-carousel-wrap img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transition: opacity 0.6s ease-in-out;
}

/* ========================================= */
/* Dynamic Portfolios (API) */
/* ========================================= */
details.portfolio-item {
  background: var(--card-bg);
  border: none;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  text-align: left;
}

details.portfolio-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

details.portfolio-item summary {
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  padding: 24px 30px;
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

details.portfolio-item summary::-webkit-details-marker {
  display: none;
}

details.portfolio-item summary::after {
  content: '+';
  font-size: 32px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
}

details.portfolio-item[open] summary::after {
  transform: rotate(45deg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 30px 30px 30px;
}

.portfolio-image-card {
  text-align: center;
  background: #E6E6CE;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid #eee;
}

.portfolio-image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

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

.portfolio-image-card p {
  margin-top: 15px;
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

/* ========================================= */
/* Contact Form Section */
/* ========================================= */
.contact-section {
    background-color: var(--header-bg);
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  background: #E6E6CE;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(206, 185, 69, 0.1);
}

.submit-btn {
  display: inline-block;
  width: 100%;
  padding: 18px 20px;
  background: var(--primary);
  color: var(--text-color);
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
  font-size: 16px;
}

/* ========================================= */
/* Footer */
/* ========================================= */
.main-footer {
  background: var(--header-bg);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-widget h4 {
  font-size: 20px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-widget p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #444;
}

.footer-widget p svg {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    stroke: var(--primary);
}

.footer-widget a svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.footer-widget a:hover svg {
    transform: translateY(-2px);
}

.footer-widget a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-widget a:hover {
  color: var(--primary);
}

.footer-separator {
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin: 20px 0;
}

.footer-bottom {
  background: var(--footer-btm);
  padding: 25px 20px;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.admin-link {
    opacity: 0.2;
    font-size: 11px;
    transition: opacity 0.3s ease;
}
.admin-link:hover {
    opacity: 1;
}

/* ========================================= */
/* Responsive Design */
/* ========================================= */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .logo {
      height: 60px;
      transform: scale(3);
      transform-origin: center center;
  }
  .info-boxes {
    margin-top: 40px;
  }
  .hero-slider {
    height: 50vh;
    min-height: 350px;
  }
  .hero-caption {
      width: 90%;
  }
  .section-padding {
      padding: 30px 20px;
  }
  .contact-form-container {
      padding: 30px 20px;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}