@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary: #1760a9;
  --secondary: #3a9360;
  --accent: #796fff;
  --bg: #f4f7f6;
  --card-bg: rgba(255, 255, 255, 0.9);
  --text-main: #242424;
  --text-muted: #555;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  animation: fade-up 0.6s ease-out;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, #0d3b66 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 20px;
  border-radius: var(--border-radius);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Main Layout */
.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.portfolio-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.section-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 10px;
}

/* Common Card Style */
.style-card {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.style-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Home Section */
.home-section {
  text-align: center;
}

.intro-container {
  max-width: 600px;
  width: 100%;
}

.img {
  display: block;
  margin: 0 auto 20px;
  max-width: 180px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.main-title {
  color: var(--text-main);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  flex-wrap: wrap;
}

.tag-list li {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  background: rgba(121, 111, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
}

/* Over Section */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
}

.content-text h3 {
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

.content-text p {
  color: var(--text-muted);
  line-height: 1.8;
}

.spotify-container h3 {
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-left: 4px solid var(--secondary);
  padding-left: 10px;
}

/* Project Section */
.project-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  height: 350px;
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/begin.png');
  background-size: cover;
  background-position: center;
  gap: 20px;
  border: none;
}

.project-banner h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
  margin: 0;
}

.classic {
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(121, 111, 255, 0.4);
  transition: var(--transition);
}

.classic:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(121, 111, 255, 0.6);
}

/* Contact Section */
.contact-wrapper {
  width: 100%;
  max-width: 600px;
}

.premium-card h2 {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid #eee;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(121, 111, 255, 0.1);
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(121, 111, 255, 0.3);
  margin-top: 10px;
}

.btn-submit:hover {
  background: #6257e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(121, 111, 255, 0.4);
}

.static-phone {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  text-align: center;
}

.phone-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.phone-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
  .portfolio-section {
    min-height: auto;
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    margin: 10px;
    padding: 20px;
  }
  
  nav ul {
    gap: 10px;
  }
  
  nav ul li a {
    font-size: 0.95rem;
    padding: 6px 12px;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .img {
    max-width: 140px;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .classic {
    padding: 12px 30px;
    font-size: 1.1rem;
  }
  
  .style-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  header {
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 10px;
  }
  
  nav ul {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    justify-content: space-around;
  }
  
  nav ul li a {
    font-size: 0.85rem;
    padding: 5px 8px;
  }
}
