/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Featured Portfolio Grid */
.featured-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.slick-prev {
  left: 0px !important;
  background: #0073aa !important;
  width: 24px !important;
  height: 24px !important;
}

.slick-next {
  right: 0px !important;
  background: #0073aa !important;
  width: 24px !important;
  height: 24px !important;
}

.slick-list {
  padding: 20px !important;
}

.slick-dots li.slick-active button:before {
  color: #ffffff !important;
  font-size: 10px !important;
}

.portfolio-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.portfolio-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-cover-image {
  transform: scale(1.05);
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
}

.portfolio-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "montserrat", sans-serif;
}

.stat-item i {
  color: #0073aa;
  font-size: 14px;
}

.portfolio-content {
  padding: 25px;
}

.portfolio-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.portfolio-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.portfolio-location {
  color: #333;
  font-family: "montserrat", sans-serif;
  font-size: 14px;
  margin: 0 0 20px 0;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-location i {
  color: #0073aa;
}

.portfolio-link {
  display: inline-block;
  background: #0073aa;
  color: white;
  padding: 10px 24px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
  font-family: "montserrat", sans-serif;
}

.portfolio-link:hover {
  background: #005a87;
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .featured-portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .featured-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-image-container {
    height: 220px;
  }

  .portfolio-content {
    padding: 20px;
  }

  .portfolio-title {
    font-size: 20px;
  }

  .portfolio-stats {
    gap: 10px;
  }

  .stat-item {
    font-size: 11px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .featured-portfolio-grid {
    gap: 15px;
  }

  .portfolio-image-container {
    height: 200px;
  }

  .portfolio-content {
    padding: 15px;
  }

  .portfolio-title {
    font-size: 18px;
  }
}

/* Featured Portfolio Carousel with Slick */
.featured-portfolio-carousel {
  position: relative;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 100%;
}

.portfolio-slick-slider {
  width: 100%;
  margin: 0 auto;
}

.portfolio-slide {
  padding: 0 10px;
  outline: none;
}

.portfolio-card {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Slick Navigation Buttons */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  font-size: 0;
  outline: none;
  display: block !important;
}

.slick-prev:hover,
.slick-next:hover {
  background: rgba(0, 0, 0, 1);
}

.slick-prev:before,
.slick-next:before {
  font-family: "slick";
  font-size: 24px;
  color: white;
  font-weight: bold;
  line-height: 1;
}

.slick-prev:before {
  content: "‹";
}

.slick-next:before {
  content: "›";
}

.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

/* Slick Dots */
.slick-dots {
  bottom: -30px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots li button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease;
}

.slick-dots li.slick-active button {
  background: #0073aa;
}

.slick-dots li button:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slick-prev,
  .slick-next {
    width: 40px;
    height: 40px;
  }

  .slick-prev:before,
  .slick-next:before {
    font-size: 16px;
  }

  .slick-prev {
    left: -20px;
  }

  .slick-next {
    right: -20px;
  }
}

@media (max-width: 480px) {
  .slick-prev,
  .slick-next {
    width: 35px;
    height: 35px;
  }

  .slick-prev:before,
  .slick-next:before {
    font-size: 14px;
  }

  .slick-prev {
    left: -17px;
  }

  .slick-next {
    right: -17px;
  }
}

/* Carousel fallback styles */
.carousel-item img {
  width: 100%;
  height: auto;
}

.portfolio-single {
  display: flex;
  gap: 20px;
}

.portfolio-content,
.portfolio-gallery {
  flex: 1;
}

.portfolio-navigation a {
  display: block;
  margin: 10px 0;
}
#portfolio_gallery_container {
  min-height: 200px;
  position: relative;
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  background: #f9f9f9;
  margin: 10px 0;
}

#portfolio_gallery_container:hover {
  border-color: #0073aa;
  background: #f0f0f0;
}

#portfolio_gallery_container img {
  display: inline-block;
  max-width: 150px;
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.gallery-item {
  position: relative;
  display: inline-block;
  margin: 5px;
}

.delete-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.delete-icon:hover {
  background: #c82333;
}

#upload_gallery_button {
  margin: 10px 0;
  background: #0073aa;
  color: white;
  border: none;
  padding: 4px 16px;
  min-height: 20px;
  border-radius: 4px;
  cursor: pointer;
}

#upload_gallery_button:hover {
  background: #005a87;
}

.loading-images {
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}

/* Admin-specific styles */
.wp-admin #portfolio_gallery_container {
  background: #fff;
  border: 2px dashed #0073aa;
}

.wp-admin #portfolio_gallery_container:hover {
  border-color: #005a87;
  background: #f9f9f9;
}

.wp-admin .gallery-item {
  vertical-align: top;
}

.wp-admin .delete-icon {
  z-index: 10;
}

/* Ensure proper spacing in admin */
.wp-admin #portfolio_specs label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}

