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

/* ============================================
  CSS VARIABLES & RESET
============================================ */
:root {
  --white: #ffffff;
  --off-white: #f4f6f8;
  --ice: #e8edf2;
  --gray-light: #b0bec5;
  --gray-mid: #6b7b8d;
  --gray-dark: #3a4a5c;
  --navy: #1a2634;
  --cobalt: #2a6496;
  --cobalt-light: #3a7ab5;
  --shadow-sm: 0 2px 8px rgba(26, 38, 52, 0.06);
  --shadow-md: 0 6px 24px rgba(26, 38, 52, 0.1);
  --shadow-lg: 0 12px 40px rgba(26, 38, 52, 0.15);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--gray-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
  UTILITY CLASSES
============================================ */
.flex { display: flex; align-items: center; }
.flex.column { flex-direction: column; align-items: flex-start; }
.flex.even { justify-content: space-between; }
.flex.end { justify-content: flex-end; }
.bg-main { background-color: var(--navy); }
.bg-light { background-color: var(--off-white); }
.bg-gray { background-color: var(--gray-dark); }
.color-light { color: var(--white); }
.color-gray { color: var(--gray-mid); }
.bold { font-weight: 600; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================
  SCROLL FADE-IN ANIMATION
============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
  HEADER & NAVIGATION
============================================ */
.nav-container {
  padding: 28px 48px;
  position: relative;
  z-index: 10;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--cobalt-light);
  transition: width var(--transition);
}

nav a:hover::after { width: 100%; }

/* ============================================
  HERO
============================================ */
header {
  background: linear-gradient(145deg, var(--navy) 0%, #243344 60%, #2a3f52 100%);
  padding: 0 48px 80px;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  width: 100%;
  gap: 48px;
}

.hero-left h2 {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-right {
  align-items: flex-end;
  gap: 24px;
}

.city h3 {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 400;
}

.hero-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 10px 28px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.hero-btn a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-btn:hover {
  border-color: var(--cobalt-light);
  background: rgba(42, 100, 150, 0.15);
  box-shadow: 0 0 20px rgba(42, 100, 150, 0.2);
}

/* ============================================
  HEXAGONS (decorative)
============================================ */
.hexagons {
  position: absolute;
  bottom: -40px; right: -60px;
  width: 380px; height: 380px;
  z-index: 1;
  opacity: 0.06;
}

.hexagon {
  position: absolute;
  width: 180px; height: 180px;
  background: var(--white);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon1 { top: 0; right: 0; }
.hexagon2 { top: 60px; right: 80px; width: 140px; height: 140px; opacity: 0.6; }
.hexagon3 { top: 140px; right: 10px; width: 100px; height: 100px; opacity: 0.4; }

/* ============================================
  ABOUT ME SECTION
============================================ */
#About {
  padding: 100px 48px;
  margin: 0 auto;
  text-align: center;
  color: var(--ice);
  position: relative;
  overflow: hidden;
}
.about{
  max-width: 820px;
  margin: 0 auto;
}
#About h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

#About .section-divider {
  width: 48px; height: 2px;
  background: var(--cobalt);
  margin: 0 auto 48px;
  border-radius: 1px;
}

#About p {
  font-size: 1.05rem;
  line-height: 1.9;
  font-weight: 300;
  text-align: left;
  margin-bottom: 12px;
}

.about-hexagons {
  position: absolute;
  top: -30px; left: -50px;
  width: 320px; height: 320px;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.about-hex {
  position: absolute;
  background: var(--ice);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.about-hex1 { width: 180px; height: 180px; top: 0; left: 0; }
.about-hex2 { width: 140px; height: 140px; top: 60px; left: 80px; opacity: 0.6; }
.about-hex3 { width: 100px; height: 100px; top: 140px; left: 10px; opacity: 0.4; }

/* ============================================
  SECTION TITLES
============================================ */
.projects h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
  position: relative;
}

.projects .section-divider {
  width: 48px; height: 2px;
  background: var(--cobalt);
  margin: 0 auto 64px;
  border-radius: 1px;
  text-wrap: nowrap;
}

/* ============================================
  PROFESSIONAL & PROJECT SECTIONS
============================================ */
.projects {
  padding: 100px 48px;
  background: var(--off-white);
}

#featured_professional,
#featured_personal {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.other_work{
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 12px;
}

.other_work a{
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.other_work a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--cobalt-light);
  transition: width var(--transition);
}
.other_work a:hover::after { width: 100%; }


