/*
Theme Name: Studio 502 Tattoo
Description: Tema WordPress pentru salonul de tatuaje Studio 502 - responsive, cu animații și tranzitii smooth
Author: Studio 502
Version: 1.0
Text Domain: studio502
*/

/* ===== PRELOADER STYLES ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: #fff;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top: 4px solid #ffc107;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 200% 50%; }
    75% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Preloader responsive styles */
@media (max-width: 768px) {
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    
    .loading-text {
        font-size: 14px;
    }
}

/* Reset și stiluri de bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a2e 100%);
    background-attachment: fixed;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Stiluri pentru secțiuni */
.section {
    min-height: 500px;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible; /* Allow content to extend beyond section boundaries */
}

/* Header section specific styles */
.header-section {
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


.header-section > * {
    position: relative;
    z-index: 2;
}

.header-logo {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.header-logo img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.header-number {
    text-align: center;
    margin-top: 20px;
}

.header-502 {
    font-family: 'New Rocker', cursive;
    font-size: 8rem;
    font-weight: bold;
    color: #ff0000;
    text-shadow: none;
    animation: pulse 2s infinite;
    display: inline-block;
    position: relative;
    background: linear-gradient(45deg, #ff0000, #ff4444, #ff8888, #ffaaaa, #ff0000);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite, gradientShift 4s infinite;
}

/* Header logo responsive styles */
@media (max-width: 768px) {
    .header-logo {
        max-width: 90%;
        padding: 0 20px;
    }
    
    .header-logo img {
        max-width: 100%;
    }
    
    .header-502 {
        font-size: 5rem;
        text-shadow: none;
    }
}

.header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.header-title {
    font-family: 'New Rocker', cursive;
    font-size: 4rem;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.header-title .accent-red {
    color: #ff4444;
    font-size: 150px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #ff4444 0%, #ff6666 50%, #ff4444 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Section Titles Only - Metadannye Export */
.section h2 {
    font-family: 'Metadannye Export', sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 2rem;
    color: #ff4444;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}
#contact h2 {
    text-align: left;
}
#footer h2 {
    text-align: left;
}

/* Overlay pentru secțiuni */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.section > * {
    position: relative;
    z-index: 2;
}

/* Navbar styling */
.navbar {
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Mobile navbar - permanent black background */
@media (max-width: 991.98px) {
    .navbar {
        background-color: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .navbar.scrolled {
        background-color: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff !important;
}

.navbar-brand .brand-text {
    font-family: 'New Rocker', cursive;
    color: #fff;
}

.navbar-brand .brand-number {
    font-family: 'New Rocker', cursive;
    color: #ff0000 !important;
}

/* Footer Brand Styling */
.brand-text-footer {
    font-family: 'New Rocker', cursive;
    color: #fff;
}

.brand-text-footer .brand-number {
    font-family: 'New Rocker', cursive;
    color: #ff0000 !important;
}

.brand-text-small {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.brand-number-small {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 300;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ff6b6b !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #ff6b6b;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Owl Carousel Styles */
.services-carousel .owl-nav {
    margin-top: 30px;
    display: block !important; /* Always show navigation */
}

.services-carousel .owl-nav button {
    background: #ff4444 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 10px !important;
    transition: all 0.3s ease !important;
}

.services-carousel .owl-nav button:hover {
    background: #ff2222 !important;
    transform: scale(1.1);
}

.services-carousel .owl-dots {
    margin-top: 20px;
}

.services-carousel .owl-dot {
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 5px !important;
}

.services-carousel .owl-dot.active {
    background: #ff6b6b !important;
}

/* Services carousel container */
.services-carousel {
    position: relative;
    overflow: visible;
    padding: 20px 0; /* Add padding to prevent clipping */
}

/* Services section container */
#services {
    padding: 120px 0 150px 0; /* Extra bottom padding for hover effects */
}

#services .container {
    overflow: visible;
}

#services .row {
    overflow: visible;
}

/* Service item styles */
.service-item {
    position: relative;
    height: auto;
    border-radius: 15px; /* Added border radius */
    overflow: visible; /* Changed from hidden to visible */
    margin: 20px; /* Increased margin to prevent clipping */
    border: 1px solid transparent; /* Transparent border by default */
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center; /* Ensure scale happens from center */
}

.service-item:hover {
    transform: scale(1.02); /* Reduced scale for subtle effect */
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
    border: 1px solid #ffffff; /* White border on hover */
    z-index: 10; /* Bring hovered item above others */
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px; /* Match parent border radius */
}

/* Service Item Link Styles */
.service-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.service-item-link:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.02);
}

.service-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 15px 15px;
    border-radius: 0 0 15px 15px;
}

.service-title h6 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-title h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Service title responsive styles */
@media (max-width: 768px) {
    .service-title {
        padding: 15px 10px 10px 10px;
    }
    
    .service-title h4 {
        font-size: 1rem;
    }
}

.service-item:hover img {
    transform: scale(1.05); /* Reduced scale for image */
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    transform-origin: center; /* Ensure overlay scales with parent */
}

.service-overlay h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* About section image */
.about-image img {
    transition: all 0.3s ease;
}

/* Contact form styles */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff6b6b;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
    color: #fff;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .btn-warning {
    background: #ff4444;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    color:#ffffff
}

.contact-form .btn-warning:hover {
    background: #ff2222;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
}

/* Service Modal Styles */
.modal-backdrop {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.8) !important;
}

.service-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a2e 100%);
    border: none; /* Removed border */
    border-radius: 5px; /* Smaller border radius */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative; /* For absolute positioning of close button */
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    filter: none;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 0;
    margin: 0;
    backdrop-filter: blur(5px);
}

