@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700&display=swap');

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #141414;

  --text-primary: #ededed;
  --text-secondary: #a3a3a3;
  --text-accent: #d4d4d4;

  --accent-gold: #c6a87c;
  --accent-gold-dim: #8c7654;
  --accent-gradient: linear-gradient(135deg, #c6a87c 0%, #8c7654 100%);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --spacing-section: 6rem;
  --container-width: 1200px;

  --border-radius: 16px;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

h3 {}

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

.text-center {
  text-align: center;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons - Unified Style */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #000;
  border: none;
  font-weight: 500;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(198, 168, 124, 0.4);
}

.section {
  padding: var(--spacing-section) 0;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  padding: 0.5rem 0;
}

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

/* Nav contact button - same as other links but with subtle border */
.nav-links .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  opacity: 1;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch a {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  opacity: 0.6;
}

.lang-switch a:hover,
.lang-switch a.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.0),
      rgba(10, 10, 10, 0.2),
      var(--bg-primary));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-logo {
  width: 150px;
  margin: 0 auto 2rem;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Intro / About Section */
.intro {
  background-color: var(--bg-primary);
}

.about-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-photo {
  flex: 0 0 320px;
}

/* 
   PHOTO DIMENSIONS:
   Recommended: 400px x 600px (portrait, 2:3 ratio)
   Minimum: 320px x 480px
   Format: JPG or WebP
   The image should be a half-body professional portrait
*/
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  background: var(--bg-tertiary);
}

.about-content {
  flex: 1;
  text-align: left;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .about-photo {
    flex: none;
    width: 70%;
    max-width: 280px;
  }

  .about-content {
    text-align: center;
  }
}

/* Services - Carousel on Desktop, Grid on Mobile */
.services {
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.services-carousel-wrapper {
  position: relative;
  margin-top: 3rem;
}

.services-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.services-grid::-webkit-scrollbar {
  display: none;
}

.services-grid .service-card {
  flex: 0 0 350px;
  min-width: 350px;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* Mobile: Revert to Grid */
@media (max-width: 768px) {
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow-x: visible;
  }

  .services-grid .service-card {
    flex: none;
    min-width: unset;
  }

  .carousel-nav {
    display: none;
  }
}

.service-card {
  position: relative;
  background: var(--bg-card, #141414);
  padding: 0;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 380px;
  /* Fixed height for consistency */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

/* Gradient overlay - starts from middle (50%) to bottom to cover text */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(10, 10, 10, 0.2) 40%,
      rgba(10, 10, 10, 0.9) 70%,
      rgba(10, 10, 10, 1) 100%);
  z-index: 1;
  pointer-events: none;
}

.service-content {
  position: relative;
  padding: 2rem 1.5rem;
  z-index: 2;
  width: 100%;
  margin-top: 0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
  border-color: rgba(198, 168, 124, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}



.service-card h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact */
.contact {
  background-color: var(--bg-primary);
  text-align: center;
}

/* Footer */
footer {
  background-color: #000;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-2px);
}

.copyright {
  color: #555;
  font-size: 0.8rem;
}

/* Blog Page Styles */
.page-header {
  padding-top: 10rem;
  padding-bottom: 4rem;
  text-align: center;
  background-color: var(--bg-secondary);
}

.blog-card {
  text-align: left;
}

.blog-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  margin-top: 0;
}

.blog-card .read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-card .read-more:hover {
  color: var(--text-primary);
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-secondary);
  padding: 6rem 2rem 2rem;
  z-index: 1000;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a:hover {
  color: var(--accent-gold);
}

.mobile-nav .lang-switch {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    background-attachment: scroll;
  }

  .service-card {
    padding: 1.5rem;
  }
}