/* --- Navbar Styles --- */
.navbar, .navbar.navbar-expand-lg {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background 0.3s, box-shadow 0.3s, border 0.3s;
}
.navbar .nav-link, .navbar-brand, .navbar .nav-link:visited {
  color: #fff !important;
  font-weight: 500;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: 0.01em;
}
.navbar .nav-link.active, .navbar .nav-link:focus, .navbar .nav-link:hover {
  color: var(--secondary-color, #ff9800) !important;
}
.navbar.scrolled, .navbar.navbar-colored {
  background: rgb(0 0 0 / 31%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.navbar.scrolled .nav-link,
.navbar.navbar-colored .nav-link,
.navbar.scrolled .navbar-brand,
.navbar.navbar-colored .navbar-brand {
  color: #fff !important;
  text-shadow: none;
}

.navbar.scrolled .nav-link:hover,
.navbar.navbar-colored .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar.navbar-colored .nav-link.active {
  color: var(--secondary-color, #ff9800) !important;
}
.call-menu-btn {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #fff !important;
}
.dropdown-menu {
  font-size: 0.98rem;
  min-width: 210px;
}
.dropdown-item i {
  font-size: 1.1em;
  color: var(--primary-color, #1769aa);
}

/* --- Slider dark overlay --- */
.slider-dark-overlay {
  background: linear-gradient(120deg, rgba(20,30,50,0.48) 0%, rgba(20,30,50,0.62) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Banner and project card image consistency */
.banner-img-wrapper,
.project-img-wrapper {
    height: 240px;
    overflow: hidden;
    border-radius: 12px;
    transition: height 0.4s cubic-bezier(.25,.8,.25,1);
}
.banner-img,
.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
}
.banner-caption,
.project-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(34,48,70,0.55);
    color: #fff;
    font-size: 1.25rem;
    padding: 0.75rem 1.25rem;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    letter-spacing: 0.01em;
    font-weight: 500;
}
.project-img-caption {
    font-size: 1.05rem;
    padding: 0.35rem 0.75rem;
}

/* Premium Typography for Prithvi Buildcon */
body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-color, #f8f9fa);
    color: var(--text-color, #333333);
    line-height: 1.6;
    font-weight: 400;
}

/* Elegant Headings with Playfair Display */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--heading-color, #1e3c72);
}

h1, .display-1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2, .display-2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

h3, .display-3 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4, .display-4 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
}

h5, .display-5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h6, .display-6 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
}

/* Hero and Banner Typography */
.hero-title, .banner-title, .about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle, .banner-subtitle, .about-hero p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Lead text styling */
.lead {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Button Typography */
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: none;
}

.btn-lg {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Card and Section Titles */
.card-title, .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color, #1e3c72);
}

/* Navigation Typography */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .display-1, .hero-title, .banner-title {
        font-size: 2.5rem;
    }

    h2, .display-2 {
        font-size: 2rem;
    }

    h3, .display-3 {
        font-size: 1.75rem;
    }

    .hero-subtitle, .banner-subtitle {
        font-size: 1.125rem;
    }
}

/* Specific Page Typography Enhancements */

/* Homepage Hero Section */
#home .carousel-caption h1,
#home .hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
}

#home .carousel-caption p,
#home .hero-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 1.5;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* About Hero Section */
.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero .lead {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Project Cards */
.project-card h5,
.card .card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--primary-color, #1e3c72);
}

.project-card .card-text,
.card .card-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Gallery Page */
.gallery-page h1,
.gallery-page h2,
.gallery-page h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

/* Event Cards in Gallery */
.event-card h3,
.event-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-color, #1e3c72);
    margin-bottom: 0.75rem;
}

/* Services Page */
.service-card h4,
.service-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary-color, #1e3c72);
}

/* Contact Page */
.contact-form label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-color, #333);
}

/* Footer */
.footer h5,
.footer h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: white;
}

