/* Template 5: Creative Portfolio - Asymmetric & Artistic Design */

:root {
  --primary: #000000;
  --secondary: #ff6b6b;
  --accent: #4ecdc4;
  --accent-2: #ffe66d;
  --bg-light: #f8f8f8;
  --bg-dark: #1a1a1a;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.brand-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}

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

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}

/* Hero Section - Asymmetric */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--accent-2);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 2rem;
  color: var(--primary);
}

.title-line-1 {
  display: block;
}

.title-line-2 {
  display: block;
  color: var(--secondary);
  margin-left: 3rem;
}

.title-line-3 {
  display: block;
  margin-left: 6rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-text {
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-text:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  transform: rotate(-5deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: var(--text-light);
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(20px); opacity: 0.3; }
}

/* Sections */
.section {
  padding: 8rem 3rem;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-header {
  margin-bottom: 5rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.section-number {
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  opacity: 0.3;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.section-dark .section-title {
  color: var(--white);
}

/* Work Grid - Asymmetric Masonry */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 300px;
  gap: 2rem;
}

.work-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: scale(1.02);
}

.work-item-large {
  grid-column: span 7;
  grid-row: span 2;
}

.work-item-medium {
  grid-column: span 5;
  grid-row: span 1;
}

.work-item-small {
  grid-column: span 4;
  grid-row: span 1;
}

.work-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.work-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 50%, var(--accent-2) 100%);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-info {
  text-align: center;
  color: var(--white);
}

.work-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.work-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.work-description {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.work-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.work-link:hover {
  gap: 1rem;
}

/* About Section - Asymmetric */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.about-image-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-image-large {
  grid-row: span 2;
}

.about-image-large .image-placeholder,
.about-image-small .image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

.about-image-large .image-placeholder {
  height: 600px;
}

.about-image-small .image-placeholder {
  height: 300px;
}

.about-content {
  padding-top: 2rem;
}

.about-text .lead {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 500;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.about-skills h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tag {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--accent-2);
  color: var(--primary);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bg-light);
  z-index: 0;
}

.process-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-number {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.process-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.process-description {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

/* Testimonials - Asymmetric */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--accent-2);
  margin-bottom: 2rem;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 3rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-2);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.author-details h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.author-details p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.testimonials-image .image-placeholder {
  width: 100%;
  height: 500px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-intro {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 2rem 0 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-top: 0.25rem;
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--text-light);
  font-size: 1rem;
}

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

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid var(--bg-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--primary);
  background: var(--white);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 4rem 3rem 2rem;
}

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

.footer-brand .brand-text {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .title-line-2 {
    margin-left: 2rem;
  }
  
  .title-line-3 {
    margin-left: 4rem;
  }
  
  .work-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .work-item-large {
    grid-column: span 6;
  }
  
  .work-item-medium {
    grid-column: span 3;
  }
  
  .work-item-small {
    grid-column: span 3;
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .floating-nav {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 1rem;
    right: 1rem;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    padding: 6rem 1.5rem 3rem;
  }
  
  .title-line-2,
  .title-line-3 {
    margin-left: 0;
  }
  
  .section {
    padding: 5rem 1.5rem;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 400px;
  }
  
  .work-item-large,
  .work-item-medium,
  .work-item-small {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .about-image-section {
    grid-template-columns: 1fr;
  }
  
  .about-image-large .image-placeholder {
    height: 400px;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
}

