/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', 'Segoe UI', 'system-ui', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll */
    font-size: 1.08rem; /* Larger base font size for readability */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px); /* Safari support */
    z-index: 1000;
    padding: 1.2rem 0 1.2rem 0;
    transition: all 0.3s cubic-bezier(.77,0,.18,1);
    box-shadow: 0 4px 24px rgba(212,175,55,0.08);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    padding: 0 2.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Toggle "X" state */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #D4AF37;
    font-weight: 700;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.2rem 1.2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.7);
}

.logo-image {
    height: 54px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: #D4AF37;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    font-size: 1.18rem;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
}

.nav-links a:hover {
    background: rgba(212,175,55,0.14);
    color: #D4AF37;
    box-shadow: 0 4px 16px rgba(212,175,55,0.12);
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: #fff;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    border-radius: 10px;
    padding: 0.7rem 1.3rem;
    font-weight: 600;
    font-size: 1.08rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.lang-btn.active {
    background: #D4AF37;
    color: #fff;
    border: 2px solid #D4AF37;
}

.lang-btn:hover:not(.active) { /* Only apply hover if not active */
    background: rgba(212,175,55,0.18);
    color: #D4AF37;
}

.cta-button {
    background: #D4AF37;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 2.1rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(212,175,55,0.12);
    white-space: nowrap; /* Prevent text wrapping */
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05); /* Added scale effect */
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Consistent CTA button styles */
.btn-primary, .btn-secondary, .gallery-arrow {
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary:hover, .btn-secondary:hover, .gallery-arrow:hover {
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px) scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px; /* Minimum height for smaller viewports */
    /* Updated background image path */
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(212, 175, 55, 0.3)),
                url('../images/4.webp'); /* Relative path to images folder */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Can cause performance issues on mobile, consider removing or media query */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 80px; /* Account for fixed header height */
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px; /* Add padding for smaller screens */
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Slightly stronger shadow */
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem); /* Adjusted clamp for responsiveness */
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7; /* Improved readability */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.btn-primary, .btn-secondary { /* Combined common styles */
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block; /* Ensure proper spacing and wrapping */
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px) scale(1.05);
}

/* Consistent vertical spacing for sections */
.services, .fleet, .gallery-banner, .why-choose, .contact {
  padding: 80px 0;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .services, .fleet, .gallery-banner, .why-choose, .contact {
    padding: 48px 0;
  }
}

/* Services Section */
.services {
    padding: 80px 0; /* Adjusted padding */
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive font size */
    margin-bottom: 1rem;
    color: #333;
}

.section-title p {
    font-size: clamp(1rem, 2vw, 1.2rem); /* Responsive font size */
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer shadow */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex; /* For better alignment if content height varies */
    flex-direction: column; /* Stack items vertically */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px; /* Thicker line */
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    transition: left 0.4s ease; /* Smoother transition */
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12); /* Enhanced hover shadow */
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem; /* Increased bottom margin */
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    display: flex; /* Center image inside */
    align-items: center; /* Center image inside */
    justify-content: center; /* Center image inside */
    flex-shrink: 0; /* Prevent shrinking */
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    flex-grow: 1; /* Allow p to take remaining space for consistent card height */
}

/* Fleet Section */
.fleet {
    padding: 80px 0;
    background: white;
}

.fleet-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fleet-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.fleet-item:hover {
    box-shadow: 0 18px 38px rgba(212,175,55,0.18);
    transform: translateY(-8px) scale(1.03);
}

.fleet-image {
    height: 220px;
    background: #e9ecef; /* Fallback color */
    overflow: hidden; /* Ensure image stays within bounds */
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* Zoom effect on hover */
}

.fleet-item:hover .fleet-image img {
    transform: scale(1.05); /* Zoom effect */
}

.fleet-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fleet-info h3 {
    font-size: 1.4rem; /* Slightly larger */
    margin-bottom: 0.8rem;
    color: #333;
}

.fleet-info .description {
    font-size: 0.95rem; /* Slightly larger */
    color: #555; /* Darker grey for better readability */
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.fleet-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem; /* Added horizontal gap */
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #444;
}