/* Badges and Tags */
.badge {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Modal Typography */
.modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

/* Breadcrumb */
.breadcrumb-item {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Table Headers */
.table th {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.025em;
}

/* Alert Messages */
.alert {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Mobile Responsive Typography */
@media (max-width: 576px) {
    #home .carousel-caption h1,
    #home .hero-content h1 {
        font-size: 2.75rem;
    }

    #home .carousel-caption p,
    #home .hero-content p {
        font-size: 1.125rem;
    }

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

    .event-title {
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
    }
}

/* Additional Typography Enhancements */

/* Text shadows for better readability on images */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.text-shadow-light {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Elegant text effects */
.text-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Quote styling */
blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    border-left: 4px solid var(--primary-color, #1e3c72);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Emphasis text */
.text-emphasis {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color, #1e3c72);
}

/* Small caps for special text */
.text-small-caps {
    font-variant: small-caps;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Decorative elements */
.section-divider {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-color, #ffcf3c);
    text-align: center;
    margin: 2rem 0;
}

.section-divider::before,
.section-divider::after {
    content: "❦";
    margin: 0 1rem;
    opacity: 0.6;
}

/* Enhanced link styling */
a.elegant-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--primary-color, #1e3c72);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a.elegant-link:hover {
    color: var(--secondary-color, #2a5298);
    border-bottom-color: var(--accent-color, #ffcf3c);
}

/* Typography animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
    animation: fadeInUp 0.8s ease-out;
}

/* Print styles */
@media print {
    body {
        font-family: 'Times New Roman', serif;
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: 'Times New Roman', serif;
        page-break-after: avoid;
    }
}
.premium-bg {
    background: linear-gradient(135deg, var(--primary-color, #1e3c72) 0%, var(--accent-color, #2a5298) 100%);
}
.navbar-brand span {
    letter-spacing: 2px;
}
.logo-animate {
    animation: logoPulse 1.8s cubic-bezier(.4,0,.2,1) infinite alternate;
    box-shadow: 0 4px 24px rgba(30,60,114,0.13);
}
@keyframes logoPulse {
    0% { transform: scale(1) rotate(-2deg); filter: brightness(1); }
    50% { transform: scale(1.08) rotate(2deg); filter: brightness(1.08) drop-shadow(0 0 8px #ff9800aa); }
    100% { transform: scale(1) rotate(-2deg); filter: brightness(1); }
}
section {
    scroll-margin-top: 80px;
}
.project-card .card-img-top {
    border-radius: 12px 12px 0 0;
}
.project-card .card-body {
    min-height: 180px;
}
.card {
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(44,62,80,0.15);
}
.btn {
    border-radius: 30px;
    font-weight: 500;
    transition: box-shadow 0.3s;
}
.btn-lg {
    padding: 0.75rem 2rem;
}
footer {
    background: linear-gradient(90deg, var(--primary-color, #1e3c72) 0%, var(--accent-color, #2a5298) 100%);
}
/* Animations for sections */
section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}
section.visible {
    opacity: 1;
    transform: none;
}

/* Banner styles - increase height and ensure no border-radius */
.section-banner {
  margin: 0 0 2.5rem 0;
  padding: 0;
}
.banner-img-wrapper, .premium-banner {
  height: 260px !important;
  min-height: 180px;
  max-height: 48vh;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(30,60,114,0.13);
  overflow: hidden;
}
.banner-img, .banner-img-wrapper img, .premium-banner img {
  border-radius: 0 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-premium-bar {
  border-radius: 0 !important;
}
@media (max-width: 768px) {
  .banner-img-wrapper, .premium-banner {
    height: 160px !important;
  }
}

/* --- Scroll Animate Effects --- */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.25,.8,.25,1), transform 0.8s cubic-bezier(.25,.8,.25,1);
}
.scroll-animate.visible {
  opacity: 1;
  transform: none;
}
.scroll-animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(.25,.8,.25,1), transform 0.8s cubic-bezier(.25,.8,.25,1);
}
.scroll-animate-left.visible {
  opacity: 1;
  transform: none;
}
.scroll-animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(.25,.8,.25,1), transform 0.8s cubic-bezier(.25,.8,.25,1);
}
.scroll-animate-right.visible {
  opacity: 1;
  transform: none;
}
/* --- End Scroll Animate Effects --- */
