  :root {
      --primary: #c6a43f;
      --primary-light: #e5c87b;
      --primary-dark: #9e832c;
      --accent: #1e3a5f;
      --accent-light: #2b4b78;
      --accent-dark: #0f2940;
      --gold: #d4af37;
      --gold-light: #f5e7c8;
      --gold-dark: #b8960c;
      --dark: #1e262f;
      --cream: #f8f5f0;
      --shadow-md: 0 15px 45px rgba(0,0,0,0.05);
      --shadow-lg: 0 25px 70px rgba(0,0,0,0.08);
      --shadow-gold: 0 15px 35px rgba(212, 175, 55, 0.15);
      --nav-height: 70px;
    }

    * { margin:0; padding:0; box-sizing:border-box; }
    
    body {
      font-family: 'Montserrat', sans-serif;
      background: var(--cream);
      color: var(--dark);
      line-height: 1.8;
      font-weight: 300;
      overflow-x: hidden;
      width: 100%;
    }
    
    h1, h2, h3 {
      font-family: 'Playfair Display', 'Cormorant Garamond', serif;
      font-weight: 600;
      letter-spacing: 0.5px;
    }
    
    .header {
      background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
      color: white;
      padding: 80px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    
    .header::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 80%;
      height: 200%;
      background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
      border-radius: 50%;
      animation: pulse 8s infinite;
    }
    
    .header::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    }
    
    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.1); opacity: 0.8; }
    }
    
    .header h1 { 
      font-size: clamp(2.5rem, 8vw, 4.5rem); 
      margin-bottom: 10px;
      text-shadow: 0 2px 20px rgba(0,0,0,0.2);
      animation: fadeInDown 1s ease;
      padding: 0 15px;
    }
    
    .header p {
      font-size: clamp(1.1rem, 4vw, 1.5rem);
      opacity: 0.9;
      margin-bottom: 30px;
      font-weight: 300;
      animation: fadeInUp 1s ease;
      padding: 0 15px;
    }
    
    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .back-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: white;
      text-decoration: none;
      border: 2px solid var(--gold);
      padding: 12px 35px;
      border-radius: 60px;
      transition: all 0.4s ease;
      font-weight: 500;
      background: transparent;
      position: relative;
      z-index: 10;
      pointer-events: auto;
      font-size: 1rem;
      letter-spacing: 1px;
      animation: fadeIn 1.5s ease;
    }
    
    .back-btn i {
      font-size: 1rem;
      transition: transform 0.3s ease;
    }
    
    .back-btn:hover {
      background: var(--gold);
      color: var(--accent-dark);
      transform: translateY(-5px) scale(1.02);
      box-shadow: var(--shadow-gold);
      border-color: transparent;
    }
    
    .back-btn:hover i {
      transform: translateX(-5px);
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .container { 
      max-width: 1400px; 
      margin: 0 auto; 
      padding: 40px 20px; 
    }
    
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin: 40px 0;
    }
    
    .card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow-md);
      cursor: pointer;
      transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 1px solid rgba(212,175,55,0.1);
      position: relative;
    }
    
    .card:hover {
      transform: translateY(-15px) scale(1.02);
      box-shadow: var(--shadow-lg), var(--shadow-gold);
      border-color: var(--gold);
    }
    
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
      transform: translateX(-100%);
      transition: transform 0.6s ease;
      z-index: 2;
    }
    
    .card:hover::before {
      transform: translateX(0);
    }
    
    .card::after {
      content: '✧';
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 2rem;
      color: var(--gold);
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: 2;
    }
    
    .card:hover::after {
      opacity: 0.5;
    }
    
    .card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-bottom: 3px solid transparent;
      transition: transform 0.8s ease, border-color 0.4s ease;
    }
    
    .card:hover img {
      transform: scale(1.08);
      border-color: var(--gold);
    }
    
    .card p {
      padding: 20px;
      text-align: center;
      font-weight: 500;
      color: var(--accent);
      font-size: 0.95rem;
      background: white;
      transition: all 0.4s ease;
      position: relative;
      z-index: 2;
    }
    
    .card:hover p {
      background: linear-gradient(135deg, white, var(--gold-light));
      color: var(--accent-dark);
    }
    
    .btn-center { 
      text-align: center; 
      margin: 40px 0 20px; 
    }
    
    .btn {
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      color: var(--accent-dark);
      padding: 15px 45px;
      text-decoration: none;
      border-radius: 50px;
      display: inline-block;
      font-weight: 500;
      transition: all 0.4s ease;
      box-shadow: var(--shadow-gold);
      text-transform: uppercase;
      letter-spacing: 1px;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      font-size: 1rem;
    }
    
    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      transition: left 0.6s ease;
    }
    
    .btn:hover::before {
      left: 100%;
    }
    
    .btn:hover {
      background: linear-gradient(135deg, var(--gold-dark), var(--gold));
      transform: translateY(-5px) scale(1.02);
      box-shadow: 0 20px 40px rgba(212,175,55,0.4);
    }
    
    .btn:active {
      transform: translateY(-2px);
    }
    
    footer {
      background: linear-gradient(135deg, var(--accent-dark) 0%, var(--dark) 100%);
      color: white;
      text-align: center;
      padding: 50px 20px;
      margin-top: 80px;
      position: relative;
      overflow: hidden;
    }
    
    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    }
    
    footer::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 80%, rgba(212,175,55,0.05) 0%, transparent 50%);
      pointer-events: none;
    }
    
    footer p {
      font-size: clamp(0.9rem, 3vw, 1rem);
      position: relative;
      z-index: 2;
    }
    
    .progress-bar {
      position: fixed;
      top: 0; 
      left: 0;
      width: 0%;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), var(--gold-light));
      z-index: 999;
      transition: width 0.1s ease;
    }
    
    .scroll-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-dark);
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: var(--shadow-gold);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 998;
      border: none;
      text-decoration: none;
    }
    
    .scroll-top.show {
      opacity: 1;
      visibility: visible;
    }
    
    .scroll-top:hover {
      transform: translateY(-5px) scale(1.1);
      box-shadow: 0 15px 30px rgba(212,175,55,0.4);
    }
    
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.98);
      backdrop-filter: blur(15px);
      z-index: 1000;
      text-align: center;
      padding: 20px;
      animation: modalFadeIn 0.3s ease;
      overflow: hidden;
    }
    
    @keyframes modalFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .modal-content-wrapper {
      width: 100%;
      height: calc(100% - 80px);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      margin-top: 40px;
    }
    
    .modal-content {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 15px;
      box-shadow: 0 0 40px rgba(212,175,55,0.3);
      transition: transform 0.1s ease;
      cursor: zoom-in;
      transform-origin: center center;
      will-change: transform;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
    }
    
    .modal-content.zoomed {
      cursor: grab;
    }
    
    .modal-content.zoomed:active {
      cursor: grabbing;
    }
    
    .modal .close {
      position: absolute;
      top: 15px;
      right: 25px;
      color: var(--gold);
      font-size: 50px;
      cursor: pointer;
      transition: transform 0.3s ease;
      text-shadow: 0 0 20px rgba(212,175,55,0.5);
      z-index: 1001;
      font-weight: 300;
      line-height: 1;
    }
    
    .modal .close:hover {
      transform: rotate(90deg) scale(1.1);
      color: white;
    }
    

    .zoom-controls {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(10px);
      padding: 12px 20px;
      border-radius: 50px;
      border: 1px solid var(--gold);
      box-shadow: var(--shadow-gold);
      z-index: 1002;
      align-items: center;
    }
    
    .zoom-btn {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      border: none;
      color: var(--accent-dark);
      font-size: 1.3rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 5px 15px rgba(212,175,55,0.3);
    }
    
    .zoom-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 10px 25px rgba(212,175,55,0.5);
    }
    
    .zoom-btn.reset {
      width: auto;
      padding: 0 20px;
      border-radius: 30px;
      gap: 5px;
      font-size: 1rem;
    }
    
    .zoom-btn.reset i {
      font-size: 0.9rem;
    }
    
    .zoom-level {
      color: white;
      font-size: 0.9rem;
      min-width: 60px;
      text-align: center;
      font-weight: 500;
      letter-spacing: 0.5px;
    }


    @media (max-width: 1024px) {
      .container { padding: 30px 20px; }
      .grid { gap: 25px; }
    }
    
    @media (max-width: 768px) {
      .header { 
        padding: 60px 15px; 
      }
      
      .header h1 { 
        font-size: 2.5rem; 
      }
      
      .back-btn { 
        padding: 10px 30px; 
        font-size: 0.95rem;
      }
      
      .grid { 
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
      }
      
      .card img { 
        height: 250px; 
      }
      
      .card p { 
        padding: 15px; 
        font-size: 0.9rem;
      }
      
      .btn { 
        padding: 12px 35px; 
        font-size: 0.95rem;
      }
      
      .modal-content-wrapper {
        height: calc(100% - 100px);
        margin-top: 50px;
      }
      
      .modal .close {
        font-size: 45px;
        top: 10px;
        right: 20px;
      }
      
      .zoom-controls {
        bottom: 20px;
        padding: 10px 15px;
        gap: 10px;
      }
      
      .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }
      
      .zoom-btn.reset {
        padding: 0 15px;
        font-size: 0.9rem;
      }
      
      .zoom-level {
        font-size: 0.8rem;
        min-width: 50px;
      }
      

      .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
      }
    }
    
    @media (max-width: 480px) {
      .header { 
        padding: 50px 10px; 
      }
      
      .header h1 { 
        font-size: 2rem; 
      }
      
      .header p { 
        font-size: 1rem; 
        margin-bottom: 25px;
      }
      
      .back-btn { 
        padding: 8px 25px; 
        font-size: 0.9rem;
        gap: 8px;
      }
      
      .back-btn i { 
        font-size: 0.9rem;
      }
      
      .container { 
        padding: 20px 15px; 
      }
      
      .grid { 
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .card img { 
        height: 220px; 
      }
      
      .card p { 
        font-size: 0.85rem;
        padding: 12px;
      }
      
      .btn { 
        padding: 10px 30px; 
        font-size: 0.9rem;
        white-space: normal;
      }
      
      footer { 
        padding: 40px 15px; 
        margin-top: 60px;
      }
      
      .modal-content-wrapper {
        height: calc(100% - 90px);
        margin-top: 45px;
      }
      
      .modal .close { 
        font-size: 40px; 
        top: 10px; 
        right: 15px; 
      }
      
      .zoom-controls {
        bottom: 15px;
        padding: 8px 12px;
        gap: 8px;
      }
      
      .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
      }
      
      .zoom-btn.reset {
        padding: 0 12px;
        font-size: 0.8rem;
      }
      
      .zoom-level {
        font-size: 0.75rem;
        min-width: 40px;
      }
      
      .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
      }
    }
    
    @media (max-width: 360px) {
      .header h1 { font-size: 1.8rem; }
      .card img { height: 200px; }
      .btn { padding: 8px 25px; }
    }
    
 
    @media (max-height: 500px) and (orientation: landscape) {
      .header { padding: 30px 10px; }
      .card img { height: 180px; }
      
      .modal-content-wrapper {
        height: calc(100% - 70px);
        margin-top: 35px;
      }
      
      .modal .close { 
        top: 5px; 
        right: 15px; 
        font-size: 35px;
      }
      
      .zoom-controls {
        bottom: 10px;
        padding: 5px 10px;
      }
      
      .zoom-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
      }
      
      .scroll-top {
        bottom: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
      }
    }