.modal-close-btn::before {
    content: '×';
    font-size: 1rem;
    line-height: 1;
    display: block;
}

.modal-close-btn:hover {
    opacity: 1;
    background: rgba(255, 68, 68, 0.8);
    border-color: #ff4444;
    transform: scale(1.1);
}

.service-modal-content .modal-body {
    padding: 3rem 2rem 2rem 2rem; /* Extra top padding for mobile */
}

.service-modal-content .modal-body .col-md-7 {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.service-modal-content .modal-body .col-md-5 {
    padding: 0 0 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: block;
}

/* Contact section parallax */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Social Contact Buttons */
.social-contact-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
    min-width: 240px;
    justify-content: center;
}

.social-contact-btn .social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social-contact-btn .social-text {
    font-size: 1.1rem;
}

.viber-btn {
    background: linear-gradient(135deg, #7360f2 0%, #9b78f7 100%);
    box-shadow: 0 4px 15px rgba(115, 96, 242, 0.4);
}

.viber-btn:hover {
    background: linear-gradient(135deg, #5d4fd6 0%, #8761e3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 96, 242, 0.6);
    color: #fff;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #1fb855 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1fb855 0%, #1a9b47 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #fff;
}

/* Footer styles */
.contact-info .contact-item {
    display: flex;
    align-items: center;
}

.contact-info .contact-item a {
    color: #ff4444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info .contact-item a:hover {
    color: #ff6666;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.contact-info .contact-item i {
    width: 20px;
    text-align: center;
}

/* Footer copyright text */
.text-white-50 {
    font-size: 0.7rem !important;
    opacity: 0.8;
}

/* Contact form alerts */
.contact-alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-alert.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-left: 4px solid #155724;
}

.contact-alert.alert-danger {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    border-left: 4px solid #721c24;
}

.contact-alert .btn-close {
    filter: invert(1);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Language Switcher Styles */
.language-switcher {
    margin-left: 20px;
    position: relative;
}

.language-switcher .dropdown {
    position: relative;
}

.language-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-btn:hover,
.language-btn:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25) !important;
    color: #fff !important;
}

