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

/* Force light mode and prevent iOS Safari color inversion */
*, *::before, *::after {
  color-scheme: light only !important;
  -webkit-color-scheme: light !important;
}

:root {
  color-scheme: light only;
  -webkit-color-scheme: light;
}

html {
  color-scheme: light only;
  -webkit-color-scheme: light;
  background: #000000 !important;
}

/* Force light mode on iOS Safari */
@supports (color-scheme: light) {
  :root {
    color-scheme: light only;
  }
  html {
    color-scheme: light only;
    background: #000000 !important;
  }
  body {
    color-scheme: light only;
  }
}

/* Prevent iOS Safari from applying any color filters */
@media (prefers-color-scheme: dark) {
  *, *::before, *::after {
    color-scheme: light only !important;
    -webkit-color-scheme: light !important;
  }
  html {
    background: #000000 !important;
  }
  body {
    background: #000000 !important;
  }
}
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #ffffff !important;
  background: #000000 !important;
  background-image: radial-gradient(
      ellipse at top,
      #000000 0%,
      #0d1117 40%,
      #000000 100%
    ),
    linear-gradient(
      135deg,
      #000000 0%,
      #1c1c1e 30%,
      #2c2c2e 60%,
      #1c1c1e 90%,
      #000000 100%
    ) !important;
  background-attachment: fixed;
  background-size: 100% 100%, 400% 400%;
  animation: luxuryGradient 20s ease infinite;
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
  overflow-x: hidden;
  color-scheme: light only;
  -webkit-color-scheme: light;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-logo a:hover {
  color: #f4e99b;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #f4e99b);
  transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: #d4af37;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }

  .nav-item {
    margin: 10px 0;
  }

  .nav-link {
    padding: 15px;
    display: block;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Update container for pages with navigation */
.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
}

/* Blog Styles */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 2rem;
}

