/* ==========================================================
   ROHIT TEXTURE PAINTS - GLOBAL STYLESHEET
   Theme: "Textured Elegance" - Cream + Deep Navy Blue
   ========================================================== */

:root {
  /* Brand Colors */
  --color-cream: #F7F1E6;
  --color-cream-dark: #EFE5D2;
  --color-white: #FFFFFF;
  --color-navy: #16324F;
  --color-navy-light: #1F4266;
  --color-brown: #8A5A2B;
  --color-brown-dark: #6E4620;
  --color-gold: #C79A4B;
  --color-text-dark: #22201C;
  --color-text-muted: #5B564D;
  --color-text-on-navy: #F7F1E6;

  /* Elevation */
  --shadow-sm: 0 2px 6px rgba(22, 50, 79, 0.08);
  --shadow-md: 0 6px 18px rgba(22, 50, 79, 0.14);
  --shadow-lg: 0 14px 34px rgba(22, 50, 79, 0.20);

  /* Radius */
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== TOP INFO BAR ===== */
.top-bar {
  background: var(--color-navy);
  color: var(--color-text-on-navy);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.top-bar-item a { color: var(--color-text-on-navy); }
.top-bar-item .icon { margin-right: 4px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-navy);
}
.logo-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-brown);
  letter-spacing: 0.3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav ul {
  display: flex;
  gap: 26px;
}
.main-nav ul li a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--color-brown);
  border-bottom-color: var(--color-brown);
}

.nav-cta-btn {
  background: var(--color-brown);
  color: var(--color-white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.nav-cta-btn:hover {
  background: var(--color-brown-dark);
  transform: translateY(-2px);
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ===== RESPONSIVE: TABLET & MOBILE ===== */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s ease;
    gap: 24px;
  }
  .main-nav.open { right: 0; }
  .main-nav ul {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }
  .main-nav ul li a { font-size: 1.05rem; }
  .nav-cta-btn { width: 100%; text-align: center; }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .logo-title { font-size: 1.1rem; }
  .logo-tagline { font-size: 0.7rem; }
  .logo-img { width: 46px; height: 46px; }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--color-brown); color: var(--color-white); }
.btn-primary:hover { background: var(--color-brown-dark); }
.btn-whatsapp { background: #25D366; color: var(--color-white); }
.btn-whatsapp:hover { background: #1EBE57; }
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  box-shadow: none;
}
.btn-outline:hover { background: var(--color-navy); color: var(--color-white); }

/* ==========================================================
   SECTION SPACING & HEADINGS
   ========================================================== */
.section { padding: 70px 0; }
.section-tight { padding: 50px 0; }
.section-cream { background: var(--color-cream); }
.section-white { background: var(--color-white); }
.section-navy { background: var(--color-navy); color: var(--color-text-on-navy); }
.section-navy h2, .section-navy h3 { color: var(--color-white); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-brown);
  background: rgba(138, 90, 43, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p { color: var(--color-text-muted); font-size: 1.02rem; }

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(22,50,79,0.78), rgba(22,50,79,0.55)),
              url('../images/hero-building.jpg') center/cover no-repeat;
  color: var(--color-white);
}
.hero-content { max-width: 680px; padding: 90px 0; }
.hero-badge {
  display: inline-block;
  background: rgba(247, 241, 230, 0.15);
  border: 1px solid rgba(247, 241, 230, 0.4);
  color: var(--color-cream);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--color-white);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--color-gold); }
.hero p.hero-sub {
  font-size: 1.08rem;
  color: var(--color-cream);
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--color-gold);
}
.hero-stat-label { font-size: 0.82rem; color: var(--color-cream); }

/* ==========================================================
   CARD GRIDS (Products / Why Choose Us / Value Cards)
   ========================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-card { display: flex; flex-direction: column; }
.product-card-img { height: 190px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card-body p { color: var(--color-text-muted); font-size: 0.92rem; flex: 1; margin-bottom: 14px; }
.spec-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.spec-badge {
  background: var(--color-cream-dark);
  color: var(--color-navy);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}
.product-card-link {
  font-weight: 700;
  color: var(--color-brown);
  font-size: 0.9rem;
}

/* Icon feature cards (Why Choose Us) */
.icon-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.icon-card .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(138, 90, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 18px;
}
.icon-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.icon-card p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ==========================================================
   ABOUT PREVIEW / SPLIT SECTIONS
   ========================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 18px; }
.split-text p { color: var(--color-text-muted); margin-bottom: 16px; }
.split-text ul { margin: 18px 0; }
.split-text ul li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: var(--color-text-dark);
  font-weight: 500;
}
.split-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brown);
  font-weight: 800;
}

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/5;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(22,50,79,0.92));
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 30px 14px 12px;
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy), var(--color-navy-light));
  padding: 46px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--color-white); font-size: 1.5rem; margin-bottom: 8px; }
.cta-text p { color: var(--color-cream); }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: #0F2438; color: rgba(247,241,230,0.85); padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { width: 54px; height: 54px; border-radius: 50%; margin-bottom: 14px; }
.footer-col h3 { color: var(--color-white); font-size: 1.15rem; margin-bottom: 4px; }
.footer-tagline { color: var(--color-gold); font-size: 0.82rem; margin-bottom: 14px; }
.footer-col h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 18px; }
.footer-col p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 11px; font-size: 0.88rem; }
.footer-col ul li a { transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--color-gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(247,241,230,0.1);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--color-brown); }

.footer-bottom { border-top: 1px solid rgba(247,241,230,0.12); padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(247,241,230,0.6);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--color-white) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-lg);
  z-index: 150;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ==========================================================
   MAP / CONTACT PAGE
   ========================================================== */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.contact-info-card .contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info-card .contact-row .icon-circle {
  width: 46px; height: 46px; min-width: 46px;
  border-radius: 50%;
  background: rgba(138, 90, 43, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-card p, .contact-info-card a { font-size: 0.9rem; color: var(--color-text-muted); }

/* ==========================================================
   PAGE HERO (inner pages: about, services, gallery, contact)
   ========================================================== */
.page-hero {
  background: linear-gradient(120deg, var(--color-navy), var(--color-navy-light));
  padding: 60px 0;
  text-align: center;
  color: var(--color-white);
}
.page-hero h1 { color: var(--color-white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.page-hero p { color: var(--color-cream); max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: var(--color-cream); margin-top: 10px; }
.breadcrumb a { color: var(--color-gold); }

/* ==========================================================
   VALUE / MISSION CARDS (About page)
   ========================================================== */
.value-card {
  background: var(--color-cream);
  border-left: 4px solid var(--color-brown);
  border-radius: var(--radius-md);
  padding: 26px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { color: var(--color-text-muted); font-size: 0.92rem; }

/* ==========================================================
   RESPONSIVE GRID RULES
   4 columns desktop -> 2 columns tablet -> 1 column mobile
   ========================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-img { order: -1; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .grid-5, .gallery-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-content { padding: 60px 0; }
  .hero-buttons, .cta-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn, .cta-buttons .btn { justify-content: center; text-align: center; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section { padding: 46px 0; }
  .hero-stats { justify-content: center; width: 100%; }
}
