
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ==============================
   ROOT VARIABLES
============================== */

:root {
  --obsidian: #0a0a0a;
  --charcoal: #141414;
  --gold: #d4af37;
  --gold-light: #e8c85a;
  --champagne: #f7e7ce;
  --emerald: #10b981;
  --text: #e8e8e8;
  --muted: #8a8a8a;
  --glass: rgba(255,255,255,0.03);
  --glass-border: rgba(212,175,55,0.15);
  --shadow: 0 20px 40px rgba(0,0,0,0.4);
  --radius: 20px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================
   RESET
============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--obsidian);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 30px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* ==============================
   NAVBAR
============================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(20px);

  border-bottom: 1px solid var(--glass-border);

  padding: 10px 0;
  transition: var(--transition);
}

.nav-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 30px;
  min-height: 65px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 2px;
}

.logo-circle {
  width: 85px;
  height: 85px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NAV LINKS */

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* THEME BUTTON */

.theme-toggle {
  background: var(--charcoal);
  border: 1px solid var(--glass-border);
  color: var(--gold);

  width: 44px;
  height: 44px;
  border-radius: 50%;

  cursor: pointer;
  font-size: 1.2rem;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--gold);
  color: var(--obsidian);
}

/* HAMBURGER */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ==============================
   HERO SECTION
============================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;

  position: relative;

  padding-top: 100px;
  padding-bottom: 40px;

  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(212,175,55,0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(16,185,129,0.05) 0%,
      transparent 40%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-text h1 span {
  background: linear-gradient(
    135deg,
    var(--gold),
    var(--champagne)
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 35px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  padding: 16px 38px;
  border-radius: 50px;

  font-weight: 600;
  font-size: 0.95rem;

  cursor: pointer;
  transition: var(--transition);

  border: none;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--obsidian);

  box-shadow: 0 0 30px rgba(212,175,55,0.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(212,175,55,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* PROFILE IMAGE */

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.avatar-frame {
  width: 340px;
  height: 340px;

  border-radius: 50%;
  border: 4px solid var(--glass-border);

  position: relative;
  overflow: hidden;

  box-shadow: var(--shadow);

  background: linear-gradient(
    135deg,
    var(--charcoal),
    var(--obsidian)
  );
}

.avatar-frame::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;

  width: 200%;
  height: 200%;

  background: conic-gradient(
    from 0deg,
    transparent,
    var(--gold),
    transparent
  );

  animation: rotate 8s linear infinite;
  opacity: 0.4;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  position: relative;
  z-index: 2;
}

/* ==============================
   MOVING IMAGE GALLERY
============================== */

.moving-gallery {
  display: block;
  position: relative;

  width: 100%;
  max-width: 100%;

  overflow: hidden;
  clear: both;

  margin: 0;
  padding: 35px 0;

  background: #0b0b0b;

  border-top: 1px solid rgba(212,175,55,0.2);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.gallery-track {
  display: flex;
  align-items: center;

  width: max-content;
  gap: 25px;

  animation: moveGallery 35s linear infinite;

  will-change: transform;
}

.gallery-track img {
  width: 260px;
  height: 175px;

  object-fit: cover;

  border-radius: 15px;

  border: 2px solid rgba(212,175,55,0.5);

  flex-shrink: 0;

  transition: var(--transition);
}

.gallery-track img:hover {
  border-color: var(--gold);
  transform: scale(1.04);
}

/* LEFT TO RIGHT INFINITE MOVEMENT */

@keyframes moveGallery {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* PAUSE ON HOVER */

.gallery-track:hover {
  animation-play-state: paused;
}

/* ==============================
   FOOTER
============================== */

.footer {
  background: var(--charcoal);

  border-top: 1px solid var(--glass-border);

  padding: 60px 0 30px;

  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;

  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-social a {
  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: var(--obsidian);
  border: 1px solid var(--glass-border);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: var(--transition);
  color: var(--muted);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}

.footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ==============================
   LIGHT THEME
============================== */

[data-theme="light"] {
  --obsidian: #fffaf0;
  --charcoal: #f4ead8;
  --text: #252018;
  --muted: #756b5d;
  --glass: rgba(0,0,0,0.03);
  --glass-border: rgba(150,115,30,0.2);
}

[data-theme="light"] .moving-gallery {
  background: #f4ead8;
}

/* ==============================
   RESPONSIVE DESIGN
============================== */

@media (max-width: 1000px) {

  .nav-logo {
    font-size: 1.4rem;
  }

  .nav-links {
    gap: 20px;
  }

  .hero-content {
    gap: 35px;
  }

  .hero-text h1 {
    font-size: 3.3rem;
  }

  .avatar-frame {
    width: 290px;
    height: 290px;
  }
}

@media (max-width: 768px) {

  .navbar {
    padding: 8px 0;
  }

  .nav-container {
    padding: 0 18px;
  }

  .nav-logo {
    font-size: 1.15rem;
    letter-spacing: 1px;
    gap: 8px;
  }

  .logo-circle {
    width: 55px;
    height: 55px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;

    top: 0;
    right: -100%;

    width: 75%;
    height: 100vh;

    background: var(--obsidian);

    flex-direction: column;

    padding: 120px 40px 40px;
    gap: 25px;

    transition: var(--transition);

    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .avatar-frame {
    width: 240px;
    height: 240px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .moving-gallery {
    padding: 25px 0;
  }

  .gallery-track {
    gap: 15px;
  }

  .gallery-track img {
    width: 190px;
    height: 130px;
  }

  .footer-links {
    gap: 18px;
  }
}

@media (max-width: 480px) {

  .nav-logo {
    font-size: 0.95rem;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 13px 22px;
    font-size: 0.85rem;
  }

  .avatar-frame {
    width: 210px;
    height: 210px;
  }

  .gallery-track img {
    width: 165px;
    height: 115px;
  }
}

/* REDUCE MOTION FOR ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .gallery-track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
