/* Mobile-first base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;   /* Charcoal Blue – Strong Foundation */
    --secondary-color: #8d99ae; /* muted silver-blue, subtle highlight */
    --accent-color: #ef8354;    /* Coral – Modern Pop of Energy */
    --text-light: #f8f9fa;      /* Off White – Clean Readability */
    --text-dark: #000000;       /* Jet Black – Crisp Contrast */
    --bg-light: #f3f3f3;        /* Pure White – Timeless Background */
    --transition: all 0.3s ease;
    --success-color: #27ae60;
    --warning-color: #f39c12;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ========================================== */
/* ===== Custom Navbar (Bootstrap-safe) ===== */
/* ========================================== */

.custom-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary-color);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0.8rem 0;
}

.custom-navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.custom-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-logo {
  display: inline-block; /* keeps it clickable */
  text-decoration: none; /* remove underline */
}

.custom-logo img {
  height: 30px;   /* adjust for navbar size */
  width: auto;
  display: block;
}

/* Mobile menu */
.custom-nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #1a1a2e;
  flex-direction: column;
  padding: 5rem 2rem;
  transition: all 0.3s ease;
  list-style: none;
}

.custom-nav-menu.active {
  right: 0;
}

.custom-nav-menu li {
  margin-bottom: 1.5rem;
}

.custom-nav-link {
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem 0;
  position: relative;
}

.custom-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: all 0.3s ease;
}

.custom-nav-link:hover::after {
  width: 100%;
}

.custom-book-btn {
  display: none;
}

.custom-mobile-menu-btn {
  background: none;
  border: none;
  color: #ecf0f1;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* make the mobile drawer flex column so socials can sit at the bottom */
.custom-nav-menu {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* push socials to bottom */
.custom-nav-socials {
  margin-top: auto;
  justify-content: center;
}

/* =========================== */
/* Hero Section - Mobile First */
/* =========================== */

.hero {
    height: 100vh;
    min-height: 600px;
    background: url('images/hero-Freddie.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 80%;
    padding: 0 1rem;
    animation: fadeInUp 1s ease;
  color: var(--text-light); /* light text */
  background: rgba(0, 0, 0, 0.5); /* black with 50% transparency */
  padding: 1rem 1.5rem;
  border-radius: 8px; /* optional, for softer edges */
  display: inline-block; /* so the background only wraps text */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Section Styles */
.services, .professionals, .gallery, .pricing, .testimonials, .contact {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1rem;
    color: #666;
}

/*=================================*/
/* Services Section - Mobile First */
/*=================================*/
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    justify-content: center;
}

.service-card {
    max-width: 350px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.service-content p {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.service-price {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Professionals Section - Updated Structure */
.professionals {
    background: white;
}

/* Professionals Grid Layout */
.professionals-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    justify-content: center;
}

.professional-card {
    width: 90%;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.professional-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center; /* show top part, center horizontally */
}

.professional-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.professional-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.professional-info p {
    color: #666;
    margin-bottom: 1rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skill-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.availability i {
    color: var(--secondary-color);
}

.btn-view-more {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
}

.btn-view-more:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ============ */
/* Modal Styles */
/* ============ */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-header .btn-close {
    color: var(--text-light);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.modal-body h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-body h5 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body .skills {
    margin-bottom: 1.5rem;
}

.modal-body ul {
    padding-left: 1.5rem;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
}

.modal-body .btn-success {
    background: var(--success-color);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 1rem;
}

.modal-body .btn-success:hover {
    background: #229954;
}

.modal-dialog {
    margin: 4.5rem auto; /* pushes modal down from top (below navbar) */
}

@media (max-width: 576px) {
.modal-dialog .modal-content {
    width: 90%;
    margin: 0 auto;
}
}
/* ============================== */
/* Gallery Section - Mobile First */
/* ============================== */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 150px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* =========================== */
/* Testimonials - Mobile First */
/* =========================== */
.testimonials {
    background: var(--bg-light);
}

.testimonial-slider {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* hide overflow while sliding */
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

/* Slide directions */
.testimonial.slide-out-left { transform: translateX(-100%); opacity: 0; }
.testimonial.slide-out-right { transform: translateX(100%); opacity: 0; }
.testimonial.slide-in-left { transform: translateX(0); opacity: 1; }
.testimonial.slide-in-right { transform: translateX(0); opacity: 1; }


.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Contact Section - Mobile First */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    gap: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    width: 30px;
    margin-top: 0.2rem;
}

.contact-item div p {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--accent-color);
}

/* Footer - Mobile First */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;      /* remove browser padding */
    margin: 0;            /* optional: reset margins */
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #ccc;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Lightbox - Mobile First */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

/* Media Queries for larger screens */
@media (min-width: 576px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .btn-primary, .btn-secondary {
        width: auto;
        min-width: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .professionals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .professional-card {
        max-width: 85%;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item {
        height: 180px;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }  

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
    }

    .map-container {
        height: 400px;
    }

    .testimonial-author {
        flex-direction: row;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .section-title p {
        font-size: 1.1rem;
    }

    .professionals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-item {
        height: 200px;
    }

    .footer-content {
        gap: 6rem;
    }
}

@media (min-width: 1200px) {
    .nav-container {
        padding: 0 2rem;
    }

    .container {
        padding: 0 2rem;
    }

    .services, .professionals, .gallery, .testimonials, .contact {
        padding: 5rem 0;
    }
}


/* Desktop navbar */
@media (min-width: 860px) {
  .custom-nav-menu {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    flex-direction: row !important;
    padding: 0 !important;
    gap: 2rem !important;
    margin: 0 6rem 0 0 !important;
    transform: none !important;
    transition: none !important;
  }

  .custom-nav-menu li {
    margin-bottom: 0 !important;
  }

  .custom-nav-link {
    padding: 0.5rem 0 !important;
    font-size: 1rem !important;
  }

  .custom-book-btn {
    display: inline-block !important;
    background: #d4af37;
    color: #1a1a2e;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
  }

  .custom-book-btn:hover {
    background: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  }

  .custom-mobile-menu-btn {
    display: none !important;
  }

  .custom-nav-socials {
    display: none !important;
  }
}

