/* Simple contact form styles (no floating labels) */
.simple-form {
    max-width: 420px;
    margin: 2.5rem auto 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(44,62,80,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.simple-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}
.simple-form label {
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
}
.simple-form input,
.simple-form textarea,
.simple-form select {
    font-size: 1rem;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    color: var(--text-color);
    transition: border 0.2s;
    outline: none;
    margin-bottom: 0.1rem;
}
.simple-form input:focus,
.simple-form textarea:focus,
.simple-form select:focus {
    border-color: var(--secondary-color);
    background: #fff;
}
.simple-form textarea {
    min-height: 110px;
    resize: vertical;
}
.simple-form .actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.5rem;
}
.simple-form .btn.primary {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.simple-form .btn.primary:hover {
    background: #217dbb;
}
.simple-form .btn.ghost {
    background: transparent;
    color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color);
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.simple-form .btn.ghost:hover {
    background: var(--secondary-color);
    color: #fff;
}
.simple-form .status {
    min-height: 1.2rem;
    margin-top: 0.7rem;
    font-size: 1rem;
}
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --background-color: #f5f6fa;
    --text-color: #2c3e50;
    --footer-bg: #34495e;
    --content-max: 1200px;
}

/* Base */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
}

.grid-container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

/* Container utilities */
main {
    padding: 2rem;
    max-width: var(--content-max);
    margin: 0 auto;
}

/* Header and Navigation */
header {
    background-color: var(--primary-color);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap; /* allow items to wrap on narrow screens */
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    background: rgba(255,255,255,0.03);
}

/* Hero */
.hero {
    text-align: center;
    padding: clamp(2rem, 6vw, 6rem) 1rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4.5vw, 3rem); /* fluid heading */
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1.25rem;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 1.25rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.required::after {
    content: " *";
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-group textarea {
    min-height: 140px;
}

button[type="submit"] {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.7rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.08s ease;
}

button[type="submit"]:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Responsive tweaks */
iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

/* Product/featured grid helper (if used) */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: start;
}

/* product card styles */
.product-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
}
.product-title {
    font-size: 1rem;
    margin: 0.25rem 0 0;
}
.product-price {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0.15rem 0 0.5rem;
}
.product-actions { margin-top: auto; }

.product-row { max-width: var(--content-max); margin: 1.5rem auto; padding: 0 1rem; }

@media (max-width: 520px) {
    .product-image { height: 130px; }
}