.wp-admin #portfolio_specs input[type="text"],
.wp-admin #portfolio_specs textarea {
  width: 100%;
  margin-bottom: 0px;
}

/* Featured Portfolio Grid Styling */
.featured-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.portfolio-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-cover-image {
  transform: scale(1.05);
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  color: white;
}

.portfolio-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-item i {
  font-size: 10px;
}

.portfolio-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.portfolio-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

.portfolio-location i {
  color: #0073aa;
  font-size: 16px;
}

.portfolio-link {
  background: #0073aa;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  transition: background 0.3s ease;
  display: inline-block;
  align-self: flex-start;
}

.portfolio-link:hover {
  background: #005a87;
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .featured-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-image-container {
    height: 200px;
  }

  .portfolio-content {
    padding: 20px;
  }

  .portfolio-title {
    font-size: 18px;
  }

  .portfolio-stats {
    gap: 10px;
  }

  .stat-item {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* Portfolio Archive with 3D Map Styles */
.portfolio-archive-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  padding-top: 0px !important;
  min-height: 100vh;
}

.portfolio-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  gap: 10px !important;
}

.portfolio-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.portfolio-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0073aa, #005a87);
  border-radius: 2px;
}

/* Portfolio Grid Section */
.portfolio-grid-section {
  padding-right: 20px;
}

