@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background: #fdfdfd;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- GLOBAL ---------- */
a { text-decoration: none; color: inherit; }

.btn, .btn1 {
  background: #00A19B;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
  border: none;
}
.btn1 { padding: 8px 20px; }
.btn:hover, .btn1:hover { background: #005e5b; }

section { padding: 80px 8%; }
h2 { font-size: 32px; margin-bottom: 20px; }
.section-title { text-align: center; margin-bottom: 40px; }

/* ---------- HEADER & HAMBURGER ---------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  position: sticky;
  top: 0;
  background: #E7F0FD;
  z-index: 1000;
}

header h2 { font-size: 22px; margin-bottom: 0; }

header nav a {
  margin-left: 25px;
  font-size: 15px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #00A19B;
  margin: 4px 0;
  transition: 0.4s;
}

/* ---------- HERO ---------- */
.hero {
  display: flex;
  background-color: #E7F0FD;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero h3 { font-size: 40px; margin: 20px 0; }
.hero span { color: #00A19B; }
.hero p1 { color: #050505; font-size: 24px; display: block; }
.hero p { color: #606060; max-width: 520px; margin-bottom: 30px; }
.hero img { width: 400px; border-radius: 20px; }

/* ---------- SKILLS & CARDS ---------- */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  background-color: #E7F0FD;
  border-radius: 25px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Cards that are NOT links (the ones in the top section) */
.static-card { padding: 40px; }

/* Cards that ARE links (Portfolio section) */
.card-route {
  padding: 40px;
  display: block;
  width: 100%;
  height: 100%;
}

.skill-card:hover { transform: translateY(-8px); }

.skill-card h2 {
  font-size: 1.6rem;
  color: #00A19B;
  margin-bottom: 15px;
}

.skill-card p {
  font-size: 1rem;
  color: #606060;
  text-align: left;
}

/* ---------- ABOUT ME ---------- */
.about {
  display: flex;
  background-color: #E7F0FD;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-direction: row-reverse;
}

.about p { color: #606060; font-size: 18px; margin-bottom: 15px; }
.about img { width: 400px; border-radius: 20px; }
.about img:hover { filter: grayscale(99%); transform: rotate(-2deg); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);}

/* ---------- CONTACT ---------- */
#contact { background: #E7F0FD; }
form {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

form input, form textarea {
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

form textarea { grid-column: span 2; height: 120px; }
form button { grid-column: span 2; }

/* ---------- SUCCESS TOAST ---------- */
.toast {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    left: 50%;
    transform: translateX(-50%);
    background: #00A19B; /* Your theme color */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    visibility: hidden;
}

.toast.show {
    bottom: 50px; /* Slides up into view */
    visibility: visible;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.toast i {
    font-size: 20px;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .toast {
        width: 90%;
        font-size: 14px;
        padding: 12px 20px;
    }
}


/* ---------- Footer ----------
footer {
  text-align: center;
  padding: 20px 0;
  background: #E7F0FD;
  color: #606060;
  font-size: 14px;
} */


/* ---------- Graphics  ---------- */

.gallery-section {
    padding: 100px 8%;
    background-color: #fdfdfd;
}

.gallery-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.design-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.design-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.design-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.design-caption {
    padding: 15px;
    background: #fff;
    font-weight: 500;
    color: #333;
    text-align: center;
}

/* ---------- SMART RESPONSIVENESS ---------- */

/* Tablet: 2 Columns */
@media (max-width: 992px) {
    .image-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phone: 1 Column (One after another) */
@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-section { padding: 80px 5%; }
    
    .design-item {
        border-radius: 12px;
    }
}

/* ---------- PREMIUM LIGHTBOX ---------- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px); /* Blurs the background for focus */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2100;
}

.close-btn:hover {
    color: #00A19B;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- RESPONSIVE / MOBILE ---------- */
@media (max-width: 900px) {
  header nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #E7F0FD;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  }

  header nav.active { display: flex; }
  header nav a { margin: 15px 0; margin-left: 0; font-size: 18px; }
  .menu-toggle { display: flex; }

  .hero, .about { flex-direction: column; text-align: center; }
  .hero img, .about img { width: 100%; max-width: 350px; }
  .hero p, .about p { margin: 0 auto 20px; }
  
  section { padding: 60px 5%; }
}

@media (max-width: 600px) {
  .hero h3 { font-size: 28px; }
  form { grid-template-columns: 1fr; }
  form textarea, form button { grid-column: span 1; }
  .static-card, .card-route { padding: 30px 20px; }
}