/* ============================================
   ABJ KITCHENS & BEDROOMS - PREMIUM CSS
   Modern, Professional, & Conversion-Optimized
   ============================================ */

/* ROOT VARIABLES - Easy to customize */
:root {
  --primary-color: #2c3e50;
  --accent-color: #e74c3c;
  --accent-light: #ecf0f1;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #ffffff;
}

/* ============================================
   TYPOGRAPHY ENHANCEMENTS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ============================================
   BUTTON STYLES - Premium Interactive
   ============================================ */

button, a.btn, .button, input[type="submit"] {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

button:hover, a.btn:hover, .button:hover, input[type="submit"]:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(231, 76, 60, 0.35);
}

button:active, a.btn:active, .button:active, input[type="submit"]:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary, button.secondary {
  background-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.btn-secondary:hover, button.secondary:hover {
  background-color: #1a252f;
  box-shadow: 0 6px 25px rgba(44, 62, 80, 0.35);
}

/* ============================================
   CARD COMPONENTS - Portfolio & Services
   ============================================ */

.card, .service-card, .portfolio-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  transition: var(--transition);
  overflow: hidden;
}

.card:hover, .service-card:hover, .portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.card img, .service-card img, .portfolio-item img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.card:hover img, .service-card:hover img, .portfolio-item:hover img {
  transform: scale(1.05);
}

/* ============================================
   CALL-TO-ACTION SECTIONS
   ============================================ */

.cta-section, .consultation-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 2rem 0;
}

.cta-section h2, .consultation-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p, .consultation-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   FORMS - Contact & Consultation
   ============================================ */

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background-color: #fafafa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header, nav {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

nav a, header a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

nav a:hover, header a:hover {
  color: var(--accent-color);
}

/* Underline effect on hover */
nav a::after, header a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav a:hover::after, header a:hover::after {
  width: 100%;
}

/* ============================================
   TESTIMONIALS & REVIEWS
   ============================================ */

.testimonial, .review {
  background: var(--accent-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  margin: 1rem 0;
  transition: var(--transition);
}

.testimonial:hover, .review:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.rating {
  color: #f39c12;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.rating::before {
  content: '★ ★ ★ ★ ★';
  letter-spacing: 4px;
}

/* ============================================
   IMAGES & GALLERIES
   ============================================ */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image hover effects */
.gallery img, .portfolio img {
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
}

.gallery img:hover, .portfolio img:hover {
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.02);
}

/* ============================================
   BADGES & HIGHLIGHTS
   ============================================ */

.badge, .highlight, .tag {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.25rem;
}

.badge-secondary, .highlight-secondary {
  background-color: var(--primary-color);
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out forwards;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent-color);
}

.bg-accent {
  background-color: var(--accent-light);
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.rounded {
  border-radius: var(--border-radius);
}

.rounded-lg {
  border-radius: 12px;
}

.rounded-full {
  border-radius: 9999px;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card, .service-card, .portfolio-item {
    padding: 1rem;
  }

  button, a.btn, .button, input[type="submit"] {
    width: 100%;
    padding: 14px 20px;
  }

  .cta-section, .consultation-banner {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  p {
    font-size: 0.95rem;
  }
}