/* Media queries */
@media (max-width: 900px) {
    :root { --content-max: 1000px; }
    .nav-menu { gap: 0.9rem; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
    main { padding: 1rem; }
    .footer-content { padding: 0 0.75rem; gap: 1rem; }
    iframe { height: 180px; }
}

@media (max-width: 420px) {
    .nav-menu {
        justify-content: center;
    }
    .hero { padding: 1.5rem 0.75rem; }
    iframe { height: 160px; }
}

/* Small utility */
.sr-only { /* accessible hidden */
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Contact form (from previous csss.css) - integrated into main stylesheet */
.page-bg {
    background: linear-gradient(180deg, #f7f9fb 0%, var(--background-color) 100%);
    padding: 3rem 0 4rem;
}
.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 1rem;
}
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(20,20,30,0.06);
    padding: 2rem;
}
.card-hero h1 {
    margin: 0 0 .25rem 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.muted { color: #6b7280; margin-bottom:6px; }
.inspired { font-size: 0.85rem; color: #9ca3af; margin-top:6px; }

.contact-form { margin-top: 1rem; }
.contact-form .row { display: flex; gap: 1rem; }
.contact-form .row.small-gutter { gap: 0.6rem; }
.field { position: relative; flex: 1; }
.field.full { width: 100%; }
.field input, .field textarea, .select select {
    width: 100%;
    padding: 16px 12px 16px 12px;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    box-sizing: border-box;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .label {
    position: absolute;
    left: 14px;
    top: 16px;
    pointer-events: none;
    color: #6b7280;
    background: white;
    padding: 0 4px;
    font-size: 1rem;
    transition: transform 160ms cubic-bezier(.4,0,.2,1), font-size 160ms cubic-bezier(.4,0,.2,1), color 160ms;
    transform-origin: left top;
    z-index: 2;
}
.field.focused .label,
.field.focused .label,
.field input:not(:placeholder-shown) + .label,
.field textarea:not(:placeholder-shown) + .label,
.field input:focus + .label,
.field textarea:focus + .label {
    transform: translateY(-26px) scale(0.85);
    color: var(--secondary-color);
    background: white;
    font-size: 0.92rem;
}
.input-border { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; border-radius: 2px; }
.field.focused .input-border { background: var(--secondary-color); }

.checkbox { display:flex; align-items:center; gap:0.5rem; }
.select select { appearance: none; padding-right: 2rem; }

.actions { display:flex; gap: 0.6rem; margin-top: 1rem; }
.btn { padding: 0.6rem 1rem; border-radius: 8px; cursor: pointer; border: 1px solid rgba(0,0,0,0.06); }
.btn.primary { background: var(--secondary-color); color: #fff; border-color: transparent; }
.btn.ghost { background: transparent; border-color: #e6e8eb; }

.status { margin-top: 0.8rem; min-height: 1.1rem; }
.status.sending { color: #0ea5a4; }
.status.error { color: var(--accent-color); }
.status.success { color: #10b981; }
.floating-shapes { position: absolute; right: -40px; top: -20px; pointer-events: none; }
.floating-shapes .shape { display:block; width:72px; height:72px; border-radius:8px; box-shadow: 0 6px 18px rgba(20,20,30,0.06); opacity: 0.06; background: #111; margin-bottom:12px; }
.floating-shapes .s1 { transform: rotate(12deg); }
.floating-shapes .s2 { transform: rotate(-12deg); width:48px; height:48px; }
.floating-shapes .s3 { transform: rotate(6deg); width:32px; height:32px; }

/* Responsive */
@media (max-width: 860px) {
    .contact-form .row { flex-direction: column; }
    .floating-shapes { display:none; }
}

@media (max-width: 420px) {
    .card { padding: 1rem; }
    .card-hero h1 { font-size: 1.3rem; }
}

/* New: wireframe-inspired components */
.page-title {
    max-width: var(--content-max);
    margin: 1.25rem auto;
    padding: 1rem;
}
.page-title .title-inner {
    border: 2px solid rgba(0,0,0,0.12);
    background: white;
    padding: 2rem 1rem;
    text-align: center;
}
.page-title h1 { margin: 0; font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 2rem); }

.thin-bar {
    height: 36px;
    max-width: var(--content-max);
    margin: 0.5rem auto;
    border: 1px solid rgba(0,0,0,0.12);
    background: linear-gradient(90deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01));
}

/* Showcase layout (index) */
.showcase {
    display: grid;
    grid-template-columns: 88px 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
    max-width: var(--content-max);
    margin: 1.5rem auto;
    padding: 0 1rem;
}
.thumb-column { display:flex; flex-direction:column; gap:0.8rem; }
.thumb { width: 88px; height:88px; object-fit:cover; border:1px solid #bbb; }
.main-media { display:flex; align-items:center; justify-content:center; }
.main-image { width:100%; max-width:520px; height:auto; border:1px solid #ccc; }
.side-text { background: white; padding:1rem; border:1px solid rgba(0,0,0,0.06); border-radius:6px; }
.side-text h2 { margin-top:0; }
.btn { display:inline-block; background:var(--secondary-color); color:#fff; padding:0.5rem 0.9rem; border-radius:5px; text-decoration:none; }

/* About grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 1.5rem;
    max-width: var(--content-max);
    margin: 1.5rem auto;
    padding: 0 1rem;
    align-items: start;
}
.about-image img { width:100%; height:auto; border:1px solid #ccc; display:block; }
.about-text { background:white; padding:1.25rem; border-radius:6px; border:1px solid rgba(0,0,0,0.06); }

/* Cart tweaks */
.cart-content { max-width: var(--content-max); margin: 1rem auto; padding: 0 1rem; text-align:center; }
.cart-empty p { margin-top:0.75rem; }

/* Responsive adjustments for wireframe layouts */
@media (max-width: 940px) {
    .showcase { grid-template-columns: 68px 1fr; grid-template-areas: "thumb main" "thumb text"; }
    .thumb-column { grid-area: thumb; }
    .main-media { grid-area: main; }
    .side-text { grid-area: text; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .thumb { width:64px; height:64px; }
    .main-image { max-width:100%; }
    .page-title .title-inner { padding:1rem; }
    .thin-bar { height:22px; }
}