/*
Theme Name: D's Jewelry & Watch Repair
Theme URI: https://dsjewelryandwatchrepair.com
Author: D's Jewelry & Watch Repair
Author URI: https://www.facebook.com/DsJewelryandwatchrepair
Description: Custom single-page WordPress theme for D's Jewelry & Watch Repair, Grand Cayman.
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ds-jewelry-watch-repair
*/


  :root{
    --bg:#0c0a08;
    --panel:#161210;
    --panel-2:#1d1713;
    --gold:#c9a13b;
    --gold-light:#e8cd85;
    --cream:#f2e9d8;
    --muted:#a89a83;
    --line:rgba(201,161,59,0.25);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--cream);
    font-family:'Jost', sans-serif;
    font-weight:300;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3{
    font-family:'Cormorant Garamond', serif;
    font-weight:600;
    letter-spacing:0.01em;
  }
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1100px; margin:0 auto; padding:0 24px;}
  .eyebrow{
    text-transform:uppercase;
    letter-spacing:0.35em;
    font-size:0.72rem;
    color:var(--gold);
    font-weight:500;
  }

  /* ---------- Header ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(12,10,8,0.9);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px;
    position:relative;
    gap:16px;
  }
  .brand{display:flex; align-items:center; gap:16px;}
  .brand-logo{
    height:66px;
    width:auto;
    display:block;
    filter:drop-shadow(0 0 10px rgba(201,161,59,0.3));
  }
  nav.links{display:flex; gap:34px; font-size:0.85rem; letter-spacing:0.05em;}
  nav.links a{color:var(--muted); transition:color .2s;}
  nav.links a:hover{color:var(--gold-light);}
  .nav-cta{
    border:1px solid var(--gold); color:var(--gold-light);
    padding:9px 20px; font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase;
    transition:background .2s, color .2s;
  }
  .nav-cta:hover{background:var(--gold); color:#151007;}
  .menu-btn{
    display:none; flex-direction:column; justify-content:center; gap:5px;
    width:32px; height:32px; background:none; border:none; cursor:pointer;
    flex-shrink:0;
  }
  .menu-btn span{width:24px; height:1.5px; background:var(--gold); transition:transform .25s, opacity .25s;}
  .nav.menu-open .menu-btn span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
  .nav.menu-open .menu-btn span:nth-child(2){opacity:0;}
  .nav.menu-open .menu-btn span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    padding:110px 24px 100px;
    text-align:center;
    background:
      radial-gradient(ellipse at 50% -10%, rgba(201,161,59,0.14), transparent 55%),
      var(--bg);
    overflow:hidden;
  }
  .hero::before, .hero::after{
    content:'';
    position:absolute; top:50%; left:50%;
    width:1px; height:340px;
    background:linear-gradient(var(--line), transparent);
    opacity:0.6;
  }
  .divider{
    display:flex; align-items:center; justify-content:center; gap:14px;
    margin-bottom:34px; color:var(--gold);
  }
  .divider .ln{width:56px; height:1px; background:var(--line);}
  .divider svg{width:12px; height:12px;}
  .hero h1{
    font-size:clamp(2.6rem, 7vw, 4.6rem);
    color:var(--cream);
    line-height:1.05;
  }
  .hero h1 em{
    font-style:italic;
    color:var(--gold-light);
    display:block;
  }
  .hero p.tag{
    margin:26px auto 0;
    max-width:480px;
    color:var(--muted);
    font-size:1.02rem;
    letter-spacing:0.03em;
  }
  .hero-actions{
    display:flex; gap:18px; justify-content:center; flex-wrap:wrap;
    margin-top:44px;
  }
  .btn-solid, .btn-outline{
    padding:16px 34px;
    font-size:0.82rem;
    letter-spacing:0.14em;
    text-transform:uppercase;
    display:inline-block;
    transition:transform .2s, background .2s, color .2s;
  }
  .btn-solid{
    background:linear-gradient(135deg, var(--gold-light), var(--gold));
    color:#191207;
    font-weight:500;
  }
  .btn-solid:hover{transform:translateY(-2px);}
  .btn-outline{
    border:1px solid var(--gold);
    color:var(--gold-light);
  }
  .btn-outline:hover{background:rgba(201,161,59,0.1); transform:translateY(-2px);}

  /* ---------- Trust strip ---------- */
  .trust{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:22px 0;
  }
  .trust .wrap{
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px;
    text-align:center;
  }
  .trust-item{flex:1; min-width:140px; color:var(--muted); font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase;}
  .trust-item strong{display:block; color:var(--gold-light); font-family:'Cormorant Garamond', serif; font-size:1.6rem; font-weight:600; letter-spacing:0; text-transform:none; margin-bottom:4px;}

  /* ---------- Section shells ---------- */
  section{padding:100px 0;}
  .section-head{text-align:center; max-width:600px; margin:0 auto 60px;}
  .section-head h2{font-size:clamp(2rem, 4vw, 2.7rem); color:var(--cream); margin-top:14px;}
  .section-head p{color:var(--muted); margin-top:16px; font-size:0.98rem;}

  /* ---------- Services ---------- */
  .services{background:var(--panel);}
  .grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .card{
    background:var(--panel);
    padding:44px 34px;
    transition:background .25s;
  }
  .card:hover{background:var(--panel-2);}
  .card .num{color:var(--gold); font-family:'Cormorant Garamond', serif; font-size:0.95rem; letter-spacing:0.15em;}
  .card h3{margin-top:18px; font-size:1.5rem; color:var(--cream);}
  .card p{margin-top:12px; color:var(--muted); font-size:0.92rem;}

  /* ---------- Retail ---------- */
  .retail{background:var(--panel);}
  .retail-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:28px;
  }
  .retail-card{
    border:1px solid var(--line);
    background:var(--panel-2);
    overflow:hidden;
  }
  .retail-image{
    aspect-ratio:4/3;
    min-height:220px;
    background-size:cover;
    background-position:center;
    background-color:var(--bg);
  }
  .retail-info{padding:28px 30px;}
  .retail-tag{
    display:inline-block;
    border:1px solid var(--gold);
    color:var(--gold-light);
    font-size:0.68rem;
    letter-spacing:0.14em;
    text-transform:uppercase;
    padding:5px 12px;
    margin-bottom:14px;
  }
  .retail-info h3{font-size:1.4rem; color:var(--cream); margin-bottom:10px;}
  .retail-info p{color:var(--muted); font-size:0.92rem;}
  .retail-note{
    text-align:center;
    color:var(--muted);
    font-size:0.88rem;
    margin-top:40px;
  }

  /* ---------- About ---------- */
  .about .wrap{
    display:grid;
    grid-template-columns:1fr;
    gap:44px;
    align-items:center;
  }
  .about-visual, .about-gallery{
    max-width:640px;
    width:100%;
    margin:0 auto;
  }
  .about-visual{
    aspect-ratio:4/5;
    border:1px solid var(--line);
    position:relative;
    display:flex; align-items:center; justify-content:center;
    background:
      radial-gradient(circle at 50% 40%, rgba(201,161,59,0.12), transparent 60%),
      var(--panel);
  }
  .about-visual svg{width:46%; height:46%; opacity:0.9;}
  .about-visual::before{
    content:''; position:absolute; inset:18px; border:1px solid var(--line);
  }

  .about-gallery{
    aspect-ratio:3/2;
    min-height:260px;
    border:1px solid var(--line);
    position:relative;
    overflow:hidden;
    background:var(--panel);
  }
  .about-gallery::before{
    content:'';
    position:absolute; inset:18px;
    border:1px solid rgba(201,161,59,0.4);
    z-index:2;
    pointer-events:none;
  }
  .gallery-slide{
    position:absolute; inset:0;
    background-size:cover;
    background-position:center;
    background-color:var(--panel-2);
    opacity:0;
    transition:opacity 1.4s ease;
  }
  .gallery-slide.active{opacity:1;}
  .about-gallery .gallery-dots{
    position:absolute; left:0; right:0; bottom:16px;
    display:flex; justify-content:center; gap:8px;
    z-index:3;
  }
  .g-dot{
    width:6px; height:6px; border-radius:50%;
    background:rgba(242,233,216,0.35);
    transition:background .3s, transform .3s;
  }
  .g-dot.active{background:var(--gold-light); transform:scale(1.3);}
  .about-copy .eyebrow{margin-bottom:16px;}
  .about-copy h2{font-size:clamp(2rem,4vw,2.6rem); margin-bottom:22px;}
  .about-copy p{color:var(--muted); margin-bottom:18px; font-size:0.98rem;}
  .about-list{margin-top:28px; display:flex; flex-direction:column; gap:14px;}
  .about-list div{display:flex; gap:14px; align-items:flex-start; font-size:0.92rem; color:var(--cream);}
  .about-list svg{flex-shrink:0; width:16px; height:16px; margin-top:4px; color:var(--gold);}

  .values-block{margin-top:56px;}
  .value-item{margin-bottom:42px;}
  .value-item:last-child{margin-bottom:0;}
  .value-item h3{
    font-family:'Cormorant Garamond', serif;
    font-weight:700;
    font-size:1.7rem;
    color:var(--gold-light);
    letter-spacing:0.01em;
    margin-bottom:14px;
  }
  .value-item p{
    font-family:'Dancing Script', cursive;
    font-weight:600;
    font-size:1.5rem;
    line-height:1.5;
    color:var(--cream);
  }
  @media (max-width:600px){
    .value-item h3{font-size:1.45rem;}
    .value-item p{font-size:1.25rem;}
  }

  /* ---------- Contact ---------- */
  .contact{background:var(--panel); border-top:1px solid var(--line);}
  .contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    border:1px solid var(--line);
    background:var(--panel-2);
  }
  .contact-info{
    padding:56px 48px;
    border-right:1px solid var(--line);
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .info-row{
    display:flex; gap:20px; align-items:flex-start;
    padding:20px 0;
    border-bottom:1px solid var(--line);
  }
  .info-row:first-child{padding-top:0;}
  .info-row:last-child{padding-bottom:0; border-bottom:none;}
  .info-icon{
    width:42px; height:42px; border:1px solid var(--gold); border-radius:50%;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .info-icon svg{width:18px; height:18px; color:var(--gold-light);}
  .info-row .info-body{padding-top:2px;}
  .info-row h4{font-family:'Jost',sans-serif; font-weight:500; letter-spacing:0.08em; text-transform:uppercase; font-size:0.78rem; color:var(--gold); margin-bottom:6px;}
  .info-row p{color:var(--cream); font-size:1rem; line-height:1.5;}
  .info-row p + p:not(.small){margin-top:2px;}
  .info-row p a{color:inherit; border-bottom:1px solid var(--line); transition:border-color .2s;}
  .info-row p a:hover{border-color:var(--gold);}
  .info-row p.small{color:var(--muted); font-size:0.85rem; margin-top:2px;}
  .info-row p.small a{color:var(--gold-light);}

  .contact-form-wrap{
    padding:56px 48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  form{display:flex; flex-direction:column; gap:20px;}
  .field{display:flex; flex-direction:column; gap:8px;}
  .field label{font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted);}
  .field input, .field textarea{
    background:transparent;
    border:none; border-bottom:1px solid var(--line);
    color:var(--cream);
    font-family:'Jost',sans-serif; font-size:0.95rem;
    padding:10px 2px;
    outline:none;
    transition:border-color .2s;
  }
  .field input:focus, .field textarea:focus{border-color:var(--gold);}
  .field textarea{resize:vertical; min-height:90px;}
  form .btn-solid{border:none; cursor:pointer; margin-top:8px; align-self:flex-start;}

  .map-frame{
    margin-top:1px;
    height:320px;
    border:1px solid var(--line);
    border-top:none;
    filter:grayscale(0.4) contrast(1.05);
  }

  /* ---------- Footer ---------- */
  footer{padding:40px 0; border-top:1px solid var(--line);}
  footer .wrap{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  }
  footer p{color:var(--muted); font-size:0.8rem; letter-spacing:0.03em;}
  footer .fbrand{font-family:'Cormorant Garamond', serif; color:var(--gold-light); font-size:1rem;}
  .social{display:flex; gap:12px;}
  .social a{
    width:38px; height:38px; border:1px solid var(--line); border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:var(--gold-light); transition:border-color .2s, background .2s, transform .2s;
  }
  .social a:hover{border-color:var(--gold); background:rgba(201,161,59,0.1); transform:translateY(-2px);}
  .social a svg{width:17px; height:17px;}

  @media (max-width: 860px){
    .nav{padding:14px 20px;}
    .brand-logo{height:56px;}
    .nav-cta{padding:8px 14px; font-size:0.72rem;}

    nav.links{
      display:flex; flex-direction:column;
      position:absolute; top:100%; left:0; right:0;
      background:var(--bg);
      border-bottom:1px solid var(--line);
      padding:8px 24px 24px;
      gap:4px;
      max-height:0;
      overflow:hidden;
      opacity:0;
      pointer-events:none;
      transition:max-height .3s ease, opacity .2s ease;
    }
    .nav.menu-open nav.links{
      max-height:260px;
      opacity:1;
      pointer-events:auto;
    }
    nav.links a{padding:12px 0; border-bottom:1px solid var(--line); font-size:0.95rem;}
    nav.links a:last-child{border-bottom:none;}
    .menu-btn{display:flex;}

    .hero{padding:80px 24px 64px;}
    .hero::before, .hero::after{height:220px;}
    section{padding:70px 0;}
    .section-head{margin-bottom:44px;}

    .grid{grid-template-columns:1fr;}
    .retail-grid{grid-template-columns:1fr;}
    .about-visual, .about-gallery{max-width:400px;}
    .contact-grid{grid-template-columns:1fr;}
    .contact-info{border-right:none; border-bottom:1px solid var(--line); padding:40px 28px;}
    .contact-form-wrap{padding:40px 28px;}
  }

  @media (max-width: 520px){
    .wrap{padding:0 18px;}
    .field input, .field textarea{font-size:16px;}
    .brand-logo{height:44px;}
    .nav-cta{font-size:0; padding:9px; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;}
    .nav-cta::before{
      content:'';
      width:16px; height:16px;
      background:var(--gold-light);
      -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z"/></svg>') no-repeat center / contain;
      mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z"/></svg>') no-repeat center / contain;
    }
    .nav-cta:hover{background:var(--gold);}

    .hero{padding:64px 18px 52px;}
    .hero p.tag{font-size:0.94rem;}
    .btn-solid, .btn-outline{padding:14px 24px; font-size:0.76rem; width:100%; text-align:center;}
    .hero-actions{flex-direction:column; align-items:stretch; gap:12px;}

    section{padding:56px 0;}
    .trust{padding:18px 0;}
    .trust .wrap{gap:20px 12px;}
    .trust-item{min-width:42%; font-size:0.68rem;}
    .trust-item strong{font-size:1.3rem;}

    .card{padding:32px 24px;}
    .contact-info, .contact-form-wrap{padding:32px 20px;}
    .info-row{gap:14px;}
    .info-icon{width:36px; height:36px;}
    .info-icon svg{width:15px; height:15px;}
    .map-frame{height:240px;}

    footer .wrap{flex-direction:column; text-align:center;}
  }

  @media (prefers-reduced-motion: reduce){
    *{transition:none !important;}
  }
