/*
Theme Name: ChitroKuthir Weddings
Theme URI: https://chitrokuthir.com
Author: Ahat Mondol
Author URI: https://chitrokuthir.com/ahatmondol
Description: Premium wedding photography & cinematography theme for ChitroKuthir Weddings. Elementor Pro compatible. Cinematic. Emotional. Real.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chitrokuthir
Tags: wedding, photography, elementor, full-width-template, custom-menu, footer-widgets
*/

/* =============================================
   DESIGN TOKENS / CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  /* Brand Colors */
  --ck-primary:        #FF6B35;
  --ck-primary-dark:   #E5541C;
  --ck-primary-light:  #FFF4EF;
  --ck-primary-muted:  rgba(255, 107, 53, 0.12);

  /* Gold Accent */
  --ck-gold:           #C9914A;
  --ck-gold-light:     #FFF8EE;
  --ck-gold-dark:      #A8752E;

  /* Dark Tones */
  --ck-dark:           #0F172A;
  --ck-dark-2:         #1E293B;
  --ck-dark-3:         #334155;

  /* Neutral */
  --ck-text:           #1C1C2E;
  --ck-text-muted:     #64748B;
  --ck-text-light:     #94A3B8;
  --ck-border:         #E8E8E8;
  --ck-border-light:   #F1F5F9;

  /* Backgrounds */
  --ck-cream:          #FBF7F2;
  --ck-cream-2:        #F5EFE6;
  --ck-white:          #FFFFFF;
  --ck-bg-section:     #F8F6F3;

  /* Status Colors */
  --ck-green:          #10B981;
  --ck-green-light:    #ECFDF5;

  /* Typography */
  --font-heading:      'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:         'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-accent:       'Cormorant Garamond', Georgia, serif;

  /* Spacing Scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 20px rgba(15, 23, 42, 0.07);

  /* Transitions */
  --ease-fast:   0.15s ease;
  --ease-base:   0.25s ease;
  --ease-slow:   0.40s ease;
  --ease-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base:    10;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-overlay: 300;
  --z-modal:   400;
  --z-toast:   500;

  /* Container */
  --container-max:    1280px;
  --container-narrow: 900px;
  --container-wide:   1440px;
  --container-pad:    clamp(1rem, 4vw, 2rem);
}

/* =============================================
   BASE RESET & GLOBAL
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ck-text);
  background-color: var(--ck-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ck-primary);
  text-decoration: none;
  transition: color var(--ease-fast);
}

a:hover { color: var(--ck-primary-dark); }

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

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5em; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 2px solid var(--ck-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.ck-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.ck-container--narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.ck-section {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.ck-section--sm {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.ck-section--lg {
  padding-top: calc(var(--space-5xl) * 1.5);
  padding-bottom: calc(var(--space-5xl) * 1.5);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */
.ck-heading-xl {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.ck-heading-lg {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.ck-heading-md {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-family: var(--font-heading);
  line-height: 1.25;
}

.ck-heading-sm {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-family: var(--font-heading);
}

.ck-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ck-primary);
}

.ck-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ck-text-muted);
  line-height: 1.7;
}

/* =============================================
   BUTTON UTILITIES
   ============================================= */
.ck-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--ease-base);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.ck-btn--primary {
  background: var(--ck-primary);
  color: var(--ck-white);
  border-color: var(--ck-primary);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.ck-btn--primary:hover {
  background: var(--ck-primary-dark);
  border-color: var(--ck-primary-dark);
  color: var(--ck-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.45);
}

.ck-btn--outline {
  background: transparent;
  color: var(--ck-primary);
  border-color: var(--ck-primary);
}

.ck-btn--outline:hover {
  background: var(--ck-primary);
  color: var(--ck-white);
  transform: translateY(-2px);
}

.ck-btn--dark {
  background: var(--ck-dark);
  color: var(--ck-white);
  border-color: var(--ck-dark);
}

.ck-btn--dark:hover {
  background: var(--ck-dark-2);
  color: var(--ck-white);
  transform: translateY(-2px);
}

.ck-btn--ghost {
  background: transparent;
  color: var(--ck-white);
  border-color: rgba(255,255,255,0.5);
}

.ck-btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--ck-white);
  color: var(--ck-white);
}

.ck-btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.ck-btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

/* =============================================
   CARD UTILITIES
   ============================================= */
