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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Color Variables */
:root {
    --primary-indigo: #4F46E5;
    --secondary-silver: #9CA3AF;
    --accent-indigo: #6366F1;
    --light-silver: #F3F4F6;
    --dark-text: #1F2937;
    --medium-text: #4B5563;
    --light-text: #6B7280;
}

/* Typography */
h1, h2, h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--medium-text);
    margin-bottom: 1rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-indigo), var(--accent-indigo));
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-indigo), var(--primary-indigo));
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.product-cta {
    display: inline-block;
    background-color: var(--secondary-silver);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.product-cta:hover {
    background-color: var(--primary-indigo);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-indigo), var(--accent-indigo));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo {
    height: 60px;
    margin-right: 15px;
}

.brand-name {
    color: white;
    margin: 0;
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Sections */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--light-silver);
}

/* Introduction Section */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text h2 {
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
}

/* Modern Image Styles */
.intro-image,
.precision-image,
.compliance-image,
.why-image,
.story-image,
.team-image,
.promise-image,
.responsibility-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image:hover,
.precision-image:hover,
.compliance-image:hover,
.why-image:hover,
.story-image:hover,
.team-image:hover,
.promise-image:hover,
.responsibility-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.intro-photo,
.precision-photo,
.compliance-photo,
.why-photo,
.story-photo,
.team-photo,
.promise-photo,
.responsibility-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.intro-photo:hover,
.precision-photo:hover,
.compliance-photo:hover,
.why-photo:hover,
.story-photo:hover,
.team-photo:hover,
.promise-photo:hover,
.responsibility-photo:hover {
    transform: scale(1.05);
}

/* Product Images */
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    height: 200px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-photo:hover {
    transform: scale(1.08);
}

/* Services Overview */
.services-overview {
    text-align: center;
}

.services-overview h2 {
    color: var(--primary-indigo);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.06);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(79, 70, 229, 0.12);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--primary-indigo);
    margin-bottom: 15px;
}

/* Japanese Precision Section */
.precision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.precision-text h2 {
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
}

.precision-features {
    list-style: none;
    margin-top: 30px;
}

.precision-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

/* HACCP Compliance */
.compliance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.compliance-text h2 {
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
}

.compliance-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.badge {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Products Section */
.products {
    text-align: center;
}

.products h2 {
    color: var(--primary-indigo);
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.08);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(79, 70, 229, 0.15);
}

.product-card h3 {
    color: var(--primary-indigo);
    margin-bottom: 15px;
}

.product-card ul {
    list-style: none;
    margin: 20px 0;
}

.product-card li {
    padding: 5px 0;
    color: var(--medium-text);
    position: relative;
    padding-left: 20px;
}

.product-card li:before {
    content: "✓";
    color: var(--primary-indigo);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Quality Assurance */
.quality-assurance {
    text-align: center;
}

.quality-assurance h2 {
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--medium-text);
}

.quality-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.quality-item {
    text-align: center;
}

.quality-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.quality-item h3 {
    color: var(--primary-indigo);
    margin-bottom: 15px;
}

/* Why Choose Us */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-text h2 {
    color: var(--primary-indigo);
    margin-bottom: 2rem;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.why-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 5px;
}

.why-point h3 {
    color: var(--primary-indigo);
    margin-bottom: 8px;
}

.why-point p {
    margin: 0;
    font-size: 0.95rem;
}

/* Contacts */
.contacts {
    text-align: center;
}

.contacts h2 {
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

.contacts-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--medium-text);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-details {
    text-align: left;
}

.contact-details h3 {
    color: var(--primary-indigo);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-details a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary-indigo);
}

.contact-details address {
    font-style: normal;
    color: var(--medium-text);
    line-height: 1.4;
}

.contact-cta {
    margin-top: 40px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1F2937, #374151);
    color: white;
    padding: 50px 0 30px 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-indigo), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-info p {
    color: #D1D5DB;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-info p:first-child {
    font-weight: 600;
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    color: var(--accent-indigo);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #9CA3AF;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .intro-content,
    .precision-content,
    .compliance-content,
    .why-content,
    .story-content,
    .team-content,
    .promise-content,
    .responsibility-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-brand-header {
        justify-content: center;
    }
    
    .footer-contact,
    .footer-links {
        align-items: center;
    }
    
    .compliance-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .intro-photo,
    .precision-photo,
    .compliance-photo,
    .why-photo,
    .story-photo,
    .team-photo,
    .promise-photo,
    .responsibility-photo {
        height: 250px;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .logo-brand {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        margin-right: 0;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .intro-photo,
    .precision-photo,
    .compliance-photo,
    .why-photo,
    .story-photo,
    .team-photo,
    .promise-photo,
    .responsibility-photo {
        height: 220px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .why-point {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--primary-indigo);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-text h3 {
    color: var(--primary-indigo);
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    color: var(--medium-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--primary-indigo);
    color: white;
}

.cookie-accept:hover {
    background: var(--accent-indigo);
}

.cookie-reject {
    background: var(--secondary-silver);
    color: white;
}

.cookie-reject:hover {
    background: var(--medium-text);
}

.cookie-customize {
    background: transparent;
    color: var(--primary-indigo);
    border: 2px solid var(--primary-indigo);
}

.cookie-customize:hover {
    background: var(--primary-indigo);
    color: white;
}

.cookie-policy-link {
    position: absolute;
    top: 8px;
    right: 20px;
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.8rem;
}

.cookie-policy-link:hover {
    color: var(--primary-indigo);
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--light-silver);
}

.cookie-modal-header h3 {
    color: var(--primary-indigo);
    margin: 0;
    font-size: 1.3rem;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: var(--primary-indigo);
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-silver);
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.cookie-category h4 {
    color: var(--dark-text);
    margin: 0;
    font-size: 1rem;
}

.cookie-category p {
    color: var(--medium-text);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Cookie Switch Styles */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-silver);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary-indigo);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: var(--light-text);
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--light-silver);
    text-align: center;
}

/* Mobile Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .cookie-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .cookie-policy-link {
        position: static;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 15px 20px;
    }
    
    .cookie-category-header {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-modal-header h3 {
        font-size: 1.1rem;
    }
}