/* ===== BASE STYLES & VARIABLES ===== */
:root {
  /* Color Palette */
  --color-primary: #F3E5AB;      /* Naples Yellow (warm, soft) */
  --color-primary-dark: #D4C07B; /* Slightly darker yellow for hover */
  --color-secondary: #D3D3D3;    /* Light silver/grey */
  --color-bg-light: #FAFAF8;     /* Off-white / light cream background */
  --color-bg-white: #FFFFFF;     /* Pure white */
  --color-text-dark: #2F2F2F;    /* Soft dark grey for text */
  --color-text-light: #555555;   /* Lighter grey for secondary text */

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows and Borders */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.2;
}

p {
  font-weight: 300;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 100px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-primary-outline {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  box-shadow: 0 4px 15px rgba(243, 229, 171, 0.5);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 229, 171, 0.6);
}

.btn-primary-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-text-dark);
}

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

.btn-secondary {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--color-primary-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn-primary-outline) {
  font-weight: 400;
  position: relative;
}

.nav-links a:not(.btn-primary-outline)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-primary-dark);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-outline):hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-text-dark);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for nav */
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-left-radius: 80px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--color-text-light);
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--color-bg-white);
  text-align: center;
  padding: 80px 0;
}

.about-text {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-text-dark);
}

/* ===== WALLPAPERS GRID ===== */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 30px;
}

.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-caption {
  padding: 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===== UPVC SECTION ===== */
.upvc {
  background-color: var(--color-bg-white);
}

.upvc-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.upvc-text {
  flex: 1;
}

.benefits-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.benefits-list .icon {
  background-color: var(--color-primary);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.benefits-list strong {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

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

.upvc-images {
  flex: 1;
  position: relative;
  height: 500px;
}

.upvc-img {
  position: absolute;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.shadow-img {
  box-shadow: var(--shadow-md);
}

.upvc-images img:nth-child(1) {
  width: 70%;
  height: 80%;
  top: 0;
  left: 0;
  z-index: 1;
}

.upvc-imgoffset {
  width: 60%;
  height: 60%;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 10px solid var(--color-bg-white);
}

/* ===== STATS BANNER ===== */
.stats-banner {
  background-color: var(--color-primary); /* Uses the soft Naples Yellow */
  padding: 60px 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.stat-item h4 {
  font-size: 3rem;
  color: var(--color-text-dark);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* ===== FEATURES (Why Choose Us) ===== */
.features {
  background-color: var(--color-bg-white);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.feature-item {
  padding: 20px;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  color: var(--color-primary-dark);
  background: transparent;
  width: 60px;
  height: 60px;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===== GALLERY / MASONRY ===== */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  grid-auto-flow: dense;
}

.masonry-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
  height: 350px;
}

.masonry-grid img:nth-child(2) {
  grid-column: span 2;
}

.masonry-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  z-index: 1;
  position: relative;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background-color: var(--color-primary);
  text-align: center;
  padding: 100px 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: var(--color-text-dark);
  color: var(--color-primary);
}

.cta-btn:hover {
  background-color: #000;
  color: var(--color-primary);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--color-bg-white);
}

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

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.info-icon {
  background-color: var(--color-bg-light);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.2rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  margin-top: 20px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn .info-icon {
  background-color: transparent;
  width: auto;
  height: auto;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
}

.contact-form {
  background: var(--color-bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary-dark);
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--color-text-dark);
  color: var(--color-bg-white);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.footer-content p {
  color: #aaa;
  margin-bottom: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero-bg {
    width: 100%;
    border-bottom-left-radius: 0;
    opacity: 0.15;
  }
  
  .hero {
    justify-content: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .upvc-content {
    flex-direction: column;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .masonry-grid img:nth-child(2) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    gap: 0;
    flex-direction: column;
    background-color: var(--color-bg-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}