.flag-icon {
    font-size: 1.2rem;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.language-name {
    font-size: 0.9rem;
}

.language-dropdown-menu {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 160px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 0.5rem;
}

.language-dropdown-menu.show {
    display: block !important;
}

.dropdown-menu.show {
    display: block !important;
}

.language-option {
    color: #fff !important;
    padding: 0.75rem 1rem !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: rgba(255, 107, 107, 0.2) !important;
    color: #fff !important;
}

.language-option.active {
    background: rgba(255, 107, 107, 0.3) !important;
    color: #fff !important;
}

/* Navbar Collapse */
.navbar-collapse {
    transition: height 0.35s ease;
}

.navbar-collapse:not(.show) {
    display: none;
}

.navbar-collapse.show {
    display: block !important;
}

/* Responsive */
@media (max-width: 768px) {
    .section h2 {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 10px 20px;
    }
    
    .header-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    
    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
    }
    
    .language-btn {
        min-width: 120px;
        font-size: 0.8rem;
    }
    
    .service-modal-content .modal-body {
        padding: 3rem 1rem 2rem 1rem; /* Extra padding for mobile */
    }
    
    .service-modal-content .modal-body .col-md-5 {
        padding: 1rem 0 0 0;
    }
    
    .modal-close-btn {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
    }
    
    /* Social Contact Buttons Mobile */
    .social-contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-contact-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
}

