:root {
  /* Palette 1 - Primary Colors */
  --primary: #2c3e50;
  --secondary: #3498db;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #1a1a1a;

  /* Palette 2 - Complementary */
  --palette2-main: #34495e;
  --palette2-bright: #16a085;
  --palette2-warm: #f39c12;
  --palette2-soft: #bdc3c7;
  --palette2-text: #2c3e50;

  /* Palette 3 - Modern */
  --palette3-dark: #1e293b;
  --palette3-blue: #0f172a;
  --palette3-accent: #06b6d4;
  --palette3-light: #f1f5f9;
  --palette3-gray: #64748b;

  /* Palette 4 - Warm */
  --palette4-deep: #6b4423;
  --palette4-main: #d97706;
  --palette4-light: #fed7aa;
  --palette4-cream: #fef3c7;
  --palette4-text: #78350f;

  /* Palette 5 - Cool & Fresh */
  --palette5-navy: #0c3c54;
  --palette5-teal: #20a39e;
  --palette5-mint: #95d5b2;
  --palette5-light: #e8f5f0;
  --palette5-gray: #6c757d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  gap: 1rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

nav a:hover {
  color: var(--secondary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  nav a {
    padding: 0.5rem 0;
  }
}

/* ================================
   MAIN CONTENT
   ================================ */
main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  min-height: calc(100vh - 200px);
}
/* linear-gradient(135deg, #667eea 0%, #764ba2 100%) */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #fff;
    padding: 6rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    animation: slideUp 0.8s ease-out;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#home {
    display: block;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ================================
   CONTAINERS & SECTIONS
   ================================ */
section {
  margin-bottom: 3rem;
}

.about-container,
.portfolio-container,
.contact-container {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-row,
.portfolio-row,
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* ================================
   ABOUT PAGE STYLES
   ================================ */
.about-text {
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 10px;
  color: white;
}

.about-card .img-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card h3 {
  color: white;
  font-size: 1.5rem;
}

/* ================================
   CONTACT PAGE STYLES
   ================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 2px solid var(--light);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.send-btn {
  background-color: var(--secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send-btn:hover {
  background-color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  display: inline-block;
  background-color: var(--secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.social-btn:hover {
  background-color: var(--accent);
}

.map-wrapper {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
}

/* ================================
   PORTFOLIO PAGE STYLES
   ================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.portfolio-card-content {
  padding: 1.5rem;
}

.portfolio-card-content h3 {
  margin-bottom: 0.5rem;
}

.portfolio-card-content p {
  font-size: 0.95rem;
  color: var(--palette2-text);
  margin-bottom: 1rem;
}

.portfolio-card-btn {
  display: inline-block;
  background-color: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.portfolio-card-btn:hover {
  background-color: var(--accent);
}

/* ================================
   BUTTONS & LINKS
   ================================ */
button {
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

a {
  color: var(--secondary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* ================================
   FOOTER
   ================================ */
footer {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  main {
    padding: 0 1rem;
    margin: 2rem auto;
  }

  .about-row,
  .contact-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card .img-box {
    width: 150px;
    height: 150px;
  }

  .map-wrapper iframe {
    height: 250px;
  }

  nav {
    padding: 0 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .social-links {
    flex-direction: column;
  }

  .social-btn {
    width: 100%;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  main {
    padding: 0 0.5rem;
  }

  .about-container,
  .portfolio-container,
  .contact-container {
    padding: 1rem;
  }

  nav {
    padding: 0.5rem;
  }

  nav h1 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.6rem;
  }
  
}

