/* 
  Estudio Azzopardi Arquitectura S.R.L.
  Custom Architectural Stylesheet
*/

:root {
  --arch-bg: #13161b;
  --arch-card-bg: rgba(23, 27, 34, 0.92);
  --arch-card-border: rgba(255, 255, 255, 0.08);
  --arch-gold: #c59b5f;
  --arch-gold-hover: #e0ba7c;
  --arch-text: #e2e8f0;
  --arch-muted: #94a3b8;
  --arch-dark-border: #2a313d;
}

body {
  background-color: var(--arch-bg) !important;
  color: var(--arch-text);
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.2px;
}

/* Sidebar Customizations */
.menu {
  background-color: #171b22 !important;
  border-right: 1px solid var(--arch-card-border);
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.4);
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 155, 95, 0.4) transparent;
}

.menu .image {
  margin-top: 25px !important;
}

.menu .image img {
  width: 110px !important;
  height: 110px !important;
  border: 2px solid var(--arch-gold);
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.menu .author-content {
  margin: 12px 0 18px 0 !important;
}

.menu .author-content h4 {
  font-size: 18px !important;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.menu .author-content span.studio-sub {
  font-size: 10.5px;
  color: var(--arch-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.menu .author-content span.matricula-tag {
  font-size: 10.5px;
  color: var(--arch-muted);
  display: block;
  margin-top: 2px;
}

.main-menu {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.main-menu li {
  margin-bottom: 1px;
}

.main-menu li a {
  display: block;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #cbd5e1 !important;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  text-align: left;
}

.main-menu li a:hover,
.main-menu li.active a {
  color: #ffffff !important;
  background-color: rgba(197, 155, 95, 0.12);
  border-left-color: var(--arch-gold);
  padding-left: 20px;
}

.menu .sidebar-contact {
  padding: 10px 15px;
  font-size: 11px;
  color: var(--arch-muted);
  border-top: 1px solid var(--arch-card-border);
  margin-top: 14px;
  line-height: 1.5;
}

.menu .sidebar-contact strong {
  color: #ffffff;
}

.menu .social-network {
  margin-top: 14px !important;
}

.menu .social-network ul li {
  margin: 0 2px;
}

.menu .social-network ul li a {
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--arch-gold);
  border: 1px solid var(--arch-card-border);
  border-radius: 4px;
}

.menu .social-network ul li a:hover {
  background-color: var(--arch-gold);
  color: #171b22;
}

.menu .copyright-text {
  margin-top: 12px !important;
}

.menu .copyright-text p {
  padding: 10px 15px !important;
  font-size: 10.5px !important;
  margin-bottom: 15px !important;
}

#menu-toggle {
  background: #171b22;
  border: 1px solid var(--arch-gold);
  color: var(--arch-gold);
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 10000;
}

/* Content Area */
.section {
  border-bottom: none !important;
  padding-bottom: 40px !important;
}

.section.main-content {
  min-height: auto !important;
  padding-top: 50px !important;
}

@media screen and (max-width: 845px) {
  .section.main-content {
    padding-top: 75px !important;
  }
}

.section.arch-footer {
  min-height: auto !important;
  padding: 45px 30px 25px 30px !important;
  margin-top: 20px !important;
  margin-bottom: 40px !important;
}

.arch-card {
  background: var(--arch-card-bg);
  border: 1px solid var(--arch-card-border);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.hero-banner-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--arch-card-border);
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.breadcrumb-arch {
  font-size: 12px;
  color: var(--arch-muted);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumb-arch a {
  color: var(--arch-gold);
  transition: color 0.2s;
}

.breadcrumb-arch a:hover {
  color: var(--arch-gold-hover);
  text-decoration: underline;
}

.page-title-box {
  margin-bottom: 25px;
  border-left: 3px solid var(--arch-gold);
  padding-left: 18px;
}

.page-title-box h1 {
  font-size: 27px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.lead-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
  font-weight: 400;
  margin-bottom: 0;
}

/* Feature grid */
.feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--arch-card-border);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 20px;
  height: 100%;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--arch-gold);
}

.feature-box .icon {
  font-size: 26px;
  color: var(--arch-gold);
  margin-bottom: 14px;
}

.feature-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--arch-muted);
  margin-bottom: 0;
}

/* Portfolio grid */
.project-card {
  background: var(--arch-card-bg);
  border: 1px solid var(--arch-card-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-card-body {
  padding: 20px;
}

.project-card-body h4 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 8px;
}

.project-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--arch-gold);
  background: rgba(197, 155, 95, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn-arch-primary {
  background-color: var(--arch-gold);
  color: #171b22 !important;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 26px;
  border-radius: 4px;
  border: none;
  display: inline-block;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-arch-primary:hover {
  background-color: var(--arch-gold-hover);
  box-shadow: 0 4px 15px rgba(197, 155, 95, 0.35);
  transform: translateY(-2px);
}

.btn-arch-outline {
  background: transparent;
  color: var(--arch-gold) !important;
  border: 1px solid var(--arch-gold);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 22px;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-arch-outline:hover {
  background-color: var(--arch-gold);
  color: #171b22 !important;
}

/* Form Styles */
.form-control-arch {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--arch-card-border);
  color: #ffffff;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 14px;
  width: 100%;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-arch:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--arch-gold);
  box-shadow: 0 0 0 2px rgba(197, 155, 95, 0.25);
  color: #ffffff;
  outline: none;
}

.form-label-arch {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
  display: block;
}

/* Estimator styles */
.calc-result-box {
  background: rgba(197, 155, 95, 0.08);
  border: 1px solid var(--arch-gold);
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
}

.calc-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--arch-gold);
  letter-spacing: 0.5px;
}

/* Footer Section */
.arch-footer {
  background: #111419;
  border-top: 1px solid var(--arch-card-border);
  padding: 50px 30px 30px 30px;
  margin-top: 40px;
  border-radius: 8px;
}

.arch-footer h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--arch-gold);
  padding-bottom: 6px;
  display: inline-block;
}

.arch-footer p, .arch-footer li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--arch-muted);
}

.arch-footer ul {
  padding-left: 0;
  list-style: none;
}

.arch-footer ul li {
  margin-bottom: 8px;
}

.arch-footer ul li a {
  color: var(--arch-muted);
  transition: color 0.2s;
}

.arch-footer ul li a:hover {
  color: var(--arch-gold);
  text-decoration: underline;
}

.arch-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  margin-top: 30px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 9998;
  transition: transform 0.25s, box-shadow 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Cookie notice */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #171b22;
  border-top: 1px solid var(--arch-card-border);
  padding: 16px 24px;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  display: none;
}
