/* ================================================
   Sarikiz Sut — Material Design Public Stylesheet
   ================================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Primary palette */
    --primary:        #2E7D32;   /* Green 800 */
    --primary-light:  #4CAF50;   /* Green 500 */
    --primary-dark:   #1B5E20;   /* Green 900 */
    --primary-50:     #E8F5E9;
    --primary-100:    #C8E6C9;

    /* Secondary / Accent */
    --accent:         #FF8F00;   /* Amber 800 */
    --accent-light:   #FFB300;
    --accent-50:      #FFF8E1;

    /* Neutrals */
    --surface:        #FAFAFA;
    --surface-warm:   #F5F0E8;
    --on-surface:     #212121;
    --text-primary:   #212121;
    --text-secondary: #616161;
    --text-hint:      #9E9E9E;
    --divider:        #E0E0E0;

    /* Semantic */
    --success:        #2E7D32;
    --warning:        #F57F17;
    --danger:         #C62828;
    --info:           #1565C0;
    --whatsapp:       #25D366;

    /* Elevation shadows (Material) */
    --shadow-1: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
    --shadow-2: 0 3px 6px rgba(0,0,0,.10), 0 3px 6px rgba(0,0,0,.08);
    --shadow-3: 0 10px 20px rgba(0,0,0,.10), 0 6px 6px rgba(0,0,0,.06);
    --shadow-4: 0 14px 28px rgba(0,0,0,.12), 0 10px 10px rgba(0,0,0,.06);

    /* Typography */
    --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Nunito', sans-serif;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transition */
    --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Base ---------- */
*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: #fff;
    padding-top: 72px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--primary); transition: color .2s var(--ease); }
a:hover { color: var(--primary-dark); }

::selection { background: var(--primary-100); color: var(--primary-dark); }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
}

.display-3 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.display-5 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ---------- Section ---------- */
section { position: relative; }

.section-title {
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-dark);
    letter-spacing: -.02em;
    text-align: center;
    margin-bottom: .5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* ---------- Navbar ---------- */
.navbar-site {
    background: rgba(30,30,30,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}

.navbar-site.scrolled {
    background: rgba(27,94,32,.97);
    box-shadow: var(--shadow-2);
}

.navbar-site .navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-site .nav-link {
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .5rem 1.1rem !important;
    color: rgba(255,255,255,.85) !important;
    transition: color .2s var(--ease);
    position: relative;
}

.navbar-site .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%; width: 0; height: 2px;
    background: var(--accent);
    transition: width .3s var(--ease), left .3s var(--ease);
}

.navbar-site .nav-link:hover::after,
.navbar-site .nav-link.active::after {
    width: 60%; left: 20%;
}

.navbar-site .nav-link:hover { color: #fff !important; }

/* ---------- Hero ---------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(27,94,32,.45) 100%);
    z-index: 1;
}

.hero-section > .container { position: relative; z-index: 2; }

.hero-section h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -.03em;
    text-shadow: 0 4px 20px rgba(0,0,0,.35);
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    opacity: .92;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ---------- Page Header ---------- */
.page-header {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.page-header::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,197.3C960,213,1056,203,1152,176C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') center bottom/cover no-repeat;
    z-index: 0;
}

.page-header > .container { position: relative; z-index: 1; }

.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.page-header .lead {
    opacity: .88;
    font-size: 1.1rem;
}

/* ---------- Cards (Material Elevation) ---------- */
.card {
    border: none;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-1);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    overflow: hidden;
}

.card:hover, .hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3);
}

/* ---------- Icon Cards ---------- */
.icon-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-1);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.icon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3);
}

.icon-card .icon-circle {
    width: 72px; height: 72px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 0;
}

.icon-card .icon-circle .material-icons {
    font-size: 32px;
}

.icon-card h6 {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: .4rem;
}

.icon-card p {
    color: var(--text-secondary);
    font-size: .88rem;
    margin: 0;
}

/* ---------- Product Card ---------- */
.product-card { position: relative; }

.product-card .card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.product-card .card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.product-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.product-card .product-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.2rem;
}

.product-card:hover .product-overlay { opacity: 1; }

.product-card .status-badge {
    position: absolute;
    top: 12px; right: 12px;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    z-index: 2;
}

.product-card .card-body { padding: 1.2rem 1.2rem .8rem; }

.product-card .card-footer {
    padding: .8rem 1.2rem 1.2rem;
    background: transparent;
    border-top: 1px solid var(--divider);
}

/* Variant badges in card */
.variant-badge {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    background: var(--primary-50);
    color: var(--primary-dark);
    border: 1px solid var(--primary-100);
    margin: 0 4px 4px 0;
}

/* ---------- Lightbox gallery grid ---------- */
.gallery-grid {
    display: grid;
    gap: 12px;
}

