/* PLACE YOU CUSTOM STYLES IN THIS FILE */

/* Video slider styles */
.nk-carousel-video-slide {
  position: relative;
  overflow: hidden;
}
video {
  transform: translateZ(0); /* force GPU layer */
  backface-visibility: hidden;
  will-change: transform;
}
.nk-carousel-video {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.nk-carousel-video-slide .nk-vertical-center {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Text visibility improvements for carousel slides */
.nk-carousel-3 .nk-vertical-center {
  position: relative;
  z-index: 2;
}

/* Text styling for image slides - black text, no overlay */
.nk-carousel-3 .nk-vertical-center h1,
.nk-carousel-3 .nk-vertical-center h2 {
  color: #000000 !important;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0;
}

/* Text overlay background for better readability - ONLY on video slide */
.nk-carousel-video-slide .nk-vertical-center > div {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px 30px;
  border-radius: 8px;
}

/* Text styling improvements - ONLY on video slide */
.nk-carousel-video-slide .nk-vertical-center h1,
.nk-carousel-video-slide .nk-vertical-center h2 {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0;
}

/* Enhanced text shadow for better contrast - ONLY on video slide */
.nk-carousel-video-slide .nk-vertical-center h1 strong,
.nk-carousel-video-slide .nk-vertical-center h2 strong {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
  font-weight: 700;
}

/* Responsive text sizing - ONLY on video slide */
@media (max-width: 768px) {
  .nk-carousel-video-slide .nk-vertical-center > div {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .nk-carousel-video-slide .nk-vertical-center h1,
  .nk-carousel-video-slide .nk-vertical-center h2 {
    font-size: 2.2rem !important;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .nk-carousel-video-slide .nk-vertical-center > div {
    padding: 25px 15px;
    margin: 0 10px;
  }

  .nk-carousel-video-slide .nk-vertical-center h1,
  .nk-carousel-video-slide .nk-vertical-center h2 {
    font-size: 1.8rem !important;
    line-height: 1.4;
  }
}

/* Alternative text overlay styles for different preferences - ONLY on video slide */
.nk-carousel-video-slide .nk-vertical-center.alternative-style > div {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* High contrast option - ONLY on video slide */
.nk-carousel-video-slide .nk-vertical-center.high-contrast > div {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nk-carousel-video-slide .nk-vertical-center.high-contrast h1,
.nk-carousel-video-slide .nk-vertical-center.high-contrast h2 {
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
  font-weight: 700;
}

/* Minimal style option - ONLY on video slide */
.nk-carousel-video-slide .nk-vertical-center.minimal-style > div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nk-carousel-video-slide .nk-vertical-center.minimal-style h1,
.nk-carousel-video-slide .nk-vertical-center.minimal-style h2 {
  color: #ffffff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Main Navigation Menu Items Styling */
.nk-navbar .nk-nav > li > a {
  color: #ffffff !important;
  font-size: 2.5rem !important; /* 250% of original size */
  font-weight: 600 !important;
  padding: 4px 20px 15px 20px !important; /* Added left padding */
  font-family: "DIN", sans-serif !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.nk-navbar .nk-nav > li > a:hover {
  color: #333 !important;
}

/* Responsive menu sizing */
@media (max-width: 768px) {
  .nk-navbar .nk-nav > li > a {
    font-size: 2rem !important; /* Slightly smaller on tablets */
    padding: 12px 15px 12px 30px !important;
  }
}

@media (max-width: 480px) {
  .nk-navbar .nk-nav > li > a {
    font-size: 1.5rem !important; /* Smaller on mobile */
    padding: 10px 12px 10px 20px !important;
  }
}

/* Logo and header text responsive sizing */
@media (max-width: 350px) {
  .nk-nav-logo svg {
    width: 120px !important; /* Reduce logo size */
  }
}

@media (max-width: 300px) {
  .header-text {
    display: none !important; /* Hide CREATIVE STUDIO text */
  }
}

/* Slide overlay styling */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Text color classes for slides */
.text-white {
  color: #ffffff !important;
}

.text-black {
  color: #000000 !important;
}

.text-dark {
  color: #333333 !important;
}

/* Slide content styling */
.slide-content {
  font-size: 1.1rem;
  line-height: 1.6;
}

.slide-content p {
  margin-bottom: 15px;
}

/* Large text styling for slide content */
.slide-text-large {
  font-size: 8rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0;
}

.slide-text-large strong {
  font-weight: 700;
}

.slide-text-large em {
  font-style: italic;
}

/* WYSIWYG content styling - H2 is primary for slides (multiple per page) */
.slide-content h2 {
  font-size: 10rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0;
}

.slide-content h1 {
  font-size: 8rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0;
}

.slide-content h1 strong,
.slide-content h2 strong {
  font-weight: 700;
}

.slide-content h1 em,
.slide-content h2 em {
  font-style: italic;
}

/* Responsive text sizing for WYSIWYG content */
@media (max-width: 768px) {
  .slide-content h2 {
    font-size: 8rem;
  }
  .slide-content h1 {
    font-size: 6.4rem;
  }
}

@media (max-width: 480px) {
  .slide-content h2 {
    font-size: 6rem;
  }
  .slide-content h1 {
    font-size: 5rem;
  }
}

/* Slide button styling */
.slide-button .btn {
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.slide-button .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer centering */
.nk-footer .nk-footer-social ul {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 15px !important;
}
.nk-nav-social   ul{
  gap: 15px !important;
  display: flex;
}
.nk-footer .nk-footer-text {
  text-align: center !important;
}
.nk-navbar-side.nk-navbar-lg.nk-navbar-right-side{
  background-image: none !important;
 }
.nk-navbar-side {
    position: fixed;
    top: 0;
    bottom: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}
/* About page carousel arrows positioning */
.nk-carousel-2 .nk-flickity-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nk-carousel-2 .nk-flickity-arrow-prev {
  left: 0 !important;
  top: 60% !important;
}

.nk-carousel-2 .nk-flickity-arrow-next {
  right: 0 !important;
  top: 60% !important;
}

.nk-carousel-2 .nk-flickity-arrow:hover {
  background-color: rgba(0, 0, 0, 1) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.nk-carousel-2 .nk-flickity-arrow span {
  color: #ffffff !important;
  font-size: 50px !important;
  font-weight: bold !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Home video mobile styles */
@media (max-width: 600px) {
  .home-video {
    min-height: 400px;
    object-fit: cover;
  }
  
  .nk-box-4 {
    padding: 20px !important;
  }
}

/* Ensure video works on all devices */
@media (max-width: 768px) {
  .nk-carousel-video-slide {
    height: 70vh;
  }
}

@media (max-width: 480px) {
  .nk-carousel-video-slide {
    height: 60vh;
  }
}

/* Force header-text-main to break into 2 lines only when there's no space */
.header-text-main {
    line-height: 1;
    display: block;
    max-width: 100%;
    text-align: right;
    font-weight: bold;
    margin: 0 !important;
    color: black;
}
 

/* Hide the line break on larger screens */
.header-text-main br {
  display: none;
}

/* Show the line break only when space is limited */
@media (max-width: 600px) {
  .header-text-main br {
    display: block;
  }
}

/* Alternative breakpoint for very narrow screens */
@media (max-width: 400px) {
  .header-text-main br {
    display: block;
  }
}

/* ACF Gallery Styles */
.gallery-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
  margin-bottom: 20px;
  font-style: italic;
  text-align: center;
}

/* Video styling in gallery */
.nk-portfolio-images video {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px;
}

/* Responsive video sizing */
@media (max-width: 768px) {
  .nk-portfolio-images video {
    max-height: 300px;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .nk-portfolio-images video {
    max-height: 250px;
  }
}

/* 4-Column Portfolio Grid */
.nk-isotope-4-cols .nk-isotope-item {
  width: 25%;
}

@media (max-width: 1200px) {
  .nk-isotope-4-cols .nk-isotope-item {
    width: 33.333%;
  }
}

@media (max-width: 768px) {
  .nk-isotope-4-cols .nk-isotope-item {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .nk-isotope-4-cols .nk-isotope-item {
    width: 100%;
  }
}

/* Category Page Styles */
.nk-portfolio-item-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 5px;
}

.nk-portfolio-item-category {
  color: #cccccc;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Filter Styles */
.nk-isotope-filter {
  text-align: center;
  margin-bottom: 40px;
}

.nk-isotope-filter li {
  display: inline-block;
  margin: 0 15px;
}

.nk-isotope-filter li a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nk-isotope-filter li a:hover,
.nk-isotope-filter li.active a {
  color: #000;
}

/* Page Title Styling */
.nk-header-text h1 {
  margin-bottom: 20px;
}

.nk-header-text-sub {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Full Width Portfolio Grid */
.nk-portfolio-list {
  width: 100%;
  padding: 0;
}

.nk-portfolio-list .nk-isotope {
  width: 100%;
}

/* Remove any container constraints for full width */
.nk-main .nk-portfolio-list {
  margin-left: 0;
  margin-right: 0;
}

/* Portfolio Item Links */
.portfolio-item-icon-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-item-icon-link:hover {
  color: inherit;
  text-decoration: none;
}

.portfolio-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-title-link:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
}

/* Ensure portfolio item links work properly */
.nk-portfolio-item-link {
  text-decoration: none;
}

.nk-portfolio-item-link:hover {
  text-decoration: none;
}

/* Media Icon Overlay - Matching Home Page Style */
.portfolio-media-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.portfolio-media-icon span {
  color: #ffffff;
  font-size: 24px;
  margin-left: 3px; /* Slight adjustment for play icon centering */
}

.nk-portfolio-item:hover .portfolio-media-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Ensure the image container is positioned relatively */
.nk-portfolio-item-image > div {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

/* Portfolio item info styling to match home page */
.nk-portfolio-item-info-style-2 .portfolio-item-title {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.nk-portfolio-item-info-style-2 .portfolio-item-category {
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Home Page Portfolio Full Width */
.nk-main .nk-portfolio-list {
  width: 100%;
  padding: 0;
  margin: 0;
}

.nk-main .nk-portfolio-list .nk-isotope {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Single Post Spacing */
.nk-portfolio-text {
  margin-top: 15px;
}

/* Carousel Autoplay */
.nk-carousel[data-autoplay] {
  position: relative;
}

.nk-carousel[data-autoplay] .nk-carousel-inner {
  overflow: hidden;
}

/* Ensure carousel slides are properly sized */
.nk-carousel .nk-carousel-inner > div {
  width: 100%;
  height: 100vh;
}

.nk-carousel .video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nk-carousel .nk-carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide content positioning */
.nk-vertical-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.text-left {
  left: 60px;
}

.text-center {
 
  text-align: center;
}

.text-right {
  right: 60px;
  text-align: right;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.nk-portfolio-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.nk-portfolio-text h1,
.nk-portfolio-text h2,
.nk-portfolio-text h3,
.nk-portfolio-text h4,
.nk-portfolio-text h5,
.nk-portfolio-text h6 {
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Contact page link colors - force original theme styling */
.nk-contact-info a {
    color: #5f5f5f !important;
    text-decoration: none !important;
}

.nk-contact-info a:hover {
    color: #5f5f5f !important;
    text-decoration: underline !important;
}

.nk-contact-info a:visited {
    color: #5f5f5f !important;
}

/* Contact Form 7 styling to match original form */
.contact-form-wrapper .wpcf7-form {
    margin: 0;
}

.contact-form-wrapper .wpcf7-form .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-form-wrapper .wpcf7-form .col-md-6 {
    flex: 0 0 50%;
    padding: 0 15px;
}

/* Mobile responsive - stack fields vertically */
@media (max-width: 768px) {
    .contact-form-wrapper .wpcf7-form .col-md-6 {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 8px;
    }
    
    .contact-form-wrapper .wpcf7-form .row {
        margin: 0;
    }
}

.contact-form-wrapper .wpcf7-form .nk-gap-1 {
    height: 5px !important;
    margin: 5px 0 !important;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
    margin-bottom: 8px;
}

.contact-form-wrapper .wpcf7-form input[type="text"]:focus,
.contact-form-wrapper .wpcf7-form input[type="email"]:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-color: #007cba;
}

.contact-form-wrapper .wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-wrapper .wpcf7-form .nk-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-wrapper .wpcf7-form .nk-btn:hover {
    background-color: #555;
}

.contact-form-wrapper .wpcf7-response-output {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-acceptance-missing {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form-wrapper .wpcf7-spam-blocked {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

