/* Global Styles */
:root {
  --primary-color: #d4af37;
  --secondary-color: #1a1a1a;
  --accent-color:#d4af37;
  --light-color: #f5f5f5;
  --dark-color: #121212;
  --text-color: #333;
  --text-light: #4f52529d;
  --white: #fff;
  --black: #000;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Playfair Display', 'Cardo', serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: var(--header-height);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
  scroll-margin-top: var(--header-height);
}

/* Typography */
.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  color: var(--dark-color);
}

.section-title span {
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.25rem;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.875rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.3125rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  box-shadow: var(--box-shadow);
}

.btn-primary:hover:not(:disabled) {
  background-color: #e05500;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 0.125rem solid var(--primary-color);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn:focus {
  outline: 0.1875rem solid rgba(255, 94, 0, 0.4);
  outline-offset: 0.1875rem;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-icon {
  transition: transform 0.3s ease;
}

/* CTA Button */
.cta-btn {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Secondary Button */
.secondary-btn {
  letter-spacing: 0.5px;
}

.secondary-btn:hover .btn-icon {
  transform: rotate(90deg);
  fill: white;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: var(--header-height);
  backdrop-filter: blur(0.625rem);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.1);
  padding: 0.625rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.875rem;
}

.nav-links a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger .line {
  width: 1.5625rem;
  height: 0.1875rem;
  background-color: var(--dark-color);
  margin: 0.3125rem;
  transition: var(--transition);
}

.hamburger.active .line:nth-child(1) {
  transform: rotate(-45deg) translate(-0.3125rem, 0.375rem);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(45deg) translate(-0.3125rem, -0.375rem);
}

/* Hero Section */
.home-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 37.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: var(--dark-color);
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1.875rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 25rem;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.2);
  border: 0.3125rem solid rgba(255, 255, 255, 0.2);
}

@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

/* About Section */
.about-section {
  background-color: var(--light-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3.125rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img {
  width: 100%;
  max-width: 25rem;
  height: auto;
  border-radius: 0.625rem;
  box-shadow: var(--box-shadow);
}

.skills {
  margin-top: 1.875rem;
}

.skills h3 {
  margin-bottom: 0.9375rem;
  font-size: 1.5rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--light-gray);
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.skill-tag:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.skill-tag i {
  font-size: 1rem;
}
/* Projects Section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(21.875rem, 1fr));
  gap: 1.875rem;
}

.project-card {
  background-color: var(--white);
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-0.625rem);
  box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 15.625rem;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  padding: 1.25rem;
}

.project-info h3 {
  margin-bottom: 0.625rem;
  color: var(--dark-color);
}

.project-info p {
  color: var(--text-light);
  margin-bottom: 0.9375rem;
}

.project-links {
  display: flex;
  gap: 0.9375rem;
}

.project-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border-bottom: 0.125rem solid transparent;
}

.project-link:hover {
  border-bottom: 0.125rem solid var(--primary-color);
}

/* Contact Section */
.contact-content {
  display: flex;
  gap: 3.125rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  color: var(--dark-color);
}

.contact-info p {
  margin-bottom: 0.9375rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.contact-info i {
  color: var(--primary-color);
  width: 1.5625rem;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.875rem;
}

.social-links a {
  color: var(--dark-color);
  font-size: 1.5rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-0.3125rem);
  background-color: rgba(255, 94, 0, 0.1);
}

.contact-form {
  background-color: var(--white);
  padding: 1.875rem;
  border-radius: 0.625rem;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9375rem;
  border: 0.0625rem solid #ddd;
  border-radius: 0.3125rem;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.1875rem rgba(255, 94, 0, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 9.375rem;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3.75rem 0 1.25rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-text {
  margin-bottom: 1.875rem;
  max-width: 37.5rem;
  color: #bdc3c7;
}

.footer-nav {
  display: flex;
  gap: 1.875rem;
  margin-bottom: 1.875rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.footer-social a {
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: translateY(-0.3125rem);
}

.footer-bottom {
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6.25rem;
    gap: 2.5rem;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    flex-direction: column;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.875rem;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.9375rem;
  }
  
  .btn {
    width: 100%;
  }

  .hero-img {
    max-width: 18.75rem;
  }
}