/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Navigation ────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.frog-emoji {
    font-size: 1.5rem;
}

.company-name {
    background: linear-gradient(135deg, #00263d, #cd242b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #cd242b;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* ── Hero Section ──────────────────────────────────────────────────────────── */
.hero {
    min-height: 50vh;
    background: linear-gradient(135deg, #00263d 0%, #cd242b 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #cd242b, #00263d);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(205, 36, 43, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00263d;
    border: 2px solid #00263d;
}

.btn-secondary:hover {
    background: #00263d;
    color: white;
}

/* ── Section Titles ────────────────────────────────────────────────────────── */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Items Grid ────────────────────────────────────────────────────────────── */
.items {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.item-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.item-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.item-card-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.item-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-card-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.item-card-body p {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.item-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #cd242b;
}

.item-card-footer .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* ── Item Detail Page ──────────────────────────────────────────────────────── */
.item-detail {
    padding-top: 100px;
    padding-bottom: 4rem;
    min-height: 80vh;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 500;
    color: #cd242b;
    transition: color 0.2s;
}

.back-link:hover {
    color: #00263d;
}

.item-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Gallery */
.item-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-gallery-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.item-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-gallery-thumbs {
    display: flex;
    gap: 0.75rem;
}

.item-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.item-thumb:hover,
.item-thumb.active {
    border-color: #cd242b;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail info */
.item-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.item-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #cd242b;
    margin-bottom: 1.5rem;
}

.item-description {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.item-description p {
    margin-bottom: 1rem;
}

.item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.item-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.item-meta-label {
    font-weight: 600;
    color: #374151;
}

.item-meta-value {
    color: #6b7280;
}

/* Item contact form */
.item-contact {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.item-contact h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.item-contact > p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── About Section ─────────────────────────────────────────────────────────── */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.about-text p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-visual {
    text-align: center;
}

.frog-mascot {
    font-size: 8rem;
    margin-bottom: 1rem;
    display: block;
}

.mascot-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #cd242b;
    font-style: italic;
}

/* ── Contact Section ───────────────────────────────────────────────────────── */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #cd242b, #00263d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ── Form Styles ───────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #cd242b;
}

.form-group textarea {
    resize: vertical;
}

.form-group input[readonly] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: default;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
    background: #00263d;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer a {
    color: #cd242b;
}

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

/* ── Not Found State ───────────────────────────────────────────────────────── */
.not-found {
    text-align: center;
    padding: 4rem 0;
}

.not-found h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.not-found p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* ── Animations ────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-card {
    animation: fadeInUp 0.5s ease forwards;
}

.item-card:nth-child(2) { animation-delay: 0.1s; }
.item-card:nth-child(3) { animation-delay: 0.2s; }
.item-card:nth-child(4) { animation-delay: 0.3s; }
.item-card:nth-child(5) { animation-delay: 0.4s; }
.item-card:nth-child(6) { animation-delay: 0.5s; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

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

    .item-detail-content {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1rem 20px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-toggle {
        display: flex;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .item-gallery-thumbs {
        flex-wrap: wrap;
    }
}

/* ── Dark Mode ─────────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e5e5e5;
    }

    .navbar {
        background: rgba(26, 26, 26, 0.95);
    }

    .nav-menu a {
        color: #e5e5e5;
    }

    .nav-toggle span {
        background: #e5e5e5;
    }

    .company-name {
        background: linear-gradient(135deg, #ffffff, #cd242b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .items {
        background: #2d2d2d;
    }

    .item-card {
        background: #3a3a3a;
        border-color: #4a4a4a;
    }

    .item-card-body h3 {
        color: #ffffff;
    }

    .item-card-body p {
        color: #c1c1c1;
    }

    .about {
        background: #1a1a1a;
    }

    .about-text h2,
    .item-info h1 {
        color: #ffffff;
    }

    .about-text p,
    .item-description {
        color: #c1c1c1;
    }

    .section-title {
        color: #ffffff;
    }

    .section-subtitle {
        color: #c1c1c1;
    }

    .contact {
        background: #2d2d2d;
    }

    .contact-item {
        background: #3a3a3a;
    }

    .contact-item h4 {
        color: #ffffff;
    }

    .contact-item p {
        color: #c1c1c1;
    }

    .contact-form,
    .item-contact {
        background: #3a3a3a;
        border-color: #4a4a4a;
    }

    .item-contact h3 {
        color: #ffffff;
    }

    .item-contact > p {
        color: #c1c1c1;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #4a4a4a;
        border-color: #5a5a5a;
        color: #e5e5e5;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #a1a1a1;
    }

    .form-group input[readonly] {
        background: #3a3a3a;
    }

    .item-meta {
        background: #3a3a3a;
        border-color: #4a4a4a;
    }

    .item-meta-label {
        color: #e5e5e5;
    }

    .item-meta-value {
        color: #c1c1c1;
    }

    .back-link {
        color: #f87171;
    }

    .not-found h2 {
        color: #ffffff;
    }

    .not-found p {
        color: #c1c1c1;
    }

    @media (max-width: 768px) {
        .nav-menu {
            background: rgba(26, 26, 26, 0.98);
        }

        .nav-menu li a {
            border-bottom-color: #4a4a4a;
        }
    }
}