/* Services Page Styles */
.service-item-page {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.service-item-page:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item-page .service-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.service-item-page .service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item-page:hover .service-image img {
    transform: scale(1.05);
}

.service-item-page .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item-page:hover .service-overlay {
    opacity: 1;
}

.service-item-page .service-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.service-item-page .service-content .service-title {
    position: static;
    background: none;
    color: #fff;
    padding: 0 0 10px 0;
    border-radius: 0;
}

.service-item-page .service-content .service-description {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Single Service Page Styles */
.service-title-main {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.service-description-main {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.service-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-actions {
    margin-top: 30px;
}

.related-service-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.related-service-item:hover {
    transform: translateY(-5px);
}

.related-service-item a {
    text-decoration: none;
    color: inherit;
}

.related-service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-service-item:hover img {
    transform: scale(1.05);
}

.related-service-title {
    color: #333;
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 600;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #666;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #ff0000;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

/* Single Service Page Styles */
.single-service-section {
    padding: 120px 0 80px 0;
    background-color: transparent;
    min-height: 100vh;
}

.single-service-section .service-title-main {
    color: #ffffff;
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
}

.single-service-section .service-description-main {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    text-align: left;
}

.single-service-section .service-description-main p {
    color: #ffffff;
    text-align: left;
}

.single-service-section .service-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-service-section .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.single-service-section .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #666;
}

.single-service-section .breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.single-service-section .breadcrumb-item a:hover {
    color: #ff0000;
}

.single-service-section .breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

/* Services Page Styles */
.services-page-section {
    padding: 120px 0 80px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.service-detail-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-title-card {
    color: #333;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-description-card {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.service-description-card p {
    margin-bottom: 15px;
}

.service-description-card p:last-child {
    margin-bottom: 0;
}

.no-services-message {
    padding: 80px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.no-services-message h3 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
}

.no-services-message p {
    color: #666;
    font-size: 1.1rem;
}

/* Service Gallery Carousel Styles */
.gallery-title {
    color: #ffffff;
    font-family: 'Metadannye Export', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: normal;
}

/* Gallery Section Background - Full Width */
.single-service-section .row.mt-5:not(.other-services-section) {
    background: rgba(180, 180, 180, 0.15);
    padding: 40px 0;
    border-radius: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
}

.single-service-section .row.mt-5:not(.other-services-section) .col-12 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Other Services Section - No Background */
.single-service-section .other-services-section {
    background: transparent !important;
    padding: 40px 0;
}

.service-gallery-carousel {
    margin-top: 30px;
}

/* Hide duplicate dots - keep only one set */
.service-gallery-carousel .owl-dots {
    display: block !important;
}

.service-gallery-carousel .owl-dots + .owl-dots {
    display: none !important;
}

.service-gallery-carousel .gallery-item {
    padding: 10px;
}

.service-gallery-carousel .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-gallery-carousel .gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
}

.service-gallery-carousel .owl-nav button {
    background: rgba(255, 68, 68, 0.8) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
    transition: all 0.3s ease !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.service-gallery-carousel .owl-nav button:hover {
    background: rgba(255, 68, 68, 1) !important;
    transform: translateY(-50%) scale(1.1);
}

.service-gallery-carousel .owl-nav button.owl-prev {
    left: -60px;
}

.service-gallery-carousel .owl-nav button.owl-next {
    right: -60px;
}

.service-gallery-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.service-gallery-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.service-gallery-carousel .owl-dot span {
    display: none !important;
}

.service-gallery-carousel .owl-dot.active {
    background: #ff4444 !important;
    transform: scale(1.3);
}

/* Other Services Carousel Styles */
.other-services-carousel {
    margin-top: 30px;
    background: transparent !important;
}

.other-services-carousel .service-item {
    position: relative;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.other-services-carousel .service-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
    border: 1px solid #ffffff;
    z-index: 10;
}

.other-services-carousel .service-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    height: 100%;
}

.other-services-carousel .service-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
    display: block;
}

.other-services-carousel .service-item:hover img {
    transform: scale(1.05);
}

.other-services-carousel .service-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 25px;
    border-radius: 0 0 15px 15px;
}

.other-services-carousel .service-title h4 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Other Services Carousel - Container for Nav and Dots */
.other-services-carousel {
    position: relative;
    margin-bottom: 80px;
    padding: 0 15px;
}

.other-services-carousel .owl-stage-outer {
    overflow: hidden;
    padding: 10px 0;
}

.other-services-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.other-services-carousel .owl-item {
    display: flex;
    align-items: stretch;
}

/* Navigation and Dots on Same Row */
.other-services-carousel .owl-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 400px;
    z-index: 10;
}

.other-services-carousel .owl-nav button {
    background: rgba(255, 68, 68, 0.8) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.other-services-carousel .owl-nav button.owl-prev {
    left: 0;
}

.other-services-carousel .owl-nav button.owl-next {
    right: 0;
}

.other-services-carousel .owl-nav button:hover {
    background: rgba(255, 68, 68, 1) !important;
    transform: scale(1.1);
}

/* Dots in the Middle Between Buttons */
.other-services-carousel .owl-dots {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 11;
}

.other-services-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.other-services-carousel .owl-dot span {
    display: none !important;
}

.other-services-carousel .owl-dot.active {
    background: #ff4444 !important;
    transform: scale(1.3);
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: none;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #ff4444;
    transform: scale(1.2) rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    max-width: 80%;
}

/* Responsive adjustments for services pages */
@media (max-width: 768px) {
    .service-title-main {
        font-size: 2rem;
    }
    
    .service-description-main {
        font-size: 1rem;
    }
    
    .service-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .service-actions .btn:last-child {
        margin-bottom: 0;
    }
    
    .single-service-section {
        padding: 100px 0 60px 0;
    }
    
    .services-page-section {
        padding: 100px 0 60px 0;
    }
    
    .service-detail-card {
        padding: 25px;
    }
    
    .service-title-card {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .service-description-card {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .service-image-container img {
        height: 250px;
        margin-bottom: 20px;
    }
    
    /* Gallery responsive styles */
    .gallery-title {
        font-size: 2.0rem;
    }
    
    .single-service-section .row.mt-5 {
        padding: 30px 0;
    }
    
    .single-service-section .row.mt-5 .col-12 {
        padding: 0 15px;
    }
    
    .service-gallery-carousel .gallery-item img {
        height: auto;
    }
    
    .service-gallery-carousel .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
    
    .service-gallery-carousel .owl-nav button.owl-prev {
        left: -10px;
    }
    
    .service-gallery-carousel .owl-nav button.owl-next {
        right: -10px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
    
    .lightbox-content {
        max-width: 98vw;
        max-height: 92vh;
        width: auto;
        height: auto;
    }
    
    /* Other Services Carousel Responsive */
    .other-services-carousel {
        padding: 0 10px;
    }
    
    .other-services-carousel .service-item {
        height: auto;
        margin: 0 auto;
        max-width: 90%;
    }
    
    .other-services-carousel .service-item img {
        height: 350px;
    }
    
    .other-services-carousel .service-title h4 {
        font-size: 1.2rem;
    }
    
    .other-services-carousel .service-title {
        padding: 30px 15px 20px;
    }
    
    .other-services-carousel .owl-stage {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .other-services-carousel .owl-item {
        display: flex;
        justify-content: center;
    }
    
    .other-services-carousel .owl-nav {
        max-width: 300px;
    }
    
    .other-services-carousel .owl-nav button {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    .other-services-carousel .owl-dot {
        width: 8px !important;
        height: 8px !important;
    }
}
