/*
Theme Name: Desi Group
Theme URI: https://deeso-group.elvirainfotech.live
Author: Desi Group Team
Author URI: https://deeso-group.elvirainfotech.live
Description: Custom WordPress theme for Desi Group / Deeso Group.
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: desi-group
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* ==========================================
   AIRBOCK LUXURY PICTURE GALLERY - STYLESHEET
   Brand: Airbock Luxury Kitesurf Experiences
   Color Palette:
     - Background: #0A0F1E
     - Gold Accent: #C9A96E
     - White: #FFFFFF
     - Light Gray: #F5F5F5
   Typography:
     - Headings: Cormorant Garamond
     - Body: DM Sans
   ========================================== */

/* ------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   ------------------------------------------ */
:root {
  /* Colors */
  --bg-dark: #0A0F1E;
  --bg-card: rgba(15, 23, 42, 0.7);
  --gold-accent: #C9A96E;
  --gold-hover: #DFBE83;
  --gold-glow: rgba(201, 169, 110, 0.25);
  --text-white: #FFFFFF;
  --text-light-gray: #F5F5F5;
  --text-muted: rgba(245, 245, 245, 0.65);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(201, 169, 110, 0.2);
  --glass-border-hover: rgba(201, 169, 110, 0.55);
  
  /* Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout & Spacing */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container-width: 1320px;
  --shadow-luxury: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(201, 169, 110, 0.08);
  --shadow-card-hover: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(201, 169, 110, 0.2);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ------------------------------------------
   2. RESET & BASE STYLES
   ------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light-gray);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Section Header Reusable Styles */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-weight: 300;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  margin: 1.5rem auto 0;
}

/* Custom Asset Card Helper Classes */
.image-wrapper.contain-asset {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.9) 0%, rgba(10, 15, 30, 0.95) 100%);
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.image-wrapper.contain-asset img {
  object-fit: contain;
  max-height: 220px;
}

.asset-bg {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.9) 0%, rgba(10, 15, 30, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-bg img {
  object-fit: contain !important;
  padding: 1.5rem;
}

/* ------------------------------------------
   3. NAVBAR (HEADER)
   ------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.9) 0%, rgba(10, 15, 30, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-white);
}

.logo span {
  color: var(--gold-accent);
}

.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-gray);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold-accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  background-color: var(--gold-accent);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ------------------------------------------
   4. SECTION 1 - HERO (85vh)
   ------------------------------------------ */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1.03); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.7) 0%,
    rgba(10, 15, 30, 0.5) 50%,
    rgba(10, 15, 30, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
  margin-top: 2rem;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-accent);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 1.2rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 50px;
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(5px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-light-gray);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Mouse Scroll Animation Indicator */
.scroll-indicator {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(201, 169, 110, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--gold-accent);
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ------------------------------------------
   5. SECTION 2 - FEATURED GALLERY (MASONRY)
   ------------------------------------------ */
.featured-section {
  padding: 6rem 0;
  position: relative;
}

/* Mobile First Column Count: 1 column default */
.masonry-grid {
  column-count: 1;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.masonry-item:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-lg);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-lg);
}

/* Image Hover Zoom Effect */
.masonry-item:hover .image-wrapper img {
  transform: scale(1.08);
}

/* Card Hover Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 15, 30, 0.95) 0%,
    rgba(10, 15, 30, 0.4) 50%,
    rgba(10, 15, 30, 0) 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: var(--transition-smooth);
  border-radius: var(--radius-lg);
}

.masonry-item:hover .card-overlay {
  opacity: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  transition-delay: 0.05s;
}

.masonry-item:hover .card-category,
.masonry-item:hover .card-title {
  transform: translateY(0);
}

/* ------------------------------------------
   6. SECTION 3 - HIGHLIGHT SHOWCASE
   ------------------------------------------ */
.highlight-section {
  padding: 4rem 0 6rem;
}

.highlight-wrapper {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-wrapper:hover .highlight-img {
  transform: scale(1.05);
}

.highlight-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(10, 15, 30, 0.4) 0%,
    rgba(10, 15, 30, 0.85) 100%
  );
}

.highlight-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 1.5rem;
}

.highlight-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--gold-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.25rem;
}

.highlight-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.highlight-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-light-gray);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-white);
}

.highlight-badge .number {
  color: var(--gold-accent);
}

.highlight-badge .line {
  width: 25px;
  height: 1px;
  background-color: var(--gold-accent);
}

/* ------------------------------------------
   7. SECTION 4 - EXPERIENCE MOMENTS
   ------------------------------------------ */
.moments-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.5) 50%, var(--bg-dark) 100%);
}

.moments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.moment-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

/* Hover Lift Animation & Glass Glow */
.moment-card:hover {
  transform: translateY(-10px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-glow);
}

.moment-img-holder {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.moment-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.moment-card:hover .moment-img-holder img {
  transform: scale(1.1);
}

.moment-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.moment-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.moment-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.moment-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ------------------------------------------
   8. SECTION 5 - INSTAGRAM GRID (3x3)
   ------------------------------------------ */
.instagram-section {
  padding: 6rem 0;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.insta-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.insta-icon {
  width: 36px;
  height: 36px;
  stroke: var(--gold-accent);
  transform: scale(0.6);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.insta-item:hover img {
  transform: scale(1.12);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-item:hover .insta-icon {
  transform: scale(1);
}

/* ------------------------------------------
   9. SECTION 6 - CTA
   ------------------------------------------ */
.cta-section {
  position: relative;
  padding: 8rem 1.5rem;
  background-color: #070B16;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.cta-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Gold Luxury Button */
.cta-btn-gold {
  display: inline-block;
  background-color: var(--gold-accent);
  color: var(--bg-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px var(--gold-glow);
  transition: var(--transition-bounce);
  border: 1px solid var(--gold-accent);
}

.cta-btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
}

.cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.cta-btn-outline:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: var(--glass-bg);
}

/* ------------------------------------------
   10. FOOTER
   ------------------------------------------ */
.footer {
  padding: 3rem 0;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 400px;
}

.footer-meta p {
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.4);
}

/* ------------------------------------------
   11. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   ------------------------------------------ */

/* TABLET BREAKPOINT (768px and up) */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .section-header {
    margin-bottom: 4.5rem;
  }

  /* Section 2 Masonry: 2 Columns on Tablet */
  .masonry-grid {
    column-count: 2;
    column-gap: 1.5rem;
  }

  /* Section 4 Moments: 2 Columns on Tablet */
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Section 5 Instagram: 3x3 Grid with larger gaps */
  .insta-grid {
    gap: 1.5rem;
  }

  .cta-actions {
    flex-direction: row;
    gap: 1.5rem;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-brand p {
    margin-top: 0.25rem;
  }
}

/* DESKTOP BREAKPOINT (1024px and up) */
@media (min-width: 1024px) {
  /* Section 2 Masonry: 4 Columns on Desktop */
  .masonry-grid {
    column-count: 4;
    column-gap: 1.75rem;
  }

  .masonry-item {
    margin-bottom: 1.75rem;
  }

  /* Section 4 Moments: 3 Columns on Desktop */
  .moments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Section 5 Instagram: 3x3 Grid with luxury 20px spacing */
  .insta-grid {
    gap: 1.75rem;
  }
}
