@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

/* ==================== ROOT VARIABLES ==================== */
:root {
  --primary: #e67e22;
  --primary-dark: #d35400;
  --primary-light: #f39c12;
  --accent: #16a085;
  --accent-light: #1abc9c;
  --dark: #2c3e50;
  --dark-deep: #1a252f;
  --dark-card: #34495e;
  --gray: #95a5a6;
  --gray-light: #bdc3c7;
  --white: #ecf0f1;
  --text-primary: #ecf0f1;
  --text-secondary: #bdc3c7;
  --border: rgba(230, 126, 34, 0.3);
  --glass-bg: rgba(52, 73, 94, 0.6);
  --glass-border: rgba(236, 240, 241, 0.15);
  --warning: #e74c3c;
  --success: #27ae60;
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

ul,
ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* ==================== HEADER / NAVIGATION ==================== */
.header {
  background: rgba(26, 37, 47, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.atelier-link {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1.2rem;
  border-radius: 0.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.atelier-link::after {
  display: none;
}

.atelier-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Mobile menu button - hidden by default */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 5%;
  position: relative;
  z-index: 1;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(230, 126, 34, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: -250px;
  right: -250px;
  animation: gentleFloat 25s ease-in-out infinite;
  z-index: 0;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, 40px) scale(1.1);
  }
}

.hero-content {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 280px;
  height: 380px;
  border-radius: 1rem;
  overflow: hidden;
  border: 3px solid var(--primary);
  box-shadow: 0 20px 60px rgba(230, 126, 34, 0.4);
  transition: transform 0.5s ease;
  position: relative;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.hero-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(230, 126, 34, 0.5);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-slogan {
  font-size: 1.5rem;
  color: var(--accent-light);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-mission {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(22, 160, 133, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 0.3rem;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.founder-name {
  font-size: 1.1rem;
  color: var(--primary-light);
  font-weight: 600;
}

.founder-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 5rem 5%;
  position: relative;
}

.section-alt {
  background: rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 2.8rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ==================== CONTENT BLOCKS ==================== */
.content-block {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 3rem;
  margin-bottom: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--border);
}

.content-block h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.content-block h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ==================== CARDS GRID ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: rgba(52, 73, 94, 0.6);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(230, 126, 34, 0.4);
  border-color: var(--border);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.card h3 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.card ul {
  margin-left: 1.5rem;
  margin-bottom: 0;
}

.card li {
  font-size: 1rem;
}

/* ==================== SPECIAL BOXES ==================== */
.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(230, 126, 34, 0.15) 0%,
    rgba(22, 160, 133, 0.15) 100%
  );
  border-left: 4px solid var(--primary);
  padding: 2.5rem;
  border-radius: 0.5rem;
  margin: 3rem 0;
  text-align: center;
}

.highlight-box h3 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.highlight-box p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 0;
}

.warning-box {
  background: rgba(231, 76, 60, 0.1);
  border-left: 4px solid var(--warning);
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.info-box {
  background: rgba(22, 160, 133, 0.1);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.success-box {
  background: rgba(39, 174, 96, 0.1);
  border-left: 4px solid var(--success);
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

/* ==================== IMAGE LAYOUTS ==================== */
.image-full {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  margin: 3rem 0;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--glass-border);
  position: relative;
  clear: both;
}

.image-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(26, 37, 47, 0.3) 100%
  );
  pointer-events: none;
}

.image-full img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.image-full:hover {
  box-shadow: 0 20px 70px rgba(230, 126, 34, 0.5);
  border-color: var(--primary);
}

.image-full:hover img {
  transform: scale(1.05);
}

/* Image Gallery Grid */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  clear: both;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--glass-border);
  background: var(--dark-card);
  height: 350px;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(230, 126, 34, 0.5);
  border-color: var(--primary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(26, 37, 47, 0.98) 0%,
    rgba(26, 37, 47, 0.95) 70%,
    transparent 100%
  );
  color: var(--white);
  transform: translateY(calc(100% - 60px));
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.gallery-caption p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Dual Image Layout */
.image-dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  clear: both;
}

.image-dual .image-full {
  margin: 0;
}

/* Triple Image Layout */
.image-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  clear: both;
}

.image-triple .gallery-item {
  height: 280px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
  border: 2px solid transparent;
  margin: 0.5rem;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
}

.btn-secondary:hover {
  background: rgba(230, 126, 34, 0.1);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.15rem;
}

/* ==================== EMAIL TEMPLATE ==================== */
.email-template {
  background: rgba(26, 37, 47, 0.8);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: 0.5rem;
  color: var(--text-secondary);
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.8;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 2rem 0;
}

/* ==================== FOOTER ==================== */
.footer {
  background: rgba(26, 37, 47, 0.95);
  padding: 3rem 5%;
  margin-top: 5rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--primary-light);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  animation: fadeInUp 0.6s ease-out backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-block:nth-child(1) {
  animation-delay: 0.1s;
}
.content-block:nth-child(2) {
  animation-delay: 0.2s;
}
.content-block:nth-child(3) {
  animation-delay: 0.3s;
}
.content-block:nth-child(4) {
  animation-delay: 0.4s;
}
.content-block:nth-child(5) {
  animation-delay: 0.5s;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* ==================== FLOATING CTA BUTTON ==================== */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(22, 160, 133, 0.4);
  font-weight: 600;
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(22, 160, 133, 0.6);
  color: white;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
  .container {
    padding: 2rem 4%;
  }

  .section {
    padding: 4rem 4%;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-image {
    width: 250px;
    height: 340px;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 3.2rem;
  }

  .image-dual,
  .image-triple {
    grid-template-columns: 1fr;
  }

  /* Hide navigation links and mobile menu button completely on mobile */
  .nav-links,
  .mobile-menu-btn {
    display: none !important;
  }

  /* Center the logo on mobile */
  .nav-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem 4%;
  }

  .section {
    padding: 3rem 4%;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 80vh;
    padding: 5rem 4% 3rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-slogan {
    font-size: 1.2rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-image {
    width: 220px;
    height: 300px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.05rem;
  }

  .content-block {
    padding: 2rem 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .image-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-item {
    height: 300px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    margin: 0.5rem 0;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 3%;
  }

  .section {
    padding: 2.5rem 3%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-slogan {
    font-size: 1.1rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-image {
    width: 180px;
    height: 260px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  p,
  li {
    font-size: 0.98rem;
  }

  .gallery-item {
    height: 260px;
  }

  .content-block {
    padding: 1.5rem 1rem;
  }

  .highlight-box,
  .warning-box,
  .info-box {
    padding: 1.5rem;
  }

  .email-template {
    font-size: 0.85rem;
    padding: 1.5rem;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}

.p-1 {
  padding: 1rem;
}
.p-2 {
  padding: 2rem;
}
.p-3 {
  padding: 3rem;
}

/* ==================== ACCESSIBILITY ==================== */
a:focus,
button:focus,
.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@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;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .header,
  .footer,
  .floating-cta,
  .btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .content-block {
    page-break-inside: avoid;
  }
}
