:root {
    --bg: #f7f7f7;
    --text: #1e1e1e;
    --brand: #c8a96a;
    --border: #e6e6e6;
}
  
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}
  
/* === NAVIGATION === */
.nav {
    background: rgba(20, 22, 28, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: 1rem;
}
.logo {
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: 1.2rem;
    color: #fff;
}
.nav-links {
    display: flex;
    align-items: center;
}
  
/* === BOOK BUTTON (Refined white outline) === */
.nav-book {
    padding: 0.55rem 1.2rem;
    border: 2.25px solid #ffffff !important;
    outline: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease-in-out;
}
.nav-book:hover {
    background: #fff;
    color: #000;
    transform: translateY(-1px);
    border-color: #fff !important;
    outline: none;
}
  
/* === HERO SECTION === */
.hero {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem;
}

/* HERO LAYOUT */
.hero-layout {
    display: grid;
    grid-template-columns: 420px 1fr; /* base desktop/tablet */
    align-items: center;
    gap: 2rem;
}

.hero-image-left {
    width: 100%;
    max-width: 420px; /* base desktop/tablet */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.hero-copy {
    text-align: center;
}

/* tablet/desktop sizing */
@media (min-width: 768px) {        
    .hero-layout { grid-template-columns: 520px 1fr; }
    .hero-image-left { max-width: 520px; }
}
@media (min-width: 1024px) {       
    .hero-layout { grid-template-columns: 560px 1fr; }
    .hero-image-left { max-width: 560px; }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}
.hero p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.8rem;
}
  
/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    border: 1px solid var(--text);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn.primary {
    background: var(--text);
    color: #fff;
}
.btn.primary:hover {
    background: var(--brand);
    color: #000;
    border-color: var(--brand);
}
  
/* === WHATSAPP BUTTON === */
.btn.whatsapp-btn {
    display: inline-block;
    margin-top: 1rem;
    border: 1px solid var(--text);
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    background: var(--text);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn.whatsapp-btn i {
    margin-left: 4px;
    font-size: 1.1em;
    vertical-align: middle;
    transition: color 0.2s ease;
    color: #fff;
}
.btn.whatsapp-btn:hover {
    background: var(--brand);
    color: #000;
    border-color: var(--brand);
    transform: translateY(-1px);
}
.btn.whatsapp-btn:hover i {
    color: #000;
}
  
/* === SECTIONS === */
.section {
    padding: 3rem 1rem;
}
.section.alt {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
  
/* === GALLERY === */
#gallery h2 {
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 1.25rem;
    font-weight: 700;
}
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Only craft3 behaves differently on tablet/desktop to show all text */
@media (min-width: 768px) {
  .gallery .gallery-item-contain {
    object-fit: contain;
    background: #fff;
  }
}

@media (min-width: 768px) {
    .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .section { padding: 2.6rem 1rem; }
}

/* === ✅ MOBILE LAYOUT & SCALING UPDATE === */
@media (max-width: 767px) {
    .nav-inner { 
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-layout { grid-template-columns: 1fr; }
    .hero-image-left {
        max-width: 95%;
        margin: 0 auto;
    }

    /* ✅ Updated scaling for Crafted Moments */
    .gallery {
        width: min(420px, 92%);
        margin: 0 auto;
    }
    .gallery img {
        width: 75%;
        max-width: 300px;
        margin: 0 auto;
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
    }
}
  
/* === CONTACT FORM === */
.contact-section {
    background: #fff;
    padding: 3rem 1rem;
    border-top: 1px solid var(--border);
}
.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
}
label {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #333;
}
input,
textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}
input:focus,
textarea:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.2);
}
button.btn.primary {
    margin-top: 1rem;
    cursor: pointer;
}
  
/* === FOOTER === */
footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}
  
/* === UTILITIES === */
.hidden {
    display: none;
}

/* Keep previous small-screen text tweaks */
@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .hero p  { font-size: 1rem; }
}