/* ============================================
  GALLERY ITEMS (cards)
============================================ */
gallery-item {
  background: var(--white);
  border-radius: 10px;
  padding: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 38, 52, 0.06);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--cobalt);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(42, 100, 150, 0.15);
}

.gallery-item:hover::before { opacity: 1; }

.gallery-thumb {
  width: 220px;
  min-height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  padding-left: 40px;
  padding-top: 12px;
  border-radius: 8px;
}

.gallery-content {
  padding: 24px 40px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-title h3 {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-item h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 500;
  margin-bottom: 14px;
}

.gallery-item p {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.gallery-item a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.gallery-item a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1.5px;
  background: var(--cobalt);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--transition);
}

.gallery-item a:hover { color: var(--cobalt-light); }
.gallery-item a:hover::after { transform: scaleX(1); }

/* ============================================
  CONTACT SECTION
============================================ */
.contact {
  min-height: 420px;
  flex-direction: row;
}

.contact aside {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}

.contact-text {
  max-width: 420px;
  gap: 24px;
}

.contact-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
}

.contact-text p {
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.8;
}

/* ============================================
  CONTACT FORM
============================================ */
.contact-form {
  width: 100%;
  max-width: 400px;
}

.contact-form form {
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cobalt-light);
  background: rgba(255,255,255,0.1);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-btn {
  width: 100%;
  padding: 13px;
  background: var(--cobalt);
  border: none;
  border-radius: 6px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform 0.15s ease;
}

.form-btn:hover {
  background: var(--cobalt-light);
  box-shadow: 0 4px 16px rgba(42, 100, 150, 0.35);
}

.form-btn:active { transform: scale(0.98); }

/* ============================================
  CONTACT LINKS
============================================ */
.links {
  margin-top: 36px;
}

.links h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 12px;
  font-weight: 400;
}

.links ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.links a {
  color: rgba(255,255,255,0.5);
  font-size: 1.3rem;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
  FOOTER
============================================ */
footer {
  background: var(--navy);
  padding: 32px 48px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
  RESPONSIVE
============================================ */
@media (max-width: 768px) {
  header { padding: 0 24px 60px; min-height: auto; }
  .nav-container { padding: 24px 24px; }
  nav ul { gap: 20px; }
  .hero { flex-direction: column; gap: 32px; padding-top: 32px; }
  .hero-right { align-items: flex-start; }
  .hexagons { width: 220px; height: 220px; right: -30px; bottom: -20px; }
  .hexagon { width: 120px; height: 120px; }
  .hexagon1 {top:24px;}
  .hexagon2 { width: 90px; height: 90px; top: 80px; right: 70px;}
  .hexagon3 { width: 70px; height: 70px; top: 130px; right: 20px;}
  #About { padding: 60px 24px; }
  .about-hex1 { width: 150px; height: 150px;}
  .about-hex2 { width: 110px; height: 110px;}
  .about-hex3 { width: 70px; height: 70px; top: 130px; left: 48px;}
  .projects { padding: 60px 24px; }
  .gallery-item { flex-direction: column; }
  .gallery-thumb { width: 100%; height: 200px; object-fit: contain; }
  .gallery-content { padding: 28px 24px; }  .contact { flex-direction: column; }
  .contact aside { padding: 48px 24px; width: 100%;}
  footer{max-height:20px; padding: 25px;}
}

@media (max-width: 480px) {
  .hero-left h1 { font-size: 2.4rem; }
  nav ul { gap: 14px; }
  nav a { 
    font-size: 0.75rem;
    text-wrap: nowrap;
  }
}