@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Color Palette - Darker Bold Orange-Gold */
    --color-primary: #F5A623;
    --color-primary-light: #FFB84D;
    --color-primary-dark: #E09200;
    --color-secondary: #1E293B;
    /* Slate 800 */
    --color-accent: #B8860B;
    --color-bg: #F8FAFC;
    /* Slate 50 */
    --color-surface: #FFFFFF;
    --color-surface-alt: #F1F5F9;
    --color-text: #334155;
    /* Slate 700 */
    --color-text-light: #64748B;
    /* Slate 500 */

    /* Shadows & Radius */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 8px;
    --radius-lg: 24px;

    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* Mobile layout adjustments */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-surface-alt);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    /* ensure nav items (including buttons) are vertically centered */
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    /* make outline visible on light backgrounds */
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

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

/* visible active state for filter buttons */
.btn.active,
.btn-outline.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Mobile button adjustments */
@media (max-width: 600px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
}

/* Hero */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('./images/home/imgi_11_honey-pic11.jpg');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.sub-heading {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Services Section */
.services-section {
    background:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('./images/honeycomb-pattern.png');
    background-size: auto, 400px;
    background-position: center;
    background-repeat: repeat;
}

.services-grid {
    display: grid;
    /* smaller column min width so the grid is more compact */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    /* compact card padding */
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    /* visible soft border so cards stand out from the background */
    border: 2px solid var(--color-surface-alt);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-card-featured {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    transform: scale(1.05);
    /* give the featured card a subtle, contrasting border */
    border-color: rgba(255,255,255,0.12);
}

.service-card-featured h3,
.service-card-featured p,
.service-card-featured li {
    color: white;
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--color-secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon {
    /* slightly reduced icon to fit the smaller cards while still being prominent */
    height: 130px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* featured card has an even larger image to match its emphasis */
.service-card-featured .service-icon {
    /* keep featured card larger but adapted to tighter layout */
    height: 170px;
}

/* responsive adjustments - keep sizes reasonable on narrow viewports */
@media (max-width: 900px) {
    .service-icon { height: 110px; }
    .service-card-featured .service-icon { height: 140px; }
}

@media (max-width: 480px) {
    .service-icon { height: 90px; }
    .service-card-featured .service-icon { height: 100px; }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-surface-alt);
    color: var(--color-text);
    font-size: 0.95rem;
}

.service-card-featured .service-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.service-features li:last-child {
    border-bottom: none;
}

/* Products Section */
.products-section {
    /* decorative left-side image for the featured products section */
    background-color: var(--color-bg);
    background-image: url('./images/home/imgi_15_section_background1.png');
    background-repeat: no-repeat;
    /* move more into view and make it much larger so the decoration is prominent */
    background-position: 10px center;
    background-size: 1100px auto;
    position: relative;
}

.products-grid {
    display: grid;
    /* compact products grid */
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Shop Grid - Main layout */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Responsive shop grid: 4 columns for large, 3 for medium, 2 for tablet, 1 for mobile */
@media (min-width: 1400px) {
    .shop-grid { 
        grid-template-columns: repeat(4, 1fr); 
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .shop-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .shop-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .shop-grid { 
        grid-template-columns: repeat(1, 1fr); 
        gap: 1.5rem;
    }
}

/* Ensure product cards fill grid cells and keep consistent spacing */
.shop-grid > .product-card { width: 100%; }

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--color-surface-alt);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    /* product image height tuned for 4-up grid (denser) */
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Responsive adjustments for mobile */
@media (max-width: 900px) {
    .product-image { 
        height: 220px; 
    }
    
    .product-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 600px) {
    .product-image { 
        height: 200px; 
    }
    
    .product-card {
        border-radius: var(--radius-md);
    }
    
    /* Disable hover effects on mobile for better touch experience */
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
}

.btn-white {
    background: white;
    color: var(--color-secondary);
}

.btn-white:hover {
    background: var(--color-primary);
    color: white;
}

/* product action (order) should stick to the bottom of the details area */
.product-action {
    margin-top: auto;
    align-self: stretch; /* make CTA full width inside product-details */
}

.product-details {
    padding: 1.25rem 1.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 1 auto;
}

.product-category {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.product-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile adjustments for product details */
@media (max-width: 600px) {
    .product-details {
        padding: 1rem 1rem 1.25rem;
        gap: 0.5rem;
    }
    
    .product-category {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .product-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #0F172A 100%);
    color: white;
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 400px;
}

.footer-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-description {
    color: #94A3B8;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: #94A3B8;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    color: #64748B;
    font-size: 0.9rem;
}

.footer-credit a {
    color: var(--color-primary);
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-secondary);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 968px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--color-surface);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        text-align: center;
        border-bottom: 1px solid var(--color-surface-alt);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 70vh;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-featured {
        transform: scale(1);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Logo image sizing */
.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

/* CTA banner used above services */
.cta-banner {
    position: relative;
    background-image: url('./images/home/imgi_13_honey-pic12.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* subtle overlay so text is readable */
}

.cta-inner {
    position: relative; /* put content above overlay */
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
}

.cta-inner h2 { font-size: 2rem; margin-bottom: 0.5rem; color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.92); margin-bottom: 1rem; }
.cta-actions { display:flex; gap:1rem; justify-content:center; margin-top: 0.75rem; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.9); color: white; }

@media (max-width: 768px) {
    .cta-inner h2 { font-size: 1.5rem; }
    .cta-banner { padding: 40px 0; }
}

/* ===== Mobile-Specific Enhancements ===== */

/* Smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
}

/* Better touch targets for mobile */
@media (max-width: 600px) {
    /* Minimum touch target size of 44x44px (Apple HIG recommendation) */
    .btn, button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent text size adjustment on orientation change */
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Improve tap highlight */
    a, button, .btn {
        -webkit-tap-highlight-color: rgba(241, 189, 58, 0.3);
    }
    
    /* Better spacing for product action buttons on mobile */
    .product-action {
        padding: 12px 20px;
        width: 100%;
        font-size: 1rem;
    }
    
    /* Make images load better on mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve readability */
    body {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better spacing for filter buttons on small screens */
    .btn, .btn-outline {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
}