/* Base Styles */
:root {
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    color: #262626;
    background-color: white;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    color: #171717;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 {
    letter-spacing: -0.025em;
}

h2 {
    letter-spacing: -0.025em;
}

/* Container */
.container-base {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-base {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-base {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #3b82f6, #2563eb);
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    border: 2px solid #3b82f6;
    padding: 0.75rem 1.5rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: white;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #eff6ff;
}

/* Cards */
.card {
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Sections */
.section {
    padding: 1rem 0;
}

@media (min-width: 640px) {
    .section {
        padding: 1rem 0;
    }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-sub {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    color: #525252;
}

/* Navbar */
.navbar-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 2.5rem;
    width: 2.5rem;
    background: transparent;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-text {
    font-weight: 700;
    color: #171717;
    font-size: 1.125rem;
}

.navbar-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
    }
}

.nav-link {
    color: #525252;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.nav-link:hover {
    color: #2563eb;
}

.mobile-menu-btn {
    display: grid;
    place-items: center;
    height: 2.5rem;
    width: 2.5rem;
    color: #525252;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    color: #2563eb;
}

.mobile-menu {
    display: none;
    border-top: 1px solid #e5e5e5;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mobile-menu.open {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link {
    color: #525252;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    padding: 0.5rem 0;
}

.mobile-nav-link:hover {
    color: #2563eb;
}

/* Main Content */
.main-content {
    flex: 1;
    min-height: calc(100vh - 4rem);
}

.page {
    padding-top: 0;
    /* Removed min-height to prevent empty space */
}

.page.hidden {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(to bottom right, white, #eff6ff, #faf5ff);
}

.hero-container {
    padding-top: 4rem;
    padding-bottom: 3rem;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-container {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #171717;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    margin-top: 1rem;
    color: #525252;
    max-width: 42rem;
}

.hero-ctas {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-right {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-bg {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    background: linear-gradient(to top right, #dbeafe, #f3e8ff);
    opacity: 0.9;
}

.hero-image-container {
    position: absolute;
    inset: 1.5rem;
    border-radius: 1rem;
    border: 4px solid white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: linear-gradient(to top right, #bfdbfe, #e9d5ff);
}

.hero-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background-color 0.2s;
}

.hero-dot.active {
    background-color: #3b82f6;
}

/* Mission & Vision */
.separator {
    border-top: 1px solid #f5f5f5;
}

.mv-section {
    background-color: rgba(239, 246, 255, 0.4);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mv-card {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.2s;
}

.mv-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.mv-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 0.5rem;
}

.mv-card p {
    margin-top: 0.5rem;
    color: #404040;
}

/* Products */
.products-section {
    background: linear-gradient(to bottom right, #eff6ff, white, #faf5ff);
}

.products-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    opacity: 0.75;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 1;
}

.product-image-container {
    padding: 0.75rem;
}

.product-image {
    height: 10rem;
    width: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(to right, #a855f7, #9333ea);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.product-body {
    padding: 1rem;
}

.product-title {
    margin-top: 0.75rem;
    font-weight: 700;
    color: #171717;
    font-size: 1.125rem;
}

.product-blurb {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #525252;
}

/* About */
.about-section {
    background: linear-gradient(to bottom right, #eff6ff, white, #faf5ff);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-left {
    display: flex;
    flex-direction: column;
}

.features-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-title {
    margin-top: 0.75rem;
    font-weight: 700;
    color: #171717;
    font-size: 1.125rem;
}

.feature-desc {
    color: #525252;
    margin-top: 0.5rem;
    line-height: 1.625;
}

.about-right {
    display: flex;
    flex-direction: column;
}

.address-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.address-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #171717;
}

.address-content {
    margin-top: 1rem;
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 640px) {
    .address-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.address-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid #e5e5e5;
}

.address-text {
    font-style: normal;
    color: #404040;
    line-height: 1.625;
}

.address-text br {
    display: block;
    margin: 0.25rem 0;
}

.address-btn {
    margin-top: 1.5rem;
    display: inline-flex;
}

/* Gallery */
.gallery-section {
    background: linear-gradient(to bottom right, #eff6ff, white, #faf5ff);
}

.gallery-content {
    margin-top: 3rem;
}

.gallery-card {
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    text-align: center;
}

.gallery-icon {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
}

.gallery-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 1rem;
}

.gallery-card p {
    color: #525252;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.625;
}

.gallery-badge {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #faf5ff, #eff6ff);
    color: #7c3aed;
    border-radius: 9999px;
    border: 1px solid #e9d5ff;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-weight: 600;
}

/* Contact */
.contact-section {
    background: linear-gradient(to bottom right, #eff6ff, white, #faf5ff);
}

.contact-form {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .contact-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-input {
    border-radius: 0.75rem;
    border: 1px solid #e5e5e5;
    padding: 0.75rem;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-input-full {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .form-input-full {
        grid-column: span 2;
    }
}

.form-footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .form-footer {
        grid-column: span 2;
    }
}

.form-privacy {
    font-size: 0.875rem;
    color: #737373;
}

.form-status {
    grid-column: 1 / -1;
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
}

@media (min-width: 640px) {
    .form-status {
        grid-column: span 2;
    }
}

textarea.form-input {
    resize: vertical;
    min-height: 6rem;
}

/* Footer */
.footer {
    background: linear-gradient(to top, #fafafa, white);
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    padding: 3rem 0;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-copyright {
    font-size: 0.875rem;
    font-weight: 600;
    color: #404040;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #737373;
}

/* Animations */
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-slow {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-up 600ms ease-out both;
}

.hero-image-container {
    animation: float-slow 6s ease-in-out infinite;
}

/* Contact Form Styles */
.contact-form {
    max-width: 100%;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.contact-form .form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background-color: #fff;
}

.contact-form .form-input::placeholder {
    color: #94a3b8;
}

.contact-form .form-input-full {
    grid-column: 1 / -1;
}

/* Style for select dropdown */
.contact-form select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* Style for number input - hide spinner buttons in WebKit browsers */
.contact-form input[type="number"]::-webkit-inner-spin-button,
.contact-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.contact-form input[type="number"]::-webkit-outer-spin-button,
.contact-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Style for number input container */
.contact-form .form-group:has(input[type="number"]) {
    position: relative;
}

/* Optional: Add custom increment/decrement buttons */
.contact-form .quantity-controls {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    display: flex;
    flex-direction: column;
    width: 24px;
    border-left: 1px solid #e2e8f0;
    background: #f8fafc;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
}

.contact-form .quantity-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #64748b;
    transition: background-color 0.2s, color 0.2s;
}

.contact-form .quantity-btn:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.contact-form .quantity-btn:active {
    background-color: #cbd5e1;
}

.contact-form .quantity-btn:first-child {
    border-bottom: 1px solid #e2e8f0;
}

.contact-form textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* Form Footer */
.contact-form .form-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-form .form-privacy {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Button Styles */
.contact-form .btn-primary {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary:hover {
    background-color: #3e8e41;
    transform: translateY(-1px);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

.contact-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading State */
.contact-form .btn-loader {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.contact-form .btn-text {
    transition: opacity 0.2s ease;
}

.contact-form .btn-primary.loading .btn-text {
    opacity: 0;
}

.contact-form .btn-primary.loading .btn-loader {
    display: block;
}

/* Error Messages */
.contact-form .error-message {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
    line-height: 1.3;
}

/* Form Messages */
.contact-form .form-message {
    grid-column: 1 / -1;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: none;
}

.contact-form .form-message.success {
    background-color: #f0fdf4;
    color: #166534;
    border-left: 4px solid #16a34a;
    display: block;
}

.contact-form .form-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .contact-form .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form .btn-primary {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .animate-fade-up,
    .hero-image-container {
        animation: none;
    }
}

/* Body Layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}