:root {
  --primary: #ff6f61;   /* coral */
  --secondary: #6c63ff; /* purple */
  --accent: #f9c74f;    /* yellow */
  --soft-bg: #fff7f0;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #ff5748;
}

html {
  scroll-behavior: smooth;
}

section {
  position: relative;
  overflow: hidden;
}

.navbar-brand {
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
}

.hero-section {
    background-color: #f8f9fa;
}

.hero-section h1 {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}

.home-about h2 {
    font-size: 2rem;
}

.art-categories .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-categories .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.best-art-item img {
    transition: transform 0.3s ease;
}

.best-art-item img:hover {
    transform: scale(1.03);
}

.kids-card img {
    transition: transform 0.3s ease;
}

.kids-card img:hover {
    transform: scale(1.05);
}

.art-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.testimonial-card {
    background-color: #ffffff;
}

.testimonial-card p {
    font-style: italic;
}

.home-contact {
    background-color: #f8f9fa;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.teacher-card img {
    object-fit: cover;
}

.hero-section img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.home-about img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.art-categories .card-img-top {
  height: 180px;
  object-fit: cover;
}

.best-art-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.kids-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.art-gallery .swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.teacher-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.testimonial-card {
  height: 100%;
}

@media (max-width: 768px) {

  .hero-section img {
    height: 250px;
  }

  .home-about img,
  .art-gallery .swiper-slide img {
    height: 220px;
  }

}

