/* General styles */
@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 300 700;  /* Variable font weight range */
    font-display: swap;
}

@font-face {
    font-family: 'V_myfont_002';
    src: url('assets/fonts/V_myfont_002-Regular.otf') format('opentype'),
         url('assets/fonts/V_myfont_002-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
  font-family: 'Space Grotesk', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #FEFCF5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Boutique section */
.boutique {
    position: relative;
    max-width: 1200px;
    margin: 16px auto;
    padding: 16px;
    min-height: 800px;
}

.boutique h1 {
  text-align: center;
  margin-bottom: 2rem;
}


/* Gallery grid */
.boutique-items {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

figure {
  margin: 0;
  position: relative;
}

figure img {
  width: 100%;
  min-width: 245px;
  height: auto;
  display: block;
}

figcaption {
  text-align: center;
  padding: 1rem 0;
}

/* Paper info section */
.paper-info {
  margin: 4rem 0;
}

.paper-type {
  margin-bottom: 2rem;
}

/* Pricing section */
.pricing {
  margin: 4rem 0;
}

.pricing ul {
  list-style: none;
  padding: 0;
}

.pricing li {
  margin-bottom: 0.5rem;
}

/* Order form */
.order-form {
  max-width: 600px;
  margin: 0 auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
}

textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Space Grotesk', Arial, sans-serif;
  resize: none;
  min-height: 65px;
  box-sizing: border-box;
  font-size: 12px;  /* Changed from 14px */
}

textarea::placeholder {
  font-size: 12px;  /* Changed from 14px */
}

/* For older browsers */
textarea::-webkit-input-placeholder {
  font-size: 12px;
}
textarea::-moz-placeholder {
  font-size: 12px;
}
textarea:-ms-input-placeholder {
  font-size: 12px;
}

/* Base button styles - shared between home and boutique */
.cta-button-home,
.cta-button {
    display: inline-block;
    width: 264px; /* Match the larger button size from home */
    padding: 16px 32px;
    background-color: #162C25;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Space Grotesk', Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

.cta-button-home:hover,
.cta-button:hover {
    background-color: #2a4f45;
}

.cta-button:disabled {
    background-color: #2a4f45;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form button container */
.form-button-container {
    margin-top: 32px;
    margin-bottom: 24px;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* CTA button styles */
.form-button-container .cta-button {
    width: 264px;
    margin: 0 auto;
}

/* Success message styles */
.success-message {
    margin-top: 24px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 13px;
    color: #050505;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-message.show {
    opacity: 1;
}

.success-message p {
    margin: 4px 0;
    color: #050505;
}

/* Price notice styles */
.price-notice {
    font-size: 11px;
    font-style: italic;
}

/* Error message styles */
.error-message {
    background-color: #FEF0F0;
    color: #1A1A1A;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #E32C2C;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.error-message span.close {
    color: #E32C2C;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
}

.error-message p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: inline;
    white-space: normal;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .form-button-container .cta-button {
        width: 100%;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .cta-button-home,
    .cta-button {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .cta-button-home,
    .cta-button {
        width: 80%;
    }
}

/* Loading state styles */
.cta-button.loading {
    background-color: #787878;
    pointer-events: none;
}

.cta-button.success {
    background-color: #4CAF50;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
  .boutique-items {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .boutique, 
  .paper,
  .order,
  .form-section {
    padding: 16px;
    margin: 16px auto;
  }

  .boutique h1,
  .paper h2,
  .order h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  figure img {
    min-width: auto;
  }

  .contact-form {
    width: 100%;
    padding: 0 1rem;
  }

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

  select[multiple] {
    min-height: 120px;
  }

  .cta-button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
  }

  .back-link {
    top: 1rem;
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .boutique-items {
    grid-template-columns: 1fr;
  }

  .form-section {
    margin: 2rem auto;
  }

  .social-links {
    gap: 1.5rem;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .paper p,
  .price-notice,
  .help-text {
    font-size: 0.85em;
  }

  footer {
    padding: 1.5rem 0;
  }

  .back-to-top img {
    width: 20px;
    height: 20px;
  }

  .name-fields {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Main content centering */
  main {
    padding: 0;
    width: 100%;
  }

  .form-section {
    padding: 1rem 16px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Delivery options for mobile */
  .checkbox-options {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .checkbox-label {
    flex: 1;
    padding: 8px 4px;
    font-size: 11px;
    min-height: unset;
    border-radius: 6px;
  }

  .checkbox-label input[type="radio"] {
    width: 10px;
    height: 10px;
    margin-right: 2px;
  }

  /* Hide back-to-top button on mobile */
  .back-to-top,
  .back-to-top.visible {  /* Override the visible class too */
    display: none !important;  /* Use !important to ensure it's hidden */
    opacity: 0;
    visibility: hidden;
  }

  /* Remove any existing back-to-top styles */
  .back-to-top img {
    display: none;
  }
}

/* Fix for medium-sized tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .boutique-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .boutique,
  .paper,
  .order {
    max-width: 90%;
  }
}

/* Ensure form inputs are touch-friendly */
@media (hover: none) {
  input,
  select,
  .cta-button {
    min-height: 44px;
  }

  .checkbox-label {
    padding: 0.5rem 0;
  }
}

/* Base footer styles */
footer {
    margin-top: auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #FEFCF5;
    box-sizing: border-box;
}

footer p {
  margin: 0;
  color: #050505;
  text-align: left;  /* Align text to the left */
  font-size: 13px;  /* Changed from default 16px */
}

.social-links {
  display: flex;
  gap: 2rem;
  margin: 0;  /* Remove top margin */
}

.social-icon {
  color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;  /* Changed from color to opacity transition */
}

.social-icon:hover {
  opacity: 0.6;  /* Changed from color change to opacity */
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

/* Paper section with clear spacing for decorative images */
.paper {
    position: relative;
    max-width: 1200px;
    margin: 16px auto;
    padding: 16px 180px;
    text-align: center;
    min-height: 400px;
    overflow: visible;
    box-sizing: border-box;
}

/* Paper content with clear boundaries */
.paper-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #FEFCF5;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.paper-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #050505;
}

/* Decorative images container */
.decorative-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Position each image */
.hat-image {
    position: absolute;
    width: 96px;
    height: 96px;
    top: 20%;
    left: 60px;  /* Keep current position */
    z-index: 1;
    animation: float1 18s ease-in-out infinite;
}

.film-image {
    position: absolute;
    width: 77px;
    height: 77px;
    top: 55%;  /* Changed from 70% */
    right: 400px;  /* Changed from 80px */
    z-index: 1;
    animation: float2 18s ease-in-out infinite;
}

.frame-image {
    position: absolute;
    width: 96px;
    height: 96px;
    top: 55%;  /* Changed from 80% */
    left: 230px;  /* Changed from 80px */
    z-index: 1;
    animation: float3 18s ease-in-out infinite;
}

.camera-image {
    position: absolute;
    width: 77px;
    height: 77px;
    top: 15%;
    right: 60px;  /* Move to right side */
    z-index: 1;
    animation: float4 18s ease-in-out infinite;
}

/* Floating animations */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5px, -8px) rotate(-3deg); }
    50% { transform: translate(3px, -12px) rotate(3deg); }
    75% { transform: translate(-7px, -8px) rotate(-2deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-3px, 2px) rotate(-2deg); }
    50% { transform: translate(3px, -3px) rotate(2deg); }
    75% { transform: translate(-2px, 2px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(7px, -5px) rotate(3deg); }
    50% { transform: translate(-3px, -10px) rotate(-3deg); }
    75% { transform: translate(5px, -8px) rotate(2deg); }
}

@keyframes float4 {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-8px) translateX(4px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .paper {
        padding: 16px 140px;  /* Reduced padding for tablets */
    }
    
    .hat-image {
        left: 25px;
    }
    
    .film-image {
        right: 25px;
    }
    
    .frame-image {
        left: 35px;
    }
    
    .camera-image {
        right: 35px;
    }
}

@media (max-width: 768px) {
    .paper {
        padding: 16px 120px;  /* Further reduced padding for smaller tablets */
    }
    
    .hat-image {
        left: 20px;
    }
    
    .film-image {
        right: 20px;
    }
    
    .frame-image {
        left: 30px;
    }
    
    .camera-image {
        right: 30px;
    }
}

/* Order section */
.order {
    text-align: center;
    padding: 0;
    margin: 16px auto;  /* Changed from 48px to match other sections */
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.order h2.subtitle {
    margin: 0;
    font-size: 2rem;  /* 32px for desktop */
}

.cta-button-home {
    display: inline-block;
    width: 264px;
    padding: 16px 32px;
    background-color: #050505;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Space Grotesk', Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

.cta-button-home:hover {
    background-color: #787878;
}

/* Hide decorative images on smaller screens */
@media (max-width: 1280px) {
    .decorative-images {
        display: none;
    }

    .paper {
        padding: 16px 40px;
        min-height: auto;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .order {
        padding: 32px 16px;  /* Adjust padding for tablets */
    }

    .cta-button-home {
        width: 180px;
    }

    .order h2.subtitle {
        font-size: 1.75rem;  /* 28px for tablet */
    }
}

@media (max-width: 480px) {
    .order {
        padding: 24px 16px;  /* Further reduce padding for mobile */
    }

    .cta-button-home {
        width: 80%;
    }

    .paper {
        padding: 16px 20px;  /* Minimal padding on mobile */
    }

    .order h2.subtitle {
        font-size: 1.5rem;  /* 24px for mobile */
    }
}

/* Form section */
.form-section {
    max-width: none;
    margin: 0 auto;  /* Added auto margins */
    padding: 2rem 0;
    position: relative;
    z-index: 0;
    text-align: center;  /* Added text-align center */
    width: 100%;  /* Added width 100% */
}

.form-section h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 4rem;
    color: #050505;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    text-align: left;  /* Reset text alignment for the form */
}

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

.form-group label {
    display: block;
    font-size: 12px;
    color: #050505;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    font-size: 12px;  /* Made consistent with email size */
    font-family: 'Space Grotesk', Arial, sans-serif;
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6772e5;
}

/* Additional form styles */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;  /* Center the text */
    gap: 0.5rem;
    cursor: pointer;
    background-color: white;
    padding: 12px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    transition: border-color 0.15s ease;  /* Match photo field transition */
}

.checkbox-label:hover {
    border-color: #6772e5;
    background-color: #f7f7f9;
}

.checkbox-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Match the active/selected state with photo field */
.checkbox-label input[type="radio"]:checked + span {
    color: #050505;
}

select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Space Grotesk', Arial, sans-serif;
    background-color: white;
}

select:focus {
    outline: none;
    border-color: #6772e5;
}

.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Space Grotesk', Arial, sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #6772e5;
}

/* Additional form styles */
select[multiple] {
    height: auto;
    min-height: 100px;
}

.help-text {
    display: block;
    font-size: 10px;  /* Changed from 12px */
    color: #697386;
    margin-top: 4px;
}

.price-notice + .price-notice {
    margin-top: 0.5rem;
}

/* Message textarea styles */
textarea:focus {
    outline: none;
    border-color: #6772e5;
}

.character-count {
    text-align: right;
    font-size: 10px;  /* Added to match help-text */
}

.invalid-input {
    border-color: #dc3545 !important;
}

.invalid-input:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.email-error {
    font-size: 10px;  /* Changed from 12px */
    color: #dc3545;
    margin-top: 0.25rem;
}

/* Back link styles */
.back-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    color: #050505;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #787878;
    transform: translateX(-3px);
}

/* Color Utility Classes */
.text-primary {
    color: #050505;  /* Main text color */
}

.text-secondary {
    color: #666;  /* Secondary text color */
}

.text-error {
    color: #dc3545;  /* Error messages */
}

.text-white {
    color: white;  /* Button text */
}

.text-accent {
    color: #efca08;  /* Accent color (yellow) */
}

/* Add this new style for the button container */
.form-button-container .cta-button {
    width: 200px;
}

/* Add this new style for titles */
.title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Update responsive styles for title */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Clean up main title styles */
.main-title {
    font-size: 4rem;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: 'V_myfont_002', sans-serif !important;
    line-height: 1;
    font-weight: normal;
}

.main-title a {
    color: #050505;
    text-decoration: none;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.main-title a:hover {
    color: #787878;
}

/* Remove any transitions to prevent glitches */
.main-title,
.main-title a {
    transition: none;
}

/* Keep responsive styles */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem; /* Adjusted for tablet */
        text-align: center;
    }
}

/* Update the subtitle class to be consistent */
.subtitle {
    position: relative;
    z-index: 10;
    margin: 0 auto 16px auto;
    font-size: 2rem;  /* 32px */
    text-align: center;
    font-weight: 500;
    color: #050505;
    background-color: #FEFCF5;
    display: block;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Update responsive styles for subtitle */
@media (max-width: 768px) {
    .subtitle {
        font-size: 1.75rem;  /* 28px */
        margin: 0 auto 16px auto;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .subtitle {
        font-size: 1.5rem;  /* 24px */
        margin: 0 auto 16px auto;
        padding: 0;
        width: 100%;
        text-align: center;
    }
}

/* Name fields container styles */
.name-fields {
    display: flex;
    gap: 2rem;  /* Increased from 1rem to 2rem for more space */
}

.name-fields .form-group {
    flex: 1;
}

/* Keep the mobile responsiveness */
@media (max-width: 480px) {
    .name-fields {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Keep mobile responsiveness */
@media (max-width: 768px) {
    .form-section {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .form-section {
        margin: 2rem auto;
    }
}

/* Add box-sizing to all form elements for consistency */
.form-group input,
.form-group select,
.form-group textarea {
    box-sizing: border-box;
    width: 100%;
}

/* Prevent image selection and dragging */
img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Selection color */
::selection {
    background: #050505;
    color: white;
}

/* Header styles - single source of truth */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: #FEFCF5;
    padding: 1rem 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    box-sizing: border-box;
    height: 85px; /* Fixed height to prevent size changes */
}

.title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.title-image {
    width: auto;
    height: auto;
    max-width: 61px;  /* Reduced by 10% from 68px */
    max-height: 110px;  /* Reduced by 10% from 122px */
    transform: scale(1);
}

.main-title a {
    transition: color 0.3s ease;
}

/* Add the hover effect to the container */
.title-container:hover .title-image {
    opacity: 0.6;
}

.title-container:hover .main-title a {
    color: #787878;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #050505;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.nav-links a.active {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.profile-pic {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 85px;
    height: 85px;
}

.profile-pic img {
    width: 85px;
    height: 85px;
    max-height: 85px;
    border-radius: 50%;
    object-fit: cover;
    transition: none;
    transform: none;
}

/* Responsive header styles */
@media (max-width: 768px) {
    .sticky-header {
        padding: 0.5rem 0;
    }
    
    .header-nav {
        height: auto;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .title-container {
        justify-content: center;
    }

    .main-title {
        font-size: 3rem; /* Adjusted for tablet */
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .profile-pic {
        width: 70px;
        height: 70px;
    }
    
    .profile-pic img {
        width: 70px;
        height: 70px;
        max-height: 70px;
        transition: none;
        transform: none;
    }
}

@media (max-width: 480px) {
    .sticky-header {
        position: relative;
        padding: 8px 0;
        margin: 0;
    }

    .header-nav {
        height: auto;
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
        align-items: center;
    }

    .main-title {
        font-size: 2.5rem; /* Adjusted for mobile */
        position: sticky;
        top: 0;
        background: #FEFCF5;
        z-index: 1000;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .profile-pic {
        order: 2;
        width: 60px;
        height: 60px;
    }
    
    .profile-pic img {
        width: 60px;
        height: 60px;
        max-height: 60px;
        transition: none;
        transform: none;
    }

    .nav-links {
        order: 3;
    }

    /* Hide back-to-top button on mobile */
    .back-to-top,
    .back-to-top.visible {  /* Override the visible class too */
        display: none !important;  /* Use !important to ensure it's hidden */
        opacity: 0;
        visibility: hidden;
    }

    /* Remove any existing back-to-top styles */
    .back-to-top img {
        display: none;
    }
}

/* Photographs grid styles */
.photographs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Always 2 columns */
    gap: 1rem;
    margin-top: 0.5rem;
}

.reference-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.reference-item:hover {
    background-color: #f5f5f5;
}

.reference-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.reference-item span {
    font-size: 0.95rem;
}

/* Keep responsive for very small screens */
@media (max-width: 480px) {
    .photographs-grid {
        grid-template-columns: 1fr;  /* Single column on very small screens */
    }
}

/* About page styles */
.about-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    padding: 0 2rem;
    align-items: center;
    min-height: auto;
}

.about-content {
    flex: 1;
    max-width: 600px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    display: block;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: justify;
    color: #050505;
}

.about-content p:last-child {
    margin-bottom: 0;  /* Remove margin from last paragraph */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-content,
    .about-image {
        max-width: 500px;  /* Also increased mobile max-width to match */
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        padding: 0 1.5rem;
    }

    .about-image img {
        max-height: 450px;
    }
}

@media (max-width: 480px) {
    .about-wrapper {
        padding: 0 1rem;
    }
}

/* Add blinking cursor styles */
.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Shop/Checkout Styles */
.checkout-container {
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 0 24px;
}

.product-summary {
    background: #f7f7f9;
    padding: 40px;
    border-radius: 12px;
}

/* Modern form styling */
.form-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: #050505;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    font-size: 12px;  /* Made consistent with email size */
    font-family: 'Space Grotesk', Arial, sans-serif;
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6772e5;
    outline: none;
    box-shadow: 0 1px 3px 0 rgba(103,114,229,0.15);
}

/* Name fields grid */
.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Custom select styling */
.select-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.select-trigger {
    padding: 12px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: white;
    transition: border-color 0.15s ease;
    font-size: 14px;
    color: #050505;
}

.select-trigger:hover {
    border-color: #6772e5;
}

.select-count {
    background: #f7f7f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #697386;
}

.select-arrow {
    font-size: 12px;
    color: #697386;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(5, 5, 5, 0.1);
    padding: 8px 0;
}

.select-dropdown.active {
    display: block;
}

.select-options {
    max-height: 250px;
    overflow-y: auto;
}

.select-option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.15s ease;
    position: relative;
}

.select-option:hover {
    background-color: #f7f7f9;
}

/* Checkbox and Radio custom styling */
.select-option input[type="checkbox"],
.select-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #e3e8ee;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.15s ease;
}

.select-option input[type="checkbox"]:checked + .checkbox-custom {
    background: #6772e5;
    border-color: #6772e5;
}

.select-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.option-text {
    font-size: 14px;
    color: #050505;
}

/* Delivery options styling */
.checkbox-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;  /* Center the text */
    gap: 0.5rem;
    cursor: pointer;
    background-color: white;
    padding: 12px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    transition: border-color 0.15s ease;  /* Match photo field transition */
}

.checkbox-label:hover {
    border-color: #6772e5;
    background-color: #f7f7f9;
}

.checkbox-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Match the active/selected state with photo field */
.checkbox-label input[type="radio"]:checked + span {
    color: #050505;
}

/* City and Postal code group */
.city-postal-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.city-postal-group .form-group {
    margin-bottom: 0;
}

/* Help text and notices */
.help-text {
    display: block;
    font-size: 10px;  /* Changed from 12px */
    color: #697386;
    margin-top: 4px;
}

.price-notice {
    margin-top: 24px;
    font-size: 13px;
    color: #697386;
    text-align: center;
    font-style: italic;
}

.character-count {
    text-align: right;
    font-size: 10px;  /* Added to match help-text */
}

/* Button styling */
.form-button-container {
    margin-top: 32px;
}

.cta-button {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
    box-sizing: border-box; /* Ensure padding is included in height */
    width: 200px;
    background-color: #050505;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;  /* Changed from 12px to 14px */
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-family: 'Space Grotesk', Arial, sans-serif;
}

.cta-button:hover {
    background-color: #787878;
}

.cta-button:disabled {
    background-color: #787878;
    opacity: 0.5;
    cursor: not-allowed;
}

#totalPrice {
    font-size: 12px;
    font-weight: 500;
}

/* Format dropdown specific styles */
.format-dropdown {
    z-index: 999;
}

.format-dropdown .select-option {
    padding: 12px 16px;
}

.format-dropdown .option-text {
    font-size: 12px;
    color: #050505;
}

.format-price {
    background: #f7f7f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #697386;
}

/* Update image hover effects */
.boutique figure {
    position: relative;
    overflow: hidden;
    cursor: default; /* Change from pointer/zoom-in to default */
    margin: 0;
    border-radius: 4px;
}

.boutique figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), 
                filter 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    border-radius: 4px;
    cursor: default; /* Ensure cursor remains default on image too */
}

.boutique figure:hover img {
    transform: scale(1.15);
    filter: brightness(0.85);
}

.boutique figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, 
                rgba(5, 5, 5, 0.75) 0%,
                rgba(5, 5, 5, 0) 100%);
    color: white;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.boutique figure:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.boutique figure::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0);
    transition: background 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 4px;
}

.boutique figure:hover::after {
    background: rgba(5, 5, 5, 0.1);
}

/* Keep responsive styles */
@media (max-width: 480px) {
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .form-button-container {
        text-align: center;
    }
}

/* Update responsive styles to be more specific */
@media (max-width: 480px) {
    .form-section .cta-button { /* Only form buttons should be full width */
        width: 100%;
        text-align: center;
    }
}

/* Add new class for home page CTA */
.cta-button-home {
    display: inline-block;
    width: 200px;
    padding: 16px 32px;
    background-color: #050505;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Space Grotesk', Arial, sans-serif;
}

.cta-button-home:hover {
    background-color: #787878;
}

/* Update responsive styles for home CTA */
@media (max-width: 768px) {
    .cta-button-home {
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .cta-button-home {
        width: 80%;
        min-width: unset;
    }
}

/* Update responsive styles to maintain consistency */
@media (max-width: 768px) {
    .paper p,
    .about-content p {
        font-size: 0.875rem; /* Keep consistent at all breakpoints */
    }
}

/* Update select trigger text size */
.select-trigger .selected-text,
.select-trigger .selected-text-format {
    font-size: 12px;
    color: #050505;
}

/* Update dropdown option text size */
.select-option .option-text {
    font-size: 12px;
    color: #050505;
}

/* Update format dropdown specific styles */
.format-dropdown .option-text {
    font-size: 12px;
    color: #050505;
}

/* Update format price text */
.format-price {
    font-size: 12px;  /* Changed from 14px */
}

/* Update email input styles */
.form-group input[type="email"] {
    font-size: 12px;  /* Changed from 14px */
}

/* Update email placeholder */
.form-group input[type="email"]::placeholder {
    font-size: 12px;  /* Changed from 14px */
}

/* For older browsers */
.form-group input[type="email"]::-webkit-input-placeholder {
    font-size: 12px;
}
.form-group input[type="email"]::-moz-placeholder {
    font-size: 12px;
}
.form-group input[type="email"]:-ms-input-placeholder {
    font-size: 12px;
}

/* New photo-format grid styles */
.photo-format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.photo-item {
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    overflow: hidden;
}

.photo-preview {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.photo-details {
    padding: 1rem;
}

.photo-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.format-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.format-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border: 1px solid #e3e8ee;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.format-option:hover {
    background-color: #f7f7f9;
}

.format-option input[type="checkbox"] {
    margin-right: 0.5rem;
}

.format-price {
    color: #697386;
    font-size: 12px;
}

/* Add separator between different photos */
.option-separator {
    height: 1px;
    background: #e3e8ee;
    margin: 8px 0;
    opacity: 0.5;
}

/* Update select dropdown max height */
.select-dropdown {
    max-height: 400px;  /* Increased to show more options */
    overflow-y: auto;
}

/* Group hover effect */
.select-option {
    padding: 8px 12px;
}

.select-option:hover {
    background-color: #f7f7f9;
}

/* Add success animation styles */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-checkmark {
    display: none;
    color: white;
    opacity: 0;
}

.success-checkmark.animate {
    display: inline-block;
    animation: fadeIn 0.5s ease-out forwards;
}

.loading-spinner {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto; /* Center both vertically and horizontally */
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0.92); /* Keep the 8% reduction */
}

.loading-spinner.animate {
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

.cta-button.loading {
    background-color: #787878;
    pointer-events: none;
}

.cta-button.success {
    background-color: #4CAF50;
    pointer-events: none;
}

.button-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.button-text.hide {
    display: none;
}

/* Update animation styles */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

/* Update button styles to handle loading state */
.cta-button {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
    box-sizing: border-box; /* Ensure padding is included in height */
}

.button-text, 
.success-checkmark {
    width: 100%;
    text-align: center;
    position: relative;
}

/* Keep button width consistent during loading */
.cta-button.loading .button-text {
    visibility: hidden;
    opacity: 0;
}

.success-message {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #050505;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-message.show {
    opacity: 1;
}

.success-message p {
    margin: 4px 0;
    color: #050505;
}

/* Update mobile adjustments */
@media (max-width: 480px) {
    /* Make delivery options more compact */
    .checkbox-options {
        gap: 4px;
    }

    .checkbox-label {
        padding: 4px 12px; /* Increased horizontal padding */
        font-size: 10px;
        min-height: 24px; /* Reduced height */
        justify-content: flex-start; /* Align to start for better spacing */
    }

    .checkbox-label input[type="radio"] {
        width: 12px;
        height: 12px;
        margin-right: 8px; /* Increased space between radio and text */
    }

    .checkbox-label span {
        white-space: nowrap;
        font-weight: 400;
    }

    /* Center Vahritch title */
    .main-title {
        position: sticky;
        top: 0;
        background: #FEFCF5;
        z-index: 1000;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .main-title a {
        display: block;
        text-align: center;
    }

    /* Adjust header layout */
    .header-nav {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
        align-items: center; /* Center all header elements */
    }
}

@media (max-width: 480px) {
    /* Header modifications for mobile - apply to all pages */
    .sticky-header {
        position: relative; /* Remove sticky behavior on mobile */
        padding: 8px 0;
    }

    /* Keep only the title sticky */
    .main-title {
        position: sticky;
        top: 0;
        background: #FEFCF5;
        z-index: 1000;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .main-title a {
        display: block;
        text-align: center;
    }

    /* Adjust header layout */
    .header-nav {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
        align-items: center;
    }

    .profile-pic {
        order: 2; /* Move profile pic after title */
    }

    .nav-links {
        order: 3; /* Move nav links to bottom */
    }

    /* Hide back-to-top button on mobile */
    .back-to-top,
    .back-to-top.visible {  /* Override the visible class too */
        display: none !important;  /* Use !important to ensure it's hidden */
        opacity: 0;
        visibility: hidden;
    }

    /* Remove any existing back-to-top styles */
    .back-to-top img {
        display: none;
    }
}

/* Remove all back-to-top styles */
.back-to-top {
    display: none;
}

/* Remove any existing back-to-top styles */
.back-to-top img {
    display: none;
}

/* Remove any back-to-top styles from media queries */
@media (max-width: 480px) {
    .sticky-header {
        position: relative;
        padding: 8px 0;
        margin: 0;
    }

    .header-nav {
        height: auto;
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
        align-items: center;
    }

    .main-title {
        font-size: 2.5rem; /* Adjusted for mobile */
        position: sticky;
        top: 0;
        background: #FEFCF5;
        z-index: 1000;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .main-title a {
        display: block;
        text-align: center;
    }

    .profile-pic {
        order: 2;
        width: 60px;
        height: 60px;
    }
    
    .profile-pic img {
        width: 60px;
        height: 60px;
        max-height: 60px;
        transition: none;
        transform: none;
    }
}

/* Decorative floating images */
.decorative-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-image {
    position: absolute;
    opacity: 1;
    object-fit: contain;
    display: block;
    animation-duration: 18s; /* Increased from 12s to 18s for slower motion */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Position each image */
.hat-image {
    position: absolute;
    width: 96px;
    height: 96px;
    top: 20%;
    left: 60px;  /* Keep current position */
    z-index: 1;
    animation: float1 18s ease-in-out infinite;
}

.film-image {
    position: absolute;
    width: 77px;
    height: 77px;
    top: 55%;  /* Changed from 70% */
    right: 400px;  /* Changed from 80px */
    z-index: 1;
    animation: float2 18s ease-in-out infinite;
}

.frame-image {
    position: absolute;
    width: 96px;
    height: 96px;
    top: 55%;  /* Changed from 80% */
    left: 230px;  /* Changed from 80px */
    z-index: 1;
    animation: float3 18s ease-in-out infinite;
}

.camera-image {
    position: absolute;
    width: 77px;
    height: 77px;
    top: 15%;
    right: 60px;  /* Move to right side */
    z-index: 1;
    animation: float4 18s ease-in-out infinite;
}

/* Floating animations */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5px, -8px) rotate(-3deg); }
    50% { transform: translate(3px, -12px) rotate(3deg); }
    75% { transform: translate(-7px, -8px) rotate(-2deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-3px, 2px) rotate(-2deg); }
    50% { transform: translate(3px, -3px) rotate(2deg); }
    75% { transform: translate(-2px, 2px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(7px, -5px) rotate(3deg); }
    50% { transform: translate(-3px, -10px) rotate(-3deg); }
    75% { transform: translate(5px, -8px) rotate(2deg); }
}

@keyframes float4 {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-8px) translateX(4px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* Make boutique section relative for absolute positioning */
.boutique {
    position: relative;
    max-width: 1200px;
    margin: 16px auto;
    padding: 16px;
    min-height: 800px;
}

/* Ensure boutique content is above decorative images */
.boutique-items {
    position: relative;
    z-index: 5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-image {
        width: 72px;
    }
}

@media (max-width: 480px) {
    .floating-image {
        width: 60px;
    }
}

/* Hide decorative images on smaller screens */
@media (max-width: 1024px) {
    .decorative-images {
        display: none;
    }

    .paper {
        padding: 16px 40px;  /* Reduce padding when images are hidden */
        min-height: auto;    /* Allow height to adjust to content */
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .order {
        padding: 32px 16px;  /* Adjust padding for tablets */
    }

    .cta-button-home {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .order {
        padding: 24px 16px;  /* Further reduce padding for mobile */
    }

    .cta-button-home {
        width: 80%;
    }

    .paper {
        padding: 16px 20px;  /* Minimal padding on mobile */
    }
}

/* Projects Page Styles */
.projects-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: #f8f7e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.project-image {
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-info {
    padding: 20px;
    position: relative;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #162C25;
}

.project-info p {
    font-size: 16px;
    color: #5c5c5c;
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #e9e8d5;
    border-radius: 20px;
    font-size: 14px;
    color: #162C25;
    font-weight: 600;
}

/* Media Queries for Projects */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .project-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 200px;
    }
}

/* Development Message Styles */
.development-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    text-align: center;
    width: 100%;
}

.development-message p {
    font-size: 24px;
    color: #050505;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.development-camera {
    width: 76px; /* Reduced by 15% from 90px */
    height: auto;
    opacity: 1;
    margin-top: 30px;
}

/* Simplified dot animation using the cursor approach */
.dots {
    display: inline-block;
}

.dots span {
    opacity: 0;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

.dots span:nth-child(1) {
    animation-name: dotAnimate;
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-name: dotAnimate;
    animation-delay: 0.5s;
}

.dots span:nth-child(3) {
    animation-name: dotAnimate;
    animation-delay: 1s;
}

@keyframes dotAnimate {
    0%, 33% { opacity: 0; }
    34%, 100% { opacity: 1; }
}

.development-quote {
    font-size: 14px;
    color: #050505;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.4;
    position: relative;
    padding: 0 20px;
    font-style: italic;
}

.development-quote::before {
    content: """;
    font-size: 28px;
    position: absolute;
    left: 0;
    top: -10px;
    opacity: 0.3;
}

.development-quote::after {
    content: """;
    font-size: 28px;
    position: absolute;
    right: 0;
    bottom: -20px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .development-message p {
        font-size: 22px;
    }
    
    .development-camera {
        width: 61px; /* Reduced by 15% from 72px */
    }
    
    .development-quote {
        font-size: 14px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .development-message p {
        font-size: 18px;
    }
    
    .development-camera {
        width: 51px; /* Reduced by 15% from 60px */
    }
    
    .development-quote {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Title image styles */
.title-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-image {
    width: auto;
    height: auto;
    max-width: 61px;  /* Reduced by 10% from 68px */
    max-height: 110px;  /* Reduced by 10% from 122px */
    transform: scale(1);
}

@media (max-width: 768px) {
    .title-container {
        justify-content: center;
    }
    
    .title-image {
        max-width: 55px;  /* Reduced by 10% from 61px */
        max-height: 100px;  /* Reduced by 10% from 111px */
    }
}

@media (max-width: 480px) {
    .title-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .title-image {
        max-width: 49px;  /* Reduced by 10% from 54px */
        max-height: 88px;  /* Reduced by 10% from 98px */
    }
}