.ck-card {
  background: var(--ck-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.ck-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ck-card--bordered {
  border: 1px solid var(--ck-border);
  box-shadow: none;
}

.ck-card--gold {
  border: 1px solid rgba(201, 145, 74, 0.3);
  background: linear-gradient(135deg, var(--ck-white) 0%, var(--ck-gold-light) 100%);
}

/* =============================================
   BADGE / PILL UTILITIES
   ============================================= */
.ck-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
}

.ck-badge--primary { background: var(--ck-primary-light); color: var(--ck-primary-dark); }
.ck-badge--gold    { background: var(--ck-gold-light);    color: var(--ck-gold-dark); }
.ck-badge--green   { background: var(--ck-green-light);   color: var(--ck-green); }
.ck-badge--dark    { background: var(--ck-dark);          color: var(--ck-white); }

/* =============================================
   SECTION HEADER UTILITY
   ============================================= */
.ck-section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.ck-section-header .ck-label {
  display: block;
  margin-bottom: var(--space-md);
}

.ck-section-header h2 {
  margin-bottom: var(--space-md);
}

.ck-section-header p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ck-text-muted);
}

/* =============================================
   DIVIDER
   ============================================= */
.ck-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: var(--space-xl) 0;
}

.ck-divider::before,
.ck-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ck-border);
}

/* =============================================
   STAT ITEM UTILITY
   ============================================= */
.ck-stat {
  text-align: center;
}

.ck-stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ck-primary);
  line-height: 1;
  display: block;
}

.ck-stat__label {
  font-size: 0.9375rem;
  color: var(--ck-text-muted);
  margin-top: 0.25rem;
}

/* =============================================
   TESTIMONIAL CARD
   ============================================= */
.ck-testimonial {
  background: var(--ck-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  position: relative;
}

.ck-testimonial__stars {
  color: var(--ck-primary);
  font-size: 1.125rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: var(--space-md);
}

.ck-testimonial__text {
  font-size: 1rem;
  color: var(--ck-dark-3);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.ck-testimonial__author strong {
  display: block;
  font-weight: 700;
  color: var(--ck-dark);
}

.ck-testimonial__author span {
  font-size: 0.875rem;
  color: var(--ck-text-muted);
}

/* =============================================
   PRICING CARD
   ============================================= */
.ck-pricing-card {
  background: var(--ck-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: all var(--ease-base);
  position: relative;
}

.ck-pricing-card:hover {
  border-color: var(--ck-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.ck-pricing-card--featured {
  border-color: var(--ck-primary);
  background: linear-gradient(135deg, var(--ck-white) 0%, var(--ck-primary-light) 100%);
}

.ck-pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ck-primary);
  color: var(--ck-white);
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.ck-pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ck-dark);
  line-height: 1;
}

.ck-pricing-card__price span {
  font-size: 1.25rem;
  color: var(--ck-text-muted);
}

.ck-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.ck-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ck-border-light);
  font-size: 0.9375rem;
}

.ck-pricing-card__features li:last-child { border-bottom: none; }

.ck-pricing-card__features li::before {
  content: '✓';
  color: var(--ck-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================
   PROCESS STEP
   ============================================= */
.ck-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.ck-step__number {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--ck-primary-light);
  color: var(--ck-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  font-family: var(--font-heading);
}

/* =============================================
   SCARCITY / URGENCY BANNER
   ============================================= */
.ck-urgency-bar {
  background: linear-gradient(135deg, var(--ck-dark) 0%, var(--ck-dark-2) 100%);
  color: var(--ck-white);
  text-align: center;
  padding: 0.75rem var(--container-pad);
  font-size: 0.9rem;
  font-weight: 500;
}

.ck-urgency-bar strong { color: var(--ck-primary); }

/* =============================================
   FEAR-TO-LOGIC CONCERN CARD
   ============================================= */
.ck-concern-card {
  background: var(--ck-white);
  border-left: 4px solid var(--ck-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.ck-concern-card__question {
  font-weight: 600;
  color: var(--ck-dark);
  margin-bottom: 0.5rem;
}

.ck-concern-card__answer {
  color: var(--ck-text-muted);
  font-size: 0.9375rem;
}

/* =============================================
   COMMITMENT FUNNEL STEPS
   ============================================= */
.ck-funnel-step {
  text-align: center;
  position: relative;
}

.ck-funnel-step__icon {
  width: 64px;
  height: 64px;
  background: var(--ck-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: all var(--ease-base);
}

.ck-funnel-step:hover .ck-funnel-step__icon {
  background: var(--ck-primary);
}

.ck-funnel-step:hover .ck-funnel-step__icon svg {
  stroke: white;
}

/* =============================================
   VERIFIED BUSINESS BADGES
   ============================================= */
.ck-verify-badge {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.ck-verify-badge__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =============================================
   GALLERY GRID
   ============================================= */
.ck-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.ck-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.ck-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}

.ck-gallery-item:hover img { transform: scale(1.05); }

.ck-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--ease-base);
}

.ck-gallery-item:hover .ck-gallery-item__overlay { opacity: 1; }

/* =============================================
   RESPONSIVE GRID HELPERS
   ============================================= */
.ck-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.ck-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.ck-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

@media (max-width: 1024px) {
  .ck-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ck-grid-2,
  .ck-grid-3,
  .ck-grid-4 { grid-template-columns: 1fr; }
  .ck-section { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