.portfolio-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 900px) {
  .portfolio-map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .portfolio-map-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-map-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.portfolio-map-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-map-card.highlighted {
  border: 3px solid #0073aa;
  transform: scale(1.02);
}

.portfolio-map-card.hover {
  transform: translateY(-3px);
}

.portfolio-map-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.portfolio-map-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-map-card:hover .portfolio-map-image img {
  transform: scale(1.05);
}

.portfolio-map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.portfolio-map-status {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-map-content {
  padding: 20px;
}

.portfolio-map-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #000000 !important;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.portfolio-map-content h3 a {
  font-size: 16px;
  font-weight: 700;
  color: #000000 !important;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.portfolio-map-location {
  color: #666;
  font-size: 14px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-map-location i {
  color: #0073aa;
  font-size: 12px;
}

.portfolio-map-excerpt {
  color: #777;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.portfolio-map-link {
  display: inline-block;
  background: #0073aa;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
}

.portfolio-map-link:hover {
  background: #005a87;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.portfolio-map-link.loading {
  background: #666;
  pointer-events: none;
}

/* Map Section */
.portfolio-map-section {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.portfolio-3d-map {
  width: 100%;
  height: 100vh !important;
  min-height: 100vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Elegant Mapbox Popup Styles */
.mapboxgl-popup-content {
  width: 240px;
  padding: 24px 20px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
  background: #fff;
  border: 1px solid #eaeaea !important;
  font-family: "Segoe UI", "Arial", sans-serif;
}

.portfolio-popup h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0073aa;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.portfolio-popup p {
  color: #444;
  font-size: 15px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-link {
  display: inline-block;
  background: #0073aa;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.popup-link:hover {
  background: #005a87;
  color: #fff !important;
}

.portfolio-marker {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  margin: 0 !important;
  padding: 0;
  display: block;
  box-sizing: border-box;
}

.portfolio-marker:hover,
.portfolio-marker.hover-state {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-marker.active {
  border-color: #0073aa;
  box-shadow: 0 4px 20px rgba(0, 115, 170, 0.4);
}

.marker-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.marker-image {
  width: 100%;
  height: 100%;
}

.marker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marker-status {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* Search Functionality */
.portfolio-search-container {
  margin-bottom: 20px;
}

.portfolio-search {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  background: white;
}

.portfolio-search:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.portfolio-search::placeholder {
  color: #999;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .portfolio-archive-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .portfolio-grid-section {
    max-height: none;
    padding-right: 0;
  }

  .portfolio-3d-map {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .portfolio-archive-container {
    padding: 15px;
    gap: 20px;
  }

  .portfolio-section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .portfolio-map-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-3d-map {
    height: 400px;
  }

  .portfolio-map-card {
    margin-bottom: 0;
  }

  .portfolio-map-content {
    padding: 15px;
  }

  .portfolio-map-content h3 {
    font-size: 16px;
  }

  .portfolio-cover-image {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .portfolio-archive-container {
    padding: 10px;
  }

  .portfolio-section-title {
    font-size: 20px;
  }

  .portfolio-3d-map {
    height: 350px;
  }

  .portfolio-map-image {
    height: 200px;
  }

  .portfolio-map-content {
    padding: 12px;
  }
}

/* Loading States */
.portfolio-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #666;
  font-style: italic;
}

.portfolio-loading::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top: 2px solid #0073aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Map Controls Styling */
.mapboxgl-ctrl-group {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mapboxgl-ctrl-group button {
  border-radius: 8px;
}

.mapboxgl-ctrl-group button:hover {
  background-color: #f0f0f0;
}

/* Custom Scrollbar for Portfolio Grid */
.portfolio-grid-section::-webkit-scrollbar {
  width: 6px;
}

.portfolio-grid-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.portfolio-grid-section::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.portfolio-grid-section::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.mapboxgl-popup-close-button {
  padding: 10px !important;
  padding-right: 15px !important;
  font-size: 18px;
}

/* Portfolio Single Shortcode Styles */
.portfolio-single-shortcode,
.portfolio-single-with-map {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-single-shortcode .portfolio-navigation,
.portfolio-single-with-map .portfolio-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  color: white;
}

.portfolio-single-shortcode .nav-prev,
.portfolio-single-shortcode .nav-next,
.portfolio-single-with-map .nav-prev,
.portfolio-single-with-map .nav-next {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.portfolio-single-shortcode .nav-prev:hover,
.portfolio-single-shortcode .nav-next:hover,
.portfolio-single-with-map .nav-prev:hover,
.portfolio-single-with-map .nav-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.portfolio-single-shortcode .portfolio-title,
.portfolio-single-with-map .portfolio-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.portfolio-single-shortcode .portfolio-description,
.portfolio-single-with-map .portfolio-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-single-shortcode .portfolio-specs,
.portfolio-single-with-map .portfolio-specs {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  border-left: 5px solid #667eea;
}

.portfolio-single-shortcode .portfolio-specs h3,
.portfolio-single-with-map .portfolio-specs h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.portfolio-single-shortcode .specs-grid,
.portfolio-single-with-map .specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.portfolio-single-shortcode .spec-item,
.portfolio-single-with-map .spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-single-shortcode .spec-item:hover,
.portfolio-single-with-map .spec-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.portfolio-single-shortcode .spec-label,
.portfolio-single-with-map .spec-label {
  color: #667eea;
  font-weight: 600;
  font-size: 1rem;
}

.portfolio-single-shortcode .spec-value,
.portfolio-single-with-map .spec-value {
  color: #333;
  font-weight: 500;
  text-align: right;
  max-width: 200px;
  word-wrap: break-word;
}

.portfolio-single-shortcode .portfolio-location,
.portfolio-single-with-map .portfolio-location {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #e0c3fc 0%, #fc466b 100%);
  border-radius: 12px;
  color: white;
}

.portfolio-single-shortcode .portfolio-location h3,
.portfolio-single-with-map .portfolio-location h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.portfolio-single-shortcode .portfolio-location p,
.portfolio-single-with-map .portfolio-location p {
  margin: 10px 0;
  font-size: 1.1rem;
}

.portfolio-single-shortcode .portfolio-location strong,
.portfolio-single-with-map .portfolio-location strong {
  color: rgba(255, 255, 255, 0.9);
}

.portfolio-single-shortcode .portfolio-gallery,
.portfolio-single-with-map .portfolio-gallery {
  margin: 30px 0;
}

.portfolio-single-shortcode .portfolio-gallery h3,
.portfolio-single-with-map .portfolio-gallery h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.portfolio-single-shortcode .carousel,
.portfolio-single-with-map .carousel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-single-shortcode .carousel-item img,
.portfolio-single-with-map .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.portfolio-single-shortcode .portfolio-single-image,
.portfolio-single-with-map .portfolio-single-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-single-shortcode .carousel-control-prev,
.portfolio-single-shortcode .carousel-control-next,
.portfolio-single-with-map .carousel-control-prev,
.portfolio-single-with-map .carousel-control-next {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
}

.portfolio-single-shortcode .carousel-control-prev:hover,
.portfolio-single-shortcode .carousel-control-next:hover,
.portfolio-single-with-map .carousel-control-prev:hover,
.portfolio-single-with-map .carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Map Container Styles */
.portfolio-map-container {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 12px;
}

.portfolio-map-container h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.single-portfolio-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Portfolio Single */
@media (max-width: 768px) {
  .portfolio-single-shortcode,
  .portfolio-single-with-map {
    padding: 15px;
    margin: 10px;
  }

  .portfolio-single-shortcode .portfolio-title,
  .portfolio-single-with-map .portfolio-title {
    font-size: 2rem;
  }

  .portfolio-single-shortcode .portfolio-navigation,
  .portfolio-single-with-map .portfolio-navigation {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .portfolio-single-shortcode .specs-grid,
  .portfolio-single-with-map .specs-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-single-shortcode .spec-item,
  .portfolio-single-with-map .spec-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .portfolio-single-shortcode .carousel-item img,
  .portfolio-single-with-map .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .portfolio-single-shortcode .portfolio-title,
  .portfolio-single-with-map .portfolio-title {
    font-size: 1.5rem;
  }

  .portfolio-single-shortcode .portfolio-description,
  .portfolio-single-with-map .portfolio-description {
    font-size: 1rem;
  }

  .portfolio-single-shortcode .carousel-item img,
  .portfolio-single-with-map .carousel-item img {
    height: 250px;
  }
}