.gallery-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid a {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-grid a::after {
    content: 'zoom_in';
    font-family: 'Material Icons';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.4);
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.gallery-grid a:hover::after { opacity: 1; }

.gallery-grid img {
    width: 100%; height: 200px;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.gallery-grid a:hover img { transform: scale(1.08); }

/* ---------- Process Timeline ---------- */
.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-number {
    width: 80px; height: 80px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(46,125,50,.3);
}

.process-step .step-number .material-icons { font-size: 32px; }

.process-step h6 { font-weight: 800; font-size: 1rem; }
.process-step p { color: var(--text-secondary); font-size: .88rem; }

/* ---------- Testimonial ---------- */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    padding: 2rem;
    text-align: center;
    margin: 0 8px;
}

.testimonial-card .stars { color: var(--accent); margin-bottom: .6rem; }
.testimonial-card .quote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: .95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card .author { font-weight: 800; color: var(--text-primary); }
.testimonial-card .district { font-size: .82rem; color: var(--text-hint); }

/* ---------- Buttons (Material Ripple Style) ---------- */
.btn {
    font-family: var(--font-sans);
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all .2s var(--ease);
    letter-spacing: .02em;
}

.btn-primary-custom {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(46,125,50,.3);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    box-shadow: 0 4px 12px rgba(255,143,0,.3);
}

.btn-success {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(46,125,50,.3);
}

.btn-outline-success {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-success:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-whatsapp {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #fff;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,.35);
}

.btn-lg { padding: .75rem 2rem; font-size: 1rem; }

/* ---------- Nav Pills (Filter Chips) ---------- */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    border: 2px solid var(--divider);
    color: var(--text-secondary);
    background: #fff;
    text-decoration: none;
    transition: all .2s var(--ease);
}

.filter-chips .chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.filter-chips .chip.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.filter-chips .chip .material-icons { font-size: 18px; }

/* ---------- Backgrounds ---------- */
.bg-cream { background: var(--surface-warm); }
.bg-surface { background: var(--surface); }
.bg-primary-subtle { background: var(--primary-50); }

/* ---------- Badge ---------- */
.badge {
    font-weight: 700;
    letter-spacing: .03em;
    font-size: .75rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.45);
    z-index: 9999;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    animation: pulse-wa 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

@keyframes pulse-wa {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Footer ---------- */
.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,.7);
}

.site-footer h5, .site-footer h6 { color: #fff; font-weight: 800; }

.site-footer a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s var(--ease);
}

.site-footer a:hover { color: var(--accent-light); }

.footer-social a {
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: #fff;
    transition: all .2s var(--ease);
    font-size: 20px;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-social a.wa:hover { background: var(--whatsapp); }

/* ---------- Owl Carousel ---------- */
.owl-dots { margin-top: 1.5rem !important; text-align: center; }
.owl-dots .owl-dot span {
    width: 10px !important; height: 10px !important;
    background: var(--divider) !important;
    border-radius: var(--radius-full) !important;
    transition: all .3s var(--ease) !important;
}
.owl-dots .owl-dot.active span {
    background: var(--primary) !important;
    width: 28px !important;
}

/* ---------- Quick View Modal ---------- */
.modal-content { border-radius: var(--radius-lg); border: none; overflow: hidden; }
.modal-header { border-bottom: 1px solid var(--divider); }
.modal-footer { border-top: 1px solid var(--divider); }

/* Variant selector in modal */
.variant-option {
    border: 2px solid var(--divider);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s var(--ease);
    min-width: 100px;
}

.variant-option:hover, .variant-option.selected {
    border-color: var(--primary);
    background: var(--primary-50);
}

.variant-option .v-name { font-weight: 700; font-size: .85rem; color: var(--text-primary); }
.variant-option .v-price { font-weight: 800; font-size: 1rem; color: var(--primary); }

/* ---------- Form Styling ---------- */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--divider);
    padding: .65rem 1rem;
    font-size: .95rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46,125,50,.15);
}

.form-label {
    font-weight: 700;
    font-size: .88rem;
    color: var(--text-secondary);
    margin-bottom: .35rem;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(26,26,26,.96);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 16px 24px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { padding-top: 64px; }
    .hero-section { min-height: 85vh; }
    .page-header { min-height: 240px; }
    .section-title { font-size: 1.6rem; }
    .gallery-grid img { height: 150px; }
    .product-card .card-img-wrap { height: 200px; }

    .whatsapp-float {
        bottom: 18px; right: 18px;
        width: 52px; height: 52px;
    }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 576px) {
    .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid.cols-3 { grid-template-columns: 1fr 1fr; }
    .filter-chips { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
}

/* ---------- Utility ---------- */
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.fw-900 { font-weight: 900 !important; }
.ls-tight { letter-spacing: -.02em; }
