/* ========================================
   Classic Cotton — Luxury Hospitality Textiles
   ======================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --off-white: #f8f6f3;
  --cream: #f0ece4;
  --beige: #d4c9b8;
  --soft-grey: #a09890;
  --charcoal: #3a3632;
  --dark: #1e1c1a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 24px;
  z-index: 1000;
  font-size: 0.875rem;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--beige);
  outline-offset: 2px;
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { z-index: 101; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
}

.nav .logo-text {
  color: var(--white);
  transition: color 0.4s var(--ease);
}
.nav.scrolled .logo-text {
  color: var(--dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  width: 100%;
}
.nav.scrolled .nav-menu a {
  color: var(--charcoal);
}
.nav-cta {
  border: 1px solid rgba(255,255,255,0.5);
  padding: 8px 20px !important;
  transition: border-color 0.3s, background 0.3s, color 0.3s !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.15);
}
.nav.scrolled .nav-cta {
  border-color: var(--charcoal) !important;
}
.nav.scrolled .nav-cta:hover {
  background: var(--dark);
  color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav.scrolled .nav-toggle-bar {
  background: var(--dark);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Logo Switching Logic */
.nav .logo-black {
    display: none;
}
.nav .logo-white {
    display: block;
    height: 55px; 
}

.nav.scrolled .logo-white {
    display: none;
}
.nav.scrolled .logo-black {
    display: block;
    height: 55px; 
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn-primary {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-primary:hover {
  background: var(--charcoal);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}
.btn-full { width: 100%; text-align: center; }

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section {
  padding: 120px 0;
}
.text-center { text-align: center; }
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-grey);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 28px;
}
.section-title-light { color: var(--white); }
.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--soft-grey);
  max-width: 560px;
}
.section-body-narrow {
  margin: 0 auto;
}

/* ---- HERO ---- */
.hero {
  padding-top: 80px;
  padding-bottom: 20px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,28,26,0.55) 0%, rgba(30,28,26,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 40px;
}
.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.7);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 40px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- SPLIT LAYOUT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-image { order: 1; }
.image-frame {
  position: relative;
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.image-frame:hover img {
  transform: scale(1.04);
}

/* ---- PROCESS ---- */
.section-process {
  background: var(--off-white);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.process-card {
  text-align: center;
  padding: 40px 20px;
}
.process-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--beige);
  display: block;
  margin-bottom: 20px;
}
.process-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--dark);
}
.process-card p {
  font-size: 0.9rem;
  color: var(--soft-grey);
  line-height: 1.7;
}

/* ---- LUXURY LIST ---- */
.luxury-list {
  margin: 20px 0 24px;
  padding-left: 0;
}
.luxury-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--soft-grey);
  line-height: 1.7;
}
.luxury-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--beige);
}

/* ---- PRODUCTS ---- */
.section-products {
  background: var(--off-white);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.product-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-img {
  overflow: hidden;
  height: 280px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img img {
  transform: scale(1.06);
}
.product-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  padding: 24px 24px 8px;
  color: var(--dark);
}
.product-card p {
  font-size: 0.875rem;
  color: var(--soft-grey);
  padding: 0 24px 28px;
  line-height: 1.6;
}

/* ---- CERTIFICATIONS ---- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.cert-item {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--cream);
  transition: border-color 0.3s;
}
.cert-item:hover {
  border-color: var(--beige);
}
.cert-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--beige);
}
.cert-item h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--dark);
}
.cert-item p {
  font-size: 0.85rem;
  color: var(--soft-grey);
}

/* ---- WHY SECTION ---- */
.section-why {
  background: var(--off-white);
}
.why-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.why-features {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.why-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.why-icon {
  color: var(--beige);
  font-size: 0.5rem;
}

/* ---- CTA SECTION ---- */
.section-cta {
  background: var(--dark);
  padding: 100px 0;
}
.section-cta .section-body {
  color: rgba(255,255,255,0.6);
}

/* ---- CONTACT ---- */
.section-contact {
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-details {
  margin-top: 40px;
}
.contact-detail {
  margin-bottom: 28px;
}
.contact-detail h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 4px;
}
.contact-detail a,
.contact-detail p {
  font-size: 0.9rem;
  color: var(--soft-grey);
  line-height: 1.7;
}
.contact-detail a:hover {
  color: var(--dark);
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 48px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-grey);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--cream);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--charcoal);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 60px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text {
  color: var(--white);
}
.footer-brand p {
  font-size: 0.85rem;
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-bottom {
  padding-top: 24px;
  font-size: 0.8rem;
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: var(--white);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-image { order: 2; }
  .image-frame img { height: 360px; }

  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { padding: 14px 32px; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }
  .why-features { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .cert-grid { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
}

/* Logo ko responsive aur limit mein rakhne ke liye */
.logo-img {
    max-height: 60px; /* Desktop par height control karega */
    width: auto;      /* Aspect ratio kharab nahi hoga */
    display: block;
    object-fit: contain;
    transition: all 0.3s ease; /* Smooth resizing ke liye */
}

/* Mobile Screens ke liye (Responsive adjustment) */
@media (max-width: 768px) {
    .logo-img {
        max-height: 45px; /* Choti screens par logo thora mazeed chota ho jaye ga */
    }
}