img {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

img[src] {
  opacity: 1;
}

.hero-section {
  background: linear-gradient(135deg, #fff7f0, #fdf0ff);
}

.hero-section h1 {
  animation: slideInLeft 1s ease forwards;
}

/* .hero-section img {
  animation: floatImage 4s ease-in-out infinite;
} */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatImage {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.home-about {
  background-color: var(--soft-bg);
}

.home-about img {
  transition: transform 0.4s ease;
}

.home-about img:hover {
  transform: scale(1.03);
}

.art-categories .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-categories .card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.best-art-item img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.best-art-item img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.kids-card img {
  transition: transform 0.4s ease;
}

.kids-card:hover img {
  transform: rotate(-2deg) scale(1.05);
}

.art-gallery img {
  transition: transform 0.4s ease;
}

.art-gallery img:hover {
  transform: scale(1.04);
}

.testimonial-card {
  background: white;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.home-contact {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

section::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 200, 100, 0.15);
  border-radius: 50%;
  top: -40px;
  right: -40px;
}

/* Normalize hero & about images ONLY on mobile */
@media (max-width: 767px) {
  .hero-section img,
  .home-about img {
    aspect-ratio: 16 / 9;   /* SAME visual shape */
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }
}

/* ===== Creative Navbar ===== */

.navbar {
  background: linear-gradient(135deg, #fff7f0, #fff);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0.8rem 0;
}

/* Brand */
.navbar-brand {
  font-size: 1.25rem;
  color: #222;
}

.brand-icon {
  font-size: 1.5rem;
  transition: transform 0.4s ease;
}

/* Cute hover on logo */
.navbar-brand:hover .brand-icon {
  transform: rotate(-10deg) scale(1.1);
}

/* Nav links */
.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  color: #444;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #ff7a59;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ff7a59;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Active link */
.navbar-nav .nav-link.active {
  color: #ff7a59;
}

/* Mobile toggle */
.navbar-toggler {
  border-radius: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Mobile menu background */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff7f0;
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.75rem;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 0.6rem 0;
  }
}

.page-banner {
  background: linear-gradient(135deg, #fff7f0, #ffffff);
}

.page-banner h1 {
  font-size: 2.2rem;
}

.page-banner p {
  max-width: 600px;
  margin: 0 auto;
}

.about-studio h2 {
  font-size: 1.9rem;
}

.about-studio p {
  line-height: 1.7;
}

.about-studio img {
  border-radius: 18px;
}

.teacher-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.teacher-card img {
  border: 4px solid #fff7f0;
}

.vision-mission {
  background: #fafafa;
}

.vision-mission h3 {
  margin-bottom: 0.5rem;
}

.vision-mission p {
  line-height: 1.6;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff7a59;
}

@media (max-width: 767px) {
  .page-banner h1 {
    font-size: 1.8rem;
  }

  .about-studio h2 {
    font-size: 1.6rem;
  }
}

/* ================= ABOUT PAGE POLISH ================= */

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #fff6ec, #ffffff);
}

.page-banner h1 {
  font-size: 2.3rem;
  letter-spacing: 0.5px;
}

.page-banner p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* About Studio */
.about-studio h2 {
  font-size: 2rem;
}

.about-studio p {
  line-height: 1.75;
  font-size: 1.02rem;
}

.about-studio img {
  border-radius: 18px;
}

/* Teacher Section */
.teacher-card {
  border-radius: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.teacher-card img {
  border: 5px solid #fff6ec;
}

/* Vision & Mission */
.vision-mission {
  background: #fafafa;
}

.vision-mission h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.vision-mission p {
  line-height: 1.65;
  font-size: 1.01rem;
}

/* Footer polish */
.footer-link {
  color: #bcbcbc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff7a59;
}

/* Mobile fine-tuning */
@media (max-width: 767px) {
  .page-banner h1 {
    font-size: 1.85rem;
  }

  .about-studio h2 {
    font-size: 1.65rem;
  }

  .teacher-card {
    margin-bottom: 1rem;
  }
}

/* ================= CONTACT PAGE ================= */

/* Banner */
.page-banner {
  background: linear-gradient(135deg, #fff6ec, #ffffff);
}

.page-banner h1 {
  font-size: 2.3rem;
}

.page-banner p {
  font-size: 1.05rem;
}

/* Contact Info */
.contact h4 {
  font-size: 1.5rem;
}

.contact p {
  font-size: 1rem;
  line-height: 1.65;
}

.contact a.btn-success {
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 500;
}

/* Contact Form */
.contact .shadow-sm {
  border-radius: 20px;
}

.contact .form-control {
  border-radius: 12px;
  padding: 10px 14px;
}

.contact .form-control:focus {
  box-shadow: none;
  border-color: #ff7a59;
}

.contact button.btn-primary {
  background-color: #ff7a59;
  border: none;
  border-radius: 30px;
  padding: 10px 28px;
  font-weight: 500;
}

.contact button.btn-primary:hover {
  background-color: #ff6640;
}

/* Footer links */
.footer-link {
  color: #bcbcbc;
  text-decoration: none;
}

.footer-link:hover {
  color: #ff7a59;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .page-banner h1 {
    font-size: 1.8rem;
  }

  .contact .shadow-sm {
    padding: 1.5rem !important;
  }
}

#submitBtn {
  transition: all 0.3s ease;
}

#submitBtn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: #333;
}

h1, h2, h3, h4 {
  letter-spacing: -0.3px;
}

img {
  border-radius: 14px;
}

.best-art-item img,
.kids-card img {
  filter: saturate(0.95) contrast(0.95);
}

.card,
.testimonial-card,
.teacher-card {
  background: #ffffff;
}

.shadow-sm {
  box-shadow: 0 8px 18px rgba(0,0,0,0.06) !important;
}

/* ===== Consistent Section Spacing ===== */
.section {
  padding: 4.5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.brand-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
  letter-spacing: -0.3px;
}

.footer-quote {
    font-style: italic;
    opacity: 0.85;
}

/* Force swiper height */
.artGallerySwiper {
    height: 340px;
}

/* Force slides to stretch */
.artGallerySwiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* Image wrapper */
.gallery-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
}

/* Image behavior */
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .artGallerySwiper {
        height: 220px;
    }
}

.mentor-photo {
  width: 250px;
  height: 250px;          /* SAME as width */
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* prevents stretching */
}

@media (max-width: 480px) {
  .mentor-photo {
    margin-bottom: 28px;
  }
}

.footer a:hover {
  color: #ffc107 !important; /* soft warm accent */
  transition: 0.3s;
}

.alert {
  border-radius: 12px;
  background: #f8f9fa;
}

.alert i {
  font-size: 1.2rem;
}

#submitBtn {
  border-radius: 8px;
  transition: all 0.3s ease;
}

#submitBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
  color: #ff6b6b; /* change to your brand color */
  font-size: 1.1rem;
}

.contact-link {
  color: #333;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ff6b6b; /* same brand color */
}

.contact-icon {
  color: #666;
  font-size: 1.1rem;
}

.contact-icon {
  position: relative;
  top: 1px;
}