.blog-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.blog-description {
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-post-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.blog-post-preview:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.post-preview-header {
  margin-bottom: 1rem;
}

.post-preview-title {
  margin-bottom: 0.5rem;
}

.post-preview-title a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-preview-title a:hover {
  color: #d4af37;
}

.post-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.post-preview-categories {
  display: flex;
  gap: 0.5rem;
}

.post-preview-category {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-preview-content {
  color: #ffffff;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.post-preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.read-more {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  color: #f4e99b;
  transform: translateX(5px);
}

.post-preview-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.post-preview-tag-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.post-preview-tag-link:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.no-posts {
  text-align: center;
  padding: 3rem 2rem;
  color: #ffffff;
  opacity: 0.8;
}

.no-posts h3 {
  color: #d4af37;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Individual Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 2rem;
}

.post-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.post-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  font-size: 1rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.post-author {
  font-style: italic;
}

.post-categories {
  display: flex;
  gap: 0.5rem;
}

.post-category {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.post-content {
  color: #ffffff;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #d4af37;
  font-family: "Cormorant Garamond", serif;
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

.post-content h2 { font-size: 2rem; }
.post-content h3 { font-size: 1.7rem; }
.post-content h4 { font-size: 1.4rem; }

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content a {
  color: #d4af37;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.post-content a:hover {
  color: #f4e99b;
  border-bottom-color: #f4e99b;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content code {
  background: rgba(212, 175, 55, 0.1);
  color: #f4e99b;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.post-content pre {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content blockquote {
  border-left: 4px solid #d4af37;
  margin: 2rem 0;
  padding: 1rem 2rem;
  background: rgba(212, 175, 55, 0.1);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.post-tags {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.post-tags h4 {
  color: #d4af37;
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", serif;
}

.post-tag-link {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 0.3rem 0.8rem;
  margin: 0.2rem 0.3rem 0.2rem 0;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-tag-link:hover {
  background: rgba(212, 175, 55, 0.3);
  color: #f4e99b;
  transform: translateY(-2px);
}

.post-footer {
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  padding-top: 2rem;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.prev-post,
.next-post {
  flex: 1;
  text-decoration: none;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.prev-post:hover,
.next-post:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.next-post {
  text-align: right;
}

.nav-label {
  display: block;
  color: #d4af37;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.nav-title {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.4;
}

.back-to-blog {
  text-align: center;
}

.blog-link {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-link:hover {
  color: #f4e99b;
  transform: translateX(-5px);
}

/* Tag page specific styles */
.highlight-tag {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 600;
}

.tag-navigation {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.tag-navigation .blog-link {
  font-size: 1rem;
}

/* Tags index page styles */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.tag-cloud-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.tag-cloud-item:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.tag-name {
  font-weight: 600;
}

.tag-count {
  background: rgba(212, 175, 55, 0.3);
  color: #d4af37;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tags-list {
  margin-top: 2rem;
}

.tags-list-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #d4af37;
  text-align: center;
  margin-bottom: 2rem;
}

.tag-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.tag-section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-section-title a {
  color: #d4af37;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tag-section-title a:hover {
  color: #f4e99b;
}

.tag-section-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: normal;
}

.tag-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tag-post-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-post-item:last-child {
  border-bottom: none;
}

.tag-post-link {
  color: #ffffff;
  text-decoration: none;
  flex: 1;
  transition: color 0.3s ease;
  font-weight: 500;
}

.tag-post-link:hover {
  color: #d4af37;
}

.tag-post-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.tag-more-link {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.tag-more-link:hover {
  color: #f4e99b;
}

/* 404 Error Page Styles */
.error-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
  text-align: center;
}

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

.error-animation {
  margin-bottom: 2rem;
}

.error-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 8rem;
  font-weight: 700;
  color: #d4af37;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.rotating {
  display: inline-block;
  transition: transform 0.1s ease;
  color: #f4e99b;
}

.error-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.error-message {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.error-message h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.error-message p {
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.9;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  max-width: 700px;
}

.primary-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: center;
}

.error-button.primary {
  background: linear-gradient(135deg, #d4af37, #f4e99b);
  color: #000000;
  border: 2px solid #d4af37;
}

.error-button.primary:hover {
  background: linear-gradient(135deg, #f4e99b, #d4af37);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.error-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(212, 175, 55, 0.5);
}

.error-button.secondary:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  transform: translateY(-3px);
  border-color: #d4af37;
}

.error-button .button-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.search-section h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.quick-link {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.quick-link:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  transform: translateY(-2px);
  border-color: #d4af37;
}

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

.helpful-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
}

.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.popular-post {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.popular-post:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.post-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  gap: 1rem;
}

.post-title {
  font-weight: 600;
  flex: 1;
  text-align: left;
}

.post-category {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.error-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.error-footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.contact-link {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #f4e99b;
}

/* Responsive 404 Styles */
@media screen and (max-width: 768px) {
  .error-container {
    padding: 1rem;
  }
  
  .error-number {
    font-size: 6rem;
  }
  
  .error-text {
    font-size: 1.5rem;
  }
  
  .error-message h2 {
    font-size: 1.8rem;
  }
  
  .error-message p {
    font-size: 1rem;
  }
  
  .primary-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-button {
    width: 100%;
    max-width: 280px;
  }
  
  .quick-links {
    flex-direction: column;
    align-items: center;
  }
  
  .quick-link {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .popular-posts {
    max-width: 100%;
  }
  
  .post-link {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .post-title {
    text-align: center;
  }
}

/* Responsive Blog Styles */
@media screen and (max-width: 768px) {
  .blog-container,
  .blog-post {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 2.5rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-preview-title a {
    font-size: 1.5rem;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .next-post {
    text-align: left;
  }
  
  .post-meta,
  .post-preview-meta {
    justify-content: center;
    text-align: center;
  }
  
  .post-preview-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 15% 20%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(184, 134, 11, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 215, 0, 0.03) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 40%,
      rgba(212, 175, 55, 0.02) 50%,
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.005) 2px,
    rgba(255, 255, 255, 0.005) 4px
  );
  pointer-events: none;
  z-index: 1;
}

@keyframes luxuryGradient {
  0%,
  100% {
    background-position: 0% 50%, 0% 50%;
  }
  25% {
    background-position: 0% 50%, 100% 50%;
  }
  50% {
    background-position: 0% 50%, 100% 100%;
  }
  75% {
    background-position: 0% 50%, 0% 100%;
  }
}

.container {
  width: 100%;
  text-align: center;
  backdrop-filter: blur(40px) saturate(150%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.04) 75%,
    rgba(255, 255, 255, 0.06) 100%
  ) !important;
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 32px;
  padding: 5rem 3rem;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.9),
    0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 175, 55, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}

.container::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.3) 0%,
    rgba(184, 134, 11, 0.1) 25%,
    transparent 50%,
    rgba(184, 134, 11, 0.1) 75%,
    rgba(212, 175, 55, 0.3) 100%
  );
  z-index: -1;
  animation: borderGlow 8s ease-in-out infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.profile-picture {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 3rem auto;
  display: block;
  border: 4px solid transparent;
  background: linear-gradient(
    135deg,
    #d4af37 0%,
    #ffd700 25%,
    #b8860b 50%,
    #daa520 75%,
    #d4af37 100%
  );
  background-size: 300% 300%;
  animation: goldShimmer 6s ease-in-out infinite;
  padding: 4px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
    0 15px 35px rgba(212, 175, 55, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

@keyframes goldShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.profile-picture::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.4) 0%,
    rgba(255, 215, 0, 0.2) 40%,
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: all 0.6s ease;
  filter: blur(20px);
}

.profile-picture:hover {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8),
    0 20px 50px rgba(212, 175, 55, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.profile-picture:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.profile-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #d4af37 20%,
    #ffffff 40%,
    #ffd700 60%,
    #ffffff 80%,
    #d4af37 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: luxuryShimmer 4s ease-in-out infinite;
  letter-spacing: -0.025em;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
  position: relative;
}

@keyframes luxuryShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes nameGlow {
  0%,
  90%,
  100% {
    opacity: 0;
  }
  45%,
  55% {
    opacity: 0.3;
  }
}

.profile-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  color: rgba(212, 175, 55, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
}

.profile-title::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #d4af37 50%,
    transparent 100%
  );
}

.profile-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #d4af37 20%,
    #ffd700 50%,
    #d4af37 80%,
    transparent 100%
  );
  border-radius: 1px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.profile-description {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 4rem;
  line-height: 1.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-align: center;
  position: relative;
}

.profile-description::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.3);
  line-height: 1;
}

.profile-description::after {
  content: '"';
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.3);
  line-height: 1;
}

/* Projects Section */
.projects-section {
  margin: 1rem 0;
  padding: 1rem 0;
  position: relative;
}

.projects-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #d4af37 20%,
    #ffd700 50%,
    #d4af37 80%,
    transparent 100%
  );
  border-radius: 1px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.projects-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #d4af37 20%,
    #ffffff 40%,
    #ffd700 60%,
    #ffffff 80%,
    #d4af37 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: luxuryShimmer 4s ease-in-out infinite;
  letter-spacing: -0.025em;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
  text-align: center;
}

.projects-sliders {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.projects-slider {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  position: relative;
  padding: 0.5rem 0;
}

.projects-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.projects-slider.active {
  cursor: grabbing;
}

.projects-track {
  display: flex;
  gap: 1rem;
  padding: 0.5rem;
  width: max-content;
}

.project-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.08) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 160px;
  min-height: 160px;
  height: auto;
  flex-shrink: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 5px 20px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 30%,
    rgba(255, 215, 0, 0.1) 50%,
    rgba(212, 175, 55, 0.15) 70%,
    transparent 100%
  );
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(212, 175, 55, 0.08) 50%,
    rgba(255, 255, 255, 0.12) 100%
  ) !important;
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6),
    0 15px 40px rgba(212, 175, 55, 0.3), 0 0 30px rgba(255, 215, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
  left: 100%;
}

.project-favicon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  object-fit: cover;
  flex-shrink: 0;
}

.project-card:hover .project-favicon {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.project-name {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 0.8rem;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.6em;
  word-wrap: break-word;
  hyphens: auto;
}

.project-url {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  text-align: center;
  word-break: break-all;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.4em;
  margin-top: auto;
  padding-top: 0.5rem;
}

.external-link-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  opacity: 0.5;
  transition: all 0.3s ease;
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

.project-card:hover .external-link-icon {
  opacity: 0.8;
  transform: scale(1.1) rotate(5deg);
}

.contact-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.08) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95) !important;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  min-width: 220px;
  justify-content: center;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 5px 20px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 30%,
    rgba(255, 215, 0, 0.1) 50%,
    rgba(212, 175, 55, 0.15) 70%,
    transparent 100%
  );
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.2) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 50%;
}

.contact-item:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(212, 175, 55, 0.08) 50%,
    rgba(255, 255, 255, 0.12) 100%
  ) !important;
  border-color: rgba(212, 175, 55, 0.5);
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6),
    0 15px 40px rgba(212, 175, 55, 0.3), 0 0 30px rgba(255, 215, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover::after {
  width: 300px;
  height: 300px;
}

.contact-item:active {
  transform: translateY(-2px) scale(0.98);
}

.contact-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.contact-item:hover .contact-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
}

@media (max-width: 768px) {
  .container {
    padding: 4rem 2rem;
    margin: 1rem;
    border-radius: 24px;
  }

  .profile-picture {
    width: 140px;
    height: 140px;
  }

  .profile-name {
    font-size: 3rem;
  }

  .profile-description {
    font-size: 1.05rem;
    max-width: 100%;
    margin-bottom: 3.5rem;
  }

  .projects-title {
    font-size: 2rem;
  }

  .projects-sliders {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .projects-slider {
    padding: 0.25rem 0;
  }

  .projects-track {
    gap: 0.8rem;
    padding: 0.25rem;
  }

  .project-card {
    width: 140px;
    min-height: 140px;
    height: auto;
    padding: 1rem 0.8rem;
  }

  .project-favicon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }

  .project-name {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    max-height: 2.4em;
    line-height: 1.2;
  }

  .project-url {
    font-size: 0.7rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.4em;
  }

  .contact-item {
    min-width: 200px;
    padding: 1.1rem 1.8rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 15px;
  }

  .container {
    padding: 3rem 1.5rem;
    border-radius: 20px;
  }

  .profile-name {
    font-size: 2.5rem;
  }

  .profile-title {
    font-size: 1.2rem;
  }

  .profile-description {
    font-size: 1rem;
  }

  .projects-title {
    font-size: 1.8rem;
  }

  .projects-sliders {
    gap: 0.8rem;
    padding: 0 0.25rem;
  }

  .projects-slider {
    padding: 0.2rem 0;
  }

  .projects-track {
    gap: 0.6rem;
    padding: 0.2rem;
  }

  .project-card {
    width: 120px;
    min-height: 120px;
    height: auto;
    padding: 0.8rem 0.6rem;
  }

  .project-favicon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.8rem;
  }

  .project-name {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    max-height: 2.4em;
  }

  .project-url {
    font-size: 0.65rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.6em;
    line-height: 1.3;
  }

  .contact-item {
    min-width: 180px;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-button,
  .consultation-button {
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    font-size: 1rem;
    margin: 0.25rem;
  }
}
.cta-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.12);
  text-align: center;
  position: relative;
}
.cta-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.cta-description {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 2rem;
  font-weight: 300;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #000000;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.18);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  margin: 0.5rem;
}

.consultation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #000000;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  margin: 0.5rem;
}

.button-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.cta-button:hover {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  color: #000000;
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.28);
  border-color: rgba(212, 175, 55, 0.5);
}

.consultation-button:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: #000000;
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.5);
}

.cta-button:hover .button-icon,
.consultation-button:hover .button-icon {
  transform: scale(1.1);
}

/* iOS Safari specific fixes to prevent color inversion */
@supports (-webkit-touch-callout: none) {
  /* This targets iOS Safari specifically */
  *, *::before, *::after {
    color-scheme: light only !important;
    -webkit-color-scheme: light !important;
  }
  
  html {
    background: #000000 !important;
    background-color: #000000 !important;
  }
  
  body {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .container {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.04) 25%,
      rgba(255, 255, 255, 0.02) 50%,
      rgba(255, 255, 255, 0.04) 75%,
      rgba(255, 255, 255, 0.06) 100%
    ) !important;
    color: #ffffff !important;
  }
  
  .profile-name {
    color: #ffffff !important;
  }
  
  .profile-description {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  
  .contact-item {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.04) 50%,
      rgba(255, 255, 255, 0.08) 100%
    ) !important;
    color: rgba(255, 255, 255, 0.95) !important;
  }
}
