/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Root Variables */
:root {
  --primary-color: #ff6f61;          /* Vibrant Coral */
  --primary-dark: #e0554f;           /* Deep Coral */
  --secondary-color: #fff5ef;        /* Soft Cream */
  --text-color: #2c2c2c;             /* Clean Charcoal */
  --bg-color: #fffaf7;               /* Warm White */
  --footer-bg: #1e1b1b;              /* Bold Charcoal */
  --accent: #f9c74f;                 /* Soft Yellow */
  --shadow-color: rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --social-icon-size: 38px;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px var(--shadow-color);
}

header h1 {
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
    width: 100px;
    max-width: 100%;
    height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Section Styling */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* About Section */
.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.about-image {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px var(--shadow-color);
  border: 4px solid #fff;
}

.about-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.social-icons a img {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.social-icons a img:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px var(--shadow-color);
}

/* Projects Section */
#projects {
  background-color: var(--secondary-color);
}

#projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.project {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1rem;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(255, 111, 97, 0.15);
}

.project-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  margin-top: 0.5rem;
  display: inline-block;
}

.project a:hover {
  text-decoration: underline;
}

/* Instagram Stats Section */
#instagram-stats {
  background-color: var(--bg-color);
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#instagram-stats h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-box {
  background-color: #ffffff;
  border: 2px solid var(--secondary-color);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  width: 220px;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  }


.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.stat-box h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.stat-box p {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Contact Section */
#contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

form input,
form textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  background: #fafafa;
  transition: border 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

form button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: white;
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    width: 200px;
    height: 200px;
  }

  .about-text {
    text-align: center;
  }

  #projects-container,
  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-box {
    width: 80%;
  }
}
