/* ===================================
   Garden Craft Theme - Modern Minimal
   =================================== */

/* === TYPOGRAPHY === */
@font-face {
    font-family: 'System';
    font-style: normal;
    font-weight: 400;
    src: local('San Francisco'), local('Segoe UI'), local('Roboto'), local('Ubuntu'), local('Helvetica Neue'), local('Arial');
}

/* === BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary);
}

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

/* === LAYOUT CONTAINERS === */
.gc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gc-container-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gc-container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === NAVIGATION === */
.gc-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gc-navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 80px;
}

/* Logo with craft-style frame */
.gc-logo-craft {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gc-logo-craft:hover {
    background: rgba(15, 118, 110, 0.05);
}

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

/* Pill-style navigation */
.gc-nav-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9fafb;
    padding: 6px;
    border-radius: 50px;
    list-style: none;
    margin: 0;
}

.gc-nav-pill {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gc-nav-pill:hover {
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
}

.gc-nav-pill.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

/* CTA Button in nav */
.gc-nav-cta {
    background: var(--accent);
    color: var(--dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gc-nav-cta:hover {
    background: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    color: var(--dark);
}

.gc-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.gc-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* === HERO SECTION === */
/* === NEW HERO: Split Layout with Organic Wave === */
.gc-hero-split {
    background: linear-gradient(120deg, var(--primary) 0%, var(--dark) 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.gc-hero-split::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.gc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.gc-hero-content {
    text-align: left;
    z-index: 2;
}

.gc-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gc-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 800;
}

.gc-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.gc-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gc-hero-visual {
    position: relative;
    z-index: 2;
}

.gc-hero-image-stack {
    position: relative;
}

.gc-hero-img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gc-hero-accent-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 280px;
}

.gc-accent-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 12px;
}

.gc-accent-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gc-accent-text strong {
    font-size: 1rem;
    color: var(--dark);
}

.gc-accent-text span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.gc-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
}

/* === BUTTONS === */
.gc-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.gc-btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.gc-btn-primary:hover {
    background: var(--dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.gc-btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid #ffffff;
}

.gc-btn-secondary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.gc-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.gc-btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

/* New Button Styles */
.gc-btn-craft {
    background: var(--accent);
    color: var(--dark);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.gc-btn-craft:hover {
    background: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(251, 191, 36, 0.3);
    color: var(--dark);
}

.gc-btn-outline-teal {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
}

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

/* === SECTIONS === */
.gc-section {
    padding: 80px 0;
}

.gc-section-light {
    background: #ffffff;
}

.gc-section-gray {
    background: #f9fafb;
}

.gc-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.gc-section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

/* === CARDS === */
.gc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gc-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.gc-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gc-card-body {
    padding: 20px;
}

.gc-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.gc-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.gc-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === GRID SYSTEM === */
.gc-grid {
    display: grid;
    gap: 30px;
}

.gc-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

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

/* === PRODUCTS === */
.gc-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.gc-product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gc-product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.gc-product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background: #f9fafb;
    overflow: hidden;
}

.gc-product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gc-product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gc-product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gc-product-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

.gc-product-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.gc-product-footer {
    padding: 15px 20px;
    border-top: 1px solid #f3f4f6;
}

.gc-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.gc-product-link:hover {
    gap: 12px;
}

.gc-product-link svg {
    width: 16px;
    height: 16px;
}

/* === CATEGORIES === */
.gc-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gc-category-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    transition: all 0.3s ease;
}

.gc-category-card:hover {
    border-color: var(--primary);
    background: var(--light);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.gc-category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.gc-category-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.gc-category-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* === BREADCRUMBS === */
.gc-breadcrumbs {
    padding: 20px 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.gc-breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.gc-breadcrumbs-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.gc-breadcrumbs-item a {
    color: var(--text-secondary);
}

.gc-breadcrumbs-item a:hover {
    color: var(--primary);
}

.gc-breadcrumbs-separator {
    color: #d1d5db;
}

.gc-breadcrumbs-item.active {
    color: var(--text);
    font-weight: 500;
}

/* === PRODUCT SINGLE === */
.gc-product-single {
    padding: 60px 0;
}

.gc-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.gc-product-gallery {
    position: sticky;
    top: 90px;
}

.gc-product-main-img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.gc-product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gc-product-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gc-product-thumb:hover,
.gc-product-thumb.active {
    border-color: var(--primary);
}

.gc-product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.gc-product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.gc-product-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gc-product-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.gc-product-meta-value {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.gc-product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 30px;
}

.gc-product-specs {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
}

.gc-product-specs h3 {
    margin-bottom: 20px;
}

.gc-product-specs dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px;
    margin: 0;
}

.gc-product-specs dt {
    font-weight: 600;
    color: var(--dark);
}

.gc-product-specs dd {
    color: var(--text);
    margin: 0;
}

/* === FOOTER === */
.gc-footer {
    background: var(--dark);
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.gc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.gc-footer-col h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.gc-footer-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.gc-footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.gc-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gc-footer-links li {
    margin-bottom: 12px;
}

.gc-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.gc-footer-links a:hover {
    color: var(--accent);
}

.gc-footer-company-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.8;
}

.gc-footer-company-info p {
    margin-bottom: 0.5rem;
}

.gc-footer-company-info a {
    color: rgba(255, 255, 255, 0.8);
}

.gc-footer-company-info a:hover {
    color: var(--accent);
}

.gc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* === FORM STYLES === */
.gc-form {
    max-width: 600px;
    margin: 0 auto;
}

.gc-form-group {
    margin-bottom: 24px;
}

.gc-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.gc-form-input,
.gc-form-textarea,
.gc-form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.gc-form-input:focus,
.gc-form-textarea:focus,
.gc-form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.gc-form-textarea {
    min-height: 150px;
    resize: vertical;
}

.gc-form-help {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.gc-form-error {
    font-size: 0.875rem;
    color: var(--error);
    margin-top: 6px;
}

/* === UTILITIES === */
.gc-text-center {
    text-align: center;
}

.gc-text-left {
    text-align: left;
}

.gc-text-right {
    text-align: right;
}

.gc-mt-1 { margin-top: 10px; }
.gc-mt-2 { margin-top: 20px; }
.gc-mt-3 { margin-top: 30px; }
.gc-mt-4 { margin-top: 40px; }
.gc-mt-5 { margin-top: 60px; }

.gc-mb-1 { margin-bottom: 10px; }
.gc-mb-2 { margin-bottom: 20px; }
.gc-mb-3 { margin-bottom: 30px; }
.gc-mb-4 { margin-bottom: 40px; }
.gc-mb-5 { margin-bottom: 60px; }

.gc-py-1 { padding-top: 10px; padding-bottom: 10px; }
.gc-py-2 { padding-top: 20px; padding-bottom: 20px; }
.gc-py-3 { padding-top: 30px; padding-bottom: 30px; }
.gc-py-4 { padding-top: 40px; padding-bottom: 40px; }
.gc-py-5 { padding-top: 60px; padding-bottom: 60px; }

/* === SCROLL TO TOP === */
.gc-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 999;
}

.gc-scroll-top:hover {
    background: var(--dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gc-scroll-top.active {
    display: flex;
}

/* === GALLERY MODAL === */
.gc-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.gc-gallery-modal.active {
    display: flex;
}

.gc-gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.gc-gallery-modal img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.gc-gallery-close,
.gc-gallery-prev,
.gc-gallery-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.2s;
}

.gc-gallery-close:hover,
.gc-gallery-prev:hover,
.gc-gallery-next:hover {
    background: white;
}

.gc-gallery-close {
    top: 20px;
    right: 20px;
}

.gc-gallery-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gc-gallery-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .gc-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .gc-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .gc-product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gc-product-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .gc-nav-pills {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 8px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
        border-radius: 0;
    }

    .gc-nav-pills.active {
        display: flex;
    }

    .gc-nav-pill {
        width: 100%;
        padding: 15px 20px;
        text-align: center;
        border-radius: 12px;
    }

    .gc-nav-cta {
        display: none;
    }

    .gc-nav-toggle {
        display: flex;
    }

    .gc-hero-title {
        font-size: 2rem;
    }

    .gc-hero-subtitle {
        font-size: 1.125rem;
    }

    .gc-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gc-grid-2,
    .gc-grid-3,
    .gc-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gc-categories {
        grid-template-columns: 1fr;
    }

    .gc-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gc-section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gc-products-grid {
        grid-template-columns: 1fr;
    }

    .gc-grid-2,
    .gc-grid-3,
    .gc-grid-4 {
        grid-template-columns: 1fr;
    }

    .gc-hero {
        padding: 60px 0;
    }

    .gc-section {
        padding: 40px 0;
    }

    .gc-product-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}
