/* 
 * CPH FOTO - Main Stylesheet
 * Consolidated from multiple sources into a single, organized file
 */

/* ----------------------------------------
   BASE STYLES
   ---------------------------------------- */
   :root {
    --cpblue: #115da8;
    --cpblue-light: #007bff;
    --cpgray: #0f172a; /* Changed from #000 to Slate 900 */
    --cp-bg: #0f172a;
    --cp-text: #f8fafc;
  }
  
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--cp-bg) !important;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--cp-text);
    line-height: 1.6;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  /* Vue-specific styling */
  [v-cloak] {
    display: none;
  }
  
  /* ----------------------------------------
     TYPOGRAPHY
     ---------------------------------------- */
  .text-embossed {
    /* Removed dated text-shadow */
    font-weight: 600;
  }
  
  .text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .logo {
    font-weight: 700;
    letter-spacing: -0.5px;
  }
  
  /* Responsive text sizing 
  
  @media (max-width: 640px) {
    h1 {
      font-size: 2rem !important;
      line-height: 1.2 !important;
    }
    
    h2 {
      font-size: 1.75rem !important;
      line-height: 1.3 !important;
    }
    
    h3 {
      font-size: 1.35rem !important;
      line-height: 1.4 !important;
    }
    
    p {
      font-size: 1rem !important;
      line-height: 1.5 !important;
    }
    
    .testimonial-content p {
      font-size: 0.95rem !important;
    }
  }
  */
  /* ----------------------------------------
     LAYOUT & SECTIONS
     ---------------------------------------- */
  .hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
    padding-bottom: 60px; /* Space for bottom nav */
    padding-top: 60px; /* Space for top nav */
    background-color: var(--cp-bg) !important;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--cp-text);
  }
  
  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-color: var(--cp-bg) !important;
  }
  
  .hero-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  /* CTA Section Styling */
  .cta-section {
    background-color: var(--cp-bg) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    background-color: var(--cpblue);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }

  .cta-button:hover {
    background-color: var(--cpblue-light);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  /* ----------------------------------------
     NAVIGATION
     ---------------------------------------- */
  .nav-container {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    background-color: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(8px);
    left: 0;
    right: 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .top-nav {
    top: 0;
  }
  
  .bottom-nav {
    bottom: 0;
  }
  
  .nav-scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  /* Mobile Menu Styles */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.98) !important;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-menu-button {
    padding: 0.5rem;
    color: #ffffff;
    transition: color 0.3s ease;
  }
  
  .mobile-menu-button:hover {
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* ----------------------------------------
     PORTFOLIO GALLERY
     ---------------------------------------- */
  .portfolio-container {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    width: 100%;
    margin-bottom: 60px;
    overflow: hidden;
  }
   
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1800px) {
    .portfolio-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
  
  .portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
  }
  
  .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
  }
  
  .portfolio-item:hover img {
    transform: scale(1.1);
  }
  
  .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
  }
  
  /* Lightbox Styles */
  .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 4px;
  }
  
  .lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
  }
  
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
  }
  
  /* Home page portfolio grid (smaller) */
  .portfolio-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    height: 100%;
  }
  
  @media (min-width: 768px) {
    .portfolio-grid-home {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /* ----------------------------------------
     SERVICES SECTIONS
     ---------------------------------------- */
  .services-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
  }
  
  .service-card {
    background-color: rgba(30, 41, 59, 0.5); /* Slate 800 with opacity */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background-color: rgba(30, 41, 59, 0.8);
  }
  
  .service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .service-content {
    padding: 1.5rem;
  }
  
  .service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--cp-text);
  }
  
  .service-description {
    color: #94a3b8; /* Slate 400 */
    margin-bottom: 1rem;
  }
  
  .service-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--cpblue);
    color: white;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: 500;
  }
  
  .service-link:hover {
    background-color: var(--cpblue-light);
  }
  
  /* ----------------------------------------
     ACCORDION COMPONENTS
     ---------------------------------------- */
  .accordion-header {
    position: relative;
    min-height: 15vh;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .accordion-image-container {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
  }
  
  .accordion-image-container img {
    flex: 1;
    width: 33.333%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .accordion-header:hover .accordion-image-container img {
    transform: scale(1.05);
  }
  
  .accordion-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 15vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.1));
    transition: background 0.3s ease;
  }
  
  .accordion-header:hover .accordion-header-content {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .accordion-content.active {
    max-height: 1000px;
  }
  
  ul.mb-4.space-y-2 > li {
    display: flex;
    align-items: center;
  }
  
  /* ----------------------------------------
     PROCESS STEPS
     ---------------------------------------- */
  .process-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
  }
  
  .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 20%;
    text-align: center;
  }
  
  .step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(30, 41, 59, 0.5); /* Slate 800 */
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8; /* Slate 400 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
  }
  
  .process-step:hover .step-number {
    border-color: var(--cpblue);
    color: white;
  }
  
  .process-step.active .step-number {
    background-color: var(--cpblue);
    border-color: var(--cpblue);
    color: white;
    box-shadow: 0 0 15px rgba(17, 93, 168, 0.5);
  }
  
  .step-label {
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    max-width: 100%;
    color: #94a3b8;
  }
  
  @media (max-width: 640px) {
    .step-label {
      font-size: 0.75rem;
    }
    
    .step-number {
      width: 2.5rem;
      height: 2.5rem;
      font-size: 0.875rem;
    }
  }
  
  .process-step.active .step-label {
    color: #ffffff;
    font-weight: 600;
  }
  
  .process-images {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-top: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  @media (max-width: 640px) {
    .process-images {
      height: 200px;
    }
  }
  
  .process-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .process-image.active {
    opacity: 1;
  }
  
  /* Progress bar */
  .progress-bar {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 1rem 0;
    border-radius: 2px;
  }
  
  .progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--cpblue);
    transition: width 0.5s ease-out;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(17, 93, 168, 0.5);
  }

  /* ----------------------------------------
     TESTIMONIALS SECTION
     ---------------------------------------- */
  .testimonial-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  
  .testimonial-slider {
    display: flex;
    height: 100%;
    transition: transform 1s ease-in-out;
  }
  
  .testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .testimonial-content {
    width: 90%;
    max-width: 1000px;
    background-color: rgba(30, 41, 59, 0.5); /* Slate 800 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
  }
  
  /* ----------------------------------------
     ANIMATIONS & TRANSITIONS
     ---------------------------------------- */
  /* Vue transitions */
  .v-enter-active,
  .v-leave-active,
  .fade-enter-active,
  .fade-leave-active {
    transition: opacity 0.5s ease;
  }
  
  .v-enter-from,
  .v-leave-to,
  .fade-enter-from,
  .fade-leave-to {
    opacity: 0;
  }
  
  /* Transition class names */
  .transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
  }
  
  .transform {
    transform: translateY(0) scale(1);
  }
  
  .opacity-0 {
    opacity: 0;
  }
  
  .opacity-100 {
    opacity: 1;
  }
  
  .scale-90 {
    transform: scale(0.9);
  }
  
  .scale-100 {
    transform: scale(1);
  }


   /* ----------------------------------------
     Booking Lightbox Specific Styling
    ---------------------------------------- */
 
    .booking-lightbox {
        max-width: 800px;
        max-height: 90vh;
        width: 90%;
        overflow-y: auto;
        padding: 2rem;
        border-radius: 8px;
    }
    
    .test-mode-banner {
        border-left: 4px solid #f59e0b;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .form-input, .form-textarea, .form-select {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font-size: 1rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }
    
    .form-input:focus, .form-textarea:focus, .form-select:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }
    
    .form-textarea {
        resize: vertical;
        min-height: 80px;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary {
        background-color: #3b82f6;
        color: white;
    }
    
    .btn-primary:hover {
        background-color: #2563eb;
    }
    
    .btn-secondary {
        background-color: #f3f4f6;
        color: #374151;
        border: 1px solid #d1d5db;
    }
    
    .btn-secondary:hover {
        background-color: #e5e7eb;
    }
    
    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
    
    /* Lightbox overlay styles (if not already in your CSS) */
    .lightbox-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    
    .lightbox-content {
        position: relative;
        max-width: 90vw;
        max-height: 90vh;
    }
    
    .lightbox-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        line-height: 1;
        z-index: 10000;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.5);
        transition: background-color 0.3s ease;
    }
    
    .lightbox-close:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }
    
    /* Vue transitions */
    .v-enter-active,
    .v-leave-active {
        transition: opacity 0.3s ease;
    }
    
    .v-enter-from,
    .v-leave-to {
        opacity: 0;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .booking-lightbox {
            padding: 1rem;
            width: 95%;
        }
        
        .form-input, .form-textarea, .form-select {
            padding: 0.6rem;
        }
        
        .btn {
            padding: 0.6rem 1rem;
        }
    }



  /* ----------------------------------------
     ABOUT FORMATTING
     ---------------------------------------- */
    
     .opening-statement {
      font-size: 1.2em;
      text-align: center;
      font-style: italic;
      color: #cbd5e1; /* text-slate-300 */
      margin-bottom: 40px;
      padding: 20px 0;
  }
  
  .story-section {
      margin-bottom: 30px;
  }
  
  .highlight {
      background: rgba(100, 116, 139, 0.2); /* subtle slate overlay */
      padding: 2px 6px;
      border-radius: 3px;
      color: #e2e8f0; /* text-slate-200 */
  }
  
  .emphasis {
      color: #cbd5e1; /* text-slate-300 */
      font-weight: 500;
  }
  
  .services-intro {
      background: rgba(51, 65, 85, 0.5); /* slate-700 with opacity */
      padding: 25px;
      border-radius: 6px;
      margin: 30px 0;
      border-left: 3px solid #64748b; /* slate-500 */
  }
  
  .philosophy {
      font-size: 1.1em;
      background: rgba(51, 65, 85, 0.6); /* slate-700 with opacity */
      color: #f1f5f9; /* text-slate-100 */
      padding: 25px;
      border-radius: 6px;
      margin: 35px 0;
      text-align: center;
      font-style: italic;
      border: 1px solid #475569; /* slate-600 */
  }
  
  .client-focus {
      background: rgba(51, 65, 85, 0.4); /* slate-700 with opacity */
      border-left: 3px solid #64748b; /* slate-500 */
      padding: 20px;
      border-radius: 6px;
      margin: 25px 0;
  }
  
  .location-pride {
      background: rgba(51, 65, 85, 0.3); /* slate-700 with opacity */
      padding: 20px;
      border-radius: 6px;
      margin: 25px 0;
  }
  
  .closing-statement {
      font-size: 1.1em;
      text-align: center;
      color: #e2e8f0; /* text-slate-200 */
      font-weight: 500;
      margin-top: 40px;
      padding: 25px;
      background: rgba(51, 65, 85, 0.5); /* slate-700 with opacity */
      border-radius: 6px;
      border: 1px solid #475569; /* slate-600 */
  }
  
  .year {
      background: #64748b; /* slate-500 */
      color: #f1f5f9; /* text-slate-100 */
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 0.95em;
  }
