:root {
  --dark-bg: #faf8f6;
  --medium-dark-bg: #f5f1ed;
  --primary-color: #d4a5a5;
  --accent-color: #e8d5c4;
  --text-color: #5a4a42;
  --card-bg: #ffffff;
  --secondary-accent: #c9b8d4;
  --light-accent: #f0e6e1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(250, 248, 246, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 165, 165, 0.15);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(212, 165, 165, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.logo:hover {
  color: #c99595;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 3rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero-text h1 .highlight {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text .subtitle {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(90, 74, 66, 0.8);
  margin-bottom: 3rem;
  line-height: 1.9;
  max-width: 580px;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn {
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(212, 165, 165, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 165, 165, 0.4);
  background: #c99595;
}

.btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(212, 165, 165, 0.1);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 550px;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--secondary-accent) 100%
  );
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(212, 165, 165, 0.2);
}

.image-placeholder i {
  font-size: 6rem;
  color: rgba(90, 74, 66, 0.15);
}

/* About Section */
.about {
  padding: 8rem 3rem;
  background: var(--card-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 900;
}

.section-title p {
  color: rgba(90, 74, 66, 0.6);
  font-size: 1.15rem;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.8rem;
  color: rgba(90, 74, 66, 0.8);
  line-height: 1.9;
  font-size: 1.05rem;
}

.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.skill-item {
  background: var(--light-accent);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 165, 165, 0.1);
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(212, 165, 165, 0.15);
  background: #ede3db;
}

.skill-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.skill-item p {
  font-size: 0.95rem;
  color: rgba(90, 74, 66, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
  padding: 8rem 3rem;
  background: var(--medium-dark-bg);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.9rem 2rem;
  background: var(--card-bg);
  color: var(--text-color);
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(212, 165, 165, 0.3);
}

.portfolio-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  background: var(--card-bg);
  height: 450px;
  box-shadow: 0 8px 30px rgba(212, 165, 165, 0.1);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(212, 165, 165, 0.25);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

/* Image placeholder when no image is uploaded */
.portfolio-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--secondary-accent) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(90, 74, 66, 0.3);
  font-size: 1.2rem;
  font-weight: 500;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 70%,
    transparent 100%
  );
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  color: var(--text-color);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.portfolio-overlay p {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.portfolio-overlay .view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.portfolio-overlay .view-btn:hover {
  color: var(--primary-color);
  gap: 1rem;
}

/* Services Section */
.services {
  padding: 8rem 3rem;
  background: var(--card-bg);
}

.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--light-accent);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 165, 165, 0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(212, 165, 165, 0.2);
  background: #ede3db;
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-accent) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.2rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(212, 165, 165, 0.25);
}

.service-card h3 {
  color: var(--text-color);
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.service-card p {
  color: rgba(90, 74, 66, 0.75);
  line-height: 1.8;
  font-size: 1rem;
}

/* Contact Section */
.contact {
  padding: 8rem 3rem;
  background: var(--medium-dark-bg);
}

.contact-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 165, 165, 0.1);
}

.contact-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 35px rgba(212, 165, 165, 0.15);
}

.contact-item i {
  font-size: 1.6rem;
  color: #ffffff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-item-content h4 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-item-content p {
  color: rgba(90, 74, 66, 0.75);
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.form-group label {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 1.2rem 1.5rem;
  background: var(--card-bg);
  border: 2px solid rgba(212, 165, 165, 0.15);
  border-radius: 15px;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(212, 165, 165, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

/* Footer */
footer {
  background: var(--card-bg);
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(212, 165, 165, 0.15);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
}

.footer-about p {
  color: rgba(90, 74, 66, 0.75);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 165, 165, 0.15);
}

.social-links a:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(212, 165, 165, 0.3);
}

.footer-links h4 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(90, 74, 66, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(212, 165, 165, 0.15);
  color: rgba(90, 74, 66, 0.5);
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 55px;
  height: 55px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(212, 165, 165, 0.3);
}

.scroll-top.active {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 165, 165, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
  nav {
    padding: 0 2rem;
  }

  .hero,
  .about,
  .portfolio,
  .services,
  .contact {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .section-title h2 {
    font-size: 3rem;
  }

  .hero-text,
  .about-text {
    text-align: center;
  }

  .hero-text p {
    max-width: 100%;
  }

  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(250, 248, 246, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .skills {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .image-placeholder {
    height: 450px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 1.5rem;
  }

  .hero,
  .about,
  .portfolio,
  .services,
  .contact {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    justify-content: center;
  }

  .filter-buttons {
    gap: 0.8rem;
  }

  .filter-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}