.spec {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.spec:last-child, .spec:nth-last-child(2):nth-child(odd) { /* Remove border for last items */
    border-bottom: none;
}
.spec span:first-child {
    font-weight: 500;
}


/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f2f5, #e6e9ed); /* Softer gradient */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Slightly larger minmax */
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem 1.5rem; /* Adjusted padding */
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: #D4AF3730; /* Light gold background */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32pt;
}

.feature-icon img {
    width: 60%; /* Make image slightly smaller than circle */
    height: 60%;
    object-fit: contain; /* Use contain if icons are not square */
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #333;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Give slightly more space to form */
    gap: 3rem; /* Reduced gap */
    align-items: flex-start; /* Align items to top */
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem; /* Reduced margin */
    color: #D4AF37;
}
.contact-info p {
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.contact-item:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 16px rgba(212,175,55,0.10);
  color: #D4AF37;
}
.contact-item .contact-icon {
  font-size: 1.7rem;
  color: #D4AF37;
  min-width: 32px;
  text-align: center;
}

.contact-form {
    background: rgba(255,255,255,0.08); /* Slightly more visible */
    padding: 2.5rem; /* Increased padding */
    border-radius: 15px;
    backdrop-filter: blur(5px); /* Softer blur */
    -webkit-backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #D4AF37;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px; /* Increased padding */
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(0,0,0,0.2); /* Darker background for better contrast */
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5); /* Lighter placeholder */
}
.form-group select option {
    background: #333; /* Background for dropdown options */
    color: white;
}
.form-group select option[value=""] {
    color: #999; /* Placeholder option color */
}


/* Footer */
footer {
    background: #222;
    color: #aaa; /* Lighter grey for footer text */
    text-align: center;
    padding: 2.5rem 0; /* Increased padding */
    font-size: 0.9rem;
}
footer p {
    line-height: 1.6;
}

/* Footer social icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.footer-social a {
  color: #D4AF37;
  font-size: 1.7rem;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #FFD700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px); /* Increased distance */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Separate transitions */
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Darker overlay */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex; /* Use flex to center */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    opacity: 0; /* Start hidden for transition */
    transition: opacity 0.3s ease;
}

.custom-modal.show { /* Class to trigger display and transition */
    display: flex;
    opacity: 1;
}

.custom-modal-content {
    background-color: #fff;
    color: #333;
    padding: 25px 30px; /* More padding */
    border: none; /* Remove border */
    width: 90%;
    max-width: 450px; /* Slightly wider */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transform: scale(0.95); /* Start slightly smaller for pop effect */
    transition: transform 0.3s ease;
}

.custom-modal.show .custom-modal-content {
    transform: scale(1); /* Pop effect */
}

#customAlertMessage {
    margin-bottom: 20px; /* More space */
    font-size: 1.1rem; /* Larger text */
    line-height: 1.6;
}

