/* ============================================
   RENOVATION PRO USA - DESIGN SYSTEM
   Modern & Professional Styling
   ============================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Colors (HSL Format) */
  --background: 0 0% 100%;
  --foreground: 217 100% 20%;
  --card: 0 0% 100%;
  --card-foreground: 217 100% 20%;
  --primary: 217 100% 20%;
  --primary-foreground: 0 0% 100%;
  --secondary: 217 100% 95%;
  --secondary-foreground: 217 100% 20%;
  --muted: 217 20% 96%;
  --muted-foreground: 217 30% 45%;
  --accent: 349 86% 39%;
  --accent-foreground: 0 0% 100%;
  --border: 217 30% 90%;
  --input: 217 30% 90%;
  --ring: 217 100% 20%;

  /* Spacing */
  --radius: 0.75rem;
  --section-padding: 5rem 0;
  --container-max-width: 1400px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px hsl(217 100% 20% / 0.08);
  --shadow-md: 0 4px 16px hsl(217 100% 20% / 0.12);
  --shadow-lg: 0 8px 32px hsl(217 100% 20% / 0.16);
  --shadow-accent: 0 4px 20px hsl(349 86% 39% / 0.3);
}

/* ==================== BASE STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Poppins", sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== LAYOUT UTILITIES ==================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

header .container {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  height: 2.5rem;
  transition: var(--transition-smooth);
}

header .logo:hover {
  transform: scale(1.05);
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.phone-link:hover {
  color: hsl(var(--accent));
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: hsl(349 86% 35%);
  color: hsl(var(--accent-foreground));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px hsl(349 86% 39% / 0.4);
}

.btn-hero {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: var(--shadow-accent);
}

.btn-hero:hover {
  background: hsl(349 86% 35%);
  color: hsl(var(--accent-foreground));
  transform: translateY(-2px);
}

.btn-outline {
  background: hsl(var(--background) / 0.1);
  color: hsl(var(--primary-foreground));
  border: 2px solid hsl(var(--primary-foreground));
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
  background-image: url("assets/hero-kitchen.jpg");
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(217, 100%, 20%, 0.9),
    hsla(217, 100%, 15%, 0.9)
  );
  z-index: 1;
}

.hero-img img {
  max-width: 600px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 2vw, 1.5rem);
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: hsl(var(--primary-foreground) / 0.9);
  margin-bottom: 2rem;
  font-weight: 500;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== SECTION STYLES ==================== */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  text-align: center;
}

.section-description {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
  padding: var(--section-padding);
  background: linear-gradient(
    180deg,
    hsl(var(--background)),
    hsl(217 100% 95% / 0.2)
  );
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

.feature-card {
  display: auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  color: hsl(var(--accent));
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--card-foreground));
  margin: 0;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
  padding: var(--section-padding);
  background: hsl(var(--background));
}

.service-grid {
  display: grid;
  gap: 2rem;
}

.service-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(217 100% 20% / 0.8), transparent);
}

.service-image h3 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  color: hsl(var(--primary-foreground));
  font-size: 1.5rem;
  margin: 0;
}

.service-content {
  padding: 1.5rem;
}

.service-content p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin: 0;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
  padding: var(--section-padding);
  background: linear-gradient(
    180deg,
    hsl(217 100% 95% / 0.2),
    hsl(var(--background))
  );
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 1;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(217 100% 20% / 0.9),
    hsl(217 100% 20% / 0.6),
    transparent
  );
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: hsl(var(--primary-foreground));
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

.zoom-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  stroke: currentColor;
}

.overlay-content h5 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.overlay-content p {
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.9);
  margin: 0;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
  padding: var(--section-padding);
  background: hsl(var(--background));
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.testimonial-card {
  background: hsl(var(--card));
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: hsl(var(--accent));
  font-size: 1.25rem;
}

.testimonial-text {
  font-style: italic;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.testimonial-name {
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==================== CONSULTATION SECTION ==================== */
.consultation-section {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    hsl(var(--background)),
    hsl(217 100% 20% / 0.05)
  );
}

.consultation-title {
  font-size: clamp(2.5rem, 4vw, 3rem);
  background: linear-gradient(
    135deg,
    hsl(var(--primary)),
    hsl(var(--accent)),
    hsl(var(--primary))
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-align: center;
}

.consultation-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border) / 0.5);
}

.price-highlight {
  background: hsl(217 100% 20% / 0.05);
  border-left: 4px solid hsl(var(--primary));
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
  margin: 2rem 0;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.check-list {
  margin: 2rem 0;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.check-item i {
  color: hsl(var(--primary));
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-box {
  background: linear-gradient(
    135deg,
    hsl(217 100% 20% / 0.1),
    hsl(349 86% 39% / 0.1),
    hsl(217 100% 20% / 0.1)
  );
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  text-align: center;
  margin-top: 2rem;
}

.contact-info-box {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-accent);
  border: 1px solid hsl(var(--primary) / 0.3);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.contact-link:hover {
  color: hsl(var(--primary));
}

.contact-link i {
  color: hsl(var(--primary));
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    hsl(var(--primary)),
    hsl(217 100% 20% / 0.95)
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  border: 4px solid hsl(var(--primary-foreground));
  border-radius: 50%;
  opacity: 0.1;
}

.cta-section::before {
  width: 8rem;
  height: 8rem;
  top: 2.5rem;
  left: 2.5rem;
}

.cta-section::after {
  width: 12rem;
  height: 12rem;
  bottom: 2.5rem;
  right: 2.5rem;
}

.cta-section h2 {
  color: hsl(var(--primary-foreground));
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

.cta-section p {
  color: hsl(var(--primary-foreground) / 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  padding: var(--section-padding);
  background: linear-gradient(
    180deg,
    hsl(var(--background)),
    hsl(217 100% 95% / 0.2)
  );
}

.contact-grid {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border));
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.form-control,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  transition: var(--transition-smooth);
}

.form-control:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.info-card:hover {
  box-shadow: var(--shadow-lg);
}

.info-icon {
  color: hsl(var(--accent));
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.info-title {
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.info-text {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

.info-text:hover {
  color: hsl(var(--accent));
}

/* ==================== FOOTER ==================== */
footer {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 3rem 0;
}

footer .logo {
  height: 3rem;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

footer h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

footer a {
  color: hsl(var(--primary-foreground) / 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

footer a:hover {
  color: hsl(var(--accent));
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--primary-foreground) / 0.1);
  color: hsl(var(--primary-foreground));
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  header .logo {
    height: 3rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .consultation-card {
    padding: 3rem;
  }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== UTILITY CLASSES ==================== */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-8 {
  margin-top: 2rem;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== PRINT STYLES ==================== */
@media print {
  header,
  footer,
  .cta-section {
    display: none;
  }

  * {
    background: white !important;
    color: black !important;
  }
}