.custom-modal-close-btn {
    background-color: #D4AF37;
    color: white;
    padding: 12px 25px; /* Larger button */
    border: none;
    border-radius: 8px; /* More rounded */
    cursor: pointer;
    font-size: 1rem; /* Larger font */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-modal-close-btn:hover {
    background-color: #c8a030; /* Darker gold on hover */
    transform: scale(1.05);
}


/* Mobile Responsive */
@media (max-width: 992px) { /* Adjusted breakpoint for tablets */
    .nav-links {
        /* For a real site, implement a hamburger menu here */
        /* For now, we can hide some less critical links or reduce gap */
        gap: 1.5rem;
    }
    .logo-text {
        font-size: 1.6rem; /* Slightly smaller logo text */
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-form {
        padding: 2rem;
    }
}


@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .cta-button {
    display: inline-block !important;
    position: fixed;
    top: 18px;
    right: 32px;
    z-index: 1100;
    font-size: 1.08rem;
    padding: 0.8rem 1.6rem;
    box-shadow: 0 4px 16px rgba(212,175,55,0.18);
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        top: 100%;
        right: 0;
        background: white;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .nav-links.show {
        max-height: 500px; /* Enough to show all links */
    }

    .nav-links li {
        padding: 1rem;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    .mobile-cta .cta-button {
        display: inline-block;
        margin: 1rem auto;
        padding: 12px 24px;
    }

    .cta-button { /* Adjust CTA button on nav for mobile */
        display: none;
        /* padding: 10px 18px;
        font-size: 0.9rem; */
    }
    .logo-text {
        display: none; /* Hide text next to logo on small screens if too crowded */
    }
    .hero {
        background-attachment: scroll; /* Improve performance on mobile */
        padding-top: 70px; /* Adjust for header */
    }
    .hero h1 {
        font-size: 2.2rem; /* Adjust hero heading */
    }
    .hero p {
        font-size: 1rem; /* Adjust hero paragraph */
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem; /* Reduced gap for stacked buttons */
    }
    .btn-primary, .btn-secondary {
        width: 80%; /* Make buttons wider */
        max-width: 300px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .services, .fleet, .why-choose, .contact {
        padding: 60px 0; /* Reduced padding for sections */
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title p {
        font-size: 0.95rem;
    }

    .services-grid,
    .fleet-showcase,
    .features-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 1.5rem; /* Reduced gap */
    }
    .service-card, .fleet-item, .feature {
        padding: 1.5rem; /* Adjust padding for cards */
    }
    .fleet-image {
        height: 200px; /* Adjust fleet image height */
    }
    .fleet-info h3, .service-card h3, .feature h3 {
        font-size: 1.3rem;
    }
    .contact-info {
        text-align: center;
    }
    .contact-details {
        align-items: center; /* Center contact items */
    }
    .contact-item {
        justify-content: center; /* Center content within item */
        width: 100%;
        max-width: 350px; /* Max width for contact items */
    }
}

@media (max-width: 480px) { /* Smaller mobile devices */
    .container {
        padding: 0 15px; /* Less padding on very small screens */
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .logo-image {
        height: 40px; /* Smaller logo */
    }
    header {
        padding: 0.4rem 0;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 0.95rem;
    }
    .custom-modal-content {
        padding: 20px;
        width: 95%;
    }
    #customAlertMessage {
        font-size: 1rem;
    }
    .custom-modal-close-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Modern Gallery Styles */
.modern-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  width: 100%;
}
.gallery-item {
  flex: 0 1 220px;
  max-width: 220px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-thumb {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

/* Banner Gallery Carousel Styles */
.gallery-banner {
  width: 100%;
  margin-bottom: 2rem;
}
.gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(212,175,55,0.10);
}
.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.gallery-slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
  text-align: center;
}
.gallery-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}
.gallery-caption {
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.2rem;
  padding: 1rem;
  border-radius: 0 0 18px 18px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212,175,55,0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.gallery-arrow-left { left: 16px; }
.gallery-arrow-right { right: 16px; }
.gallery-arrow:hover { background: #FFD700; color: #333; }

/* Gallery carousel dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e9ecef;
  border: 2px solid #D4AF37;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-dot.active {
  background: #D4AF37;
}

@media (max-width: 600px) {
  .gallery-slide img { height: 180px; }
  .gallery-caption { font-size: 1rem; padding: 0.5rem; }
  .gallery-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
}

/* Modern Gallery Grid Styles */
.modern-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 1.5rem 0;
}
.modern-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(212,175,55,0.10);
  cursor: pointer;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.modern-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.modern-gallery-item:hover img {
  transform: scale(1.08);
}
.modern-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.08rem;
  padding: 0.7rem 1rem;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  text-align: center;
  opacity: 0.92;
}
.modern-gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.modern-gallery-modal.open {
  display: flex;
}
.modern-gallery-modal-img {
  max-width: 90vw;
  max-height: 70vh;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(212,175,55,0.18);
}
.modern-gallery-modal-caption {
  color: #fff;
  font-size: 1.15rem;
  margin-top: 1.2rem;
  text-align: center;
}
.modern-gallery-close {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 2100;
  background: none;
  border: none;
}
