/* ============================================
   HIGH DOH GLASS - Corporate Website Styles
   Brand Colors: Hermès Orange #E8611A, Light Red #E88B8B
   ============================================ */

:root {
    --primary: #E8611A;
    --primary-dark: #C94F12;
    --primary-light: #F5A66E;
    --accent: #E88B8B;
    --dark: #1A1A1A;
    --gray-900: #2D2D2D;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #CCCCCC;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --font-main: 'Inter', 'Noto Sans SC', 'Noto Sans JP', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

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

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img {
    height: 48px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}
.navbar.scrolled .nav-logo img {
    filter: none;
    height: 40px;
}
.nav-menu {
    display: flex;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border-radius: 6px;
    transition: var(--transition);
}
.navbar.scrolled .nav-link {
    color: var(--gray-700);
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.15);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(232,97,26,0.08);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 3px;
}
.navbar.scrolled .lang-switcher {
    background: var(--gray-100);
}
.lang-btn {
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.navbar.scrolled .lang-btn {
    color: var(--gray-500);
}
.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.75) 0%, rgba(232,97,26,0.35) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(232,97,26,0.25);
    border: 1px solid rgba(232,97,26,0.5);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,97,26,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-full { width: 100%; }

/* ============ STATS BAR ============ */
.stats-bar {
    background: var(--primary);
    padding: 48px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    color: var(--white);
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

/* ============ SECTION COMMON ============ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ ABOUT ============ */
.about {
    padding: 100px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.about-content p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-900);
}
.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* ============ PRODUCTS ============ */
.products {
    padding: 100px 0;
    background: var(--gray-100);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(232,97,26,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-overlay {
    opacity: 1;
}
.product-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    border: 2px solid var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
}
.product-info {
    padding: 28px;
}
.product-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}
.product-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============ FACTORY ============ */
.factory {
    padding: 100px 0;
    background: var(--white);
}
.factory-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}
.gallery-main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}
.gallery-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}
.factory-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-item {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius);
    background: var(--gray-100);
    transition: var(--transition);
}
.advantage-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.advantage-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.3rem;
}
.advantage-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.advantage-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact {
    padding: 100px 0;
    background: var(--gray-100);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}
.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}
.contact-item a {
    color: var(--primary);
}
.contact-item a:hover {
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-main);
    color: var(--dark);
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,97,26,0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
}
.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links a {
    display: block;
    font-size: 0.9rem;
    padding: 5px 0;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}
.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 300px; }
    .factory-advantages { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: 0.4s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    }
    .nav-menu.open { right: 0; }
    .nav-menu .nav-link {
        color: var(--gray-700);
        padding: 12px 16px;
        font-size: 1rem;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--primary);
        background: rgba(232,97,26,0.08);
    }
    .nav-toggle { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 2rem; }
    .products-grid { grid-template-columns: 1fr; }
    .factory-gallery { grid-template-columns: 1fr; }
    .gallery-main img { min-height: 250px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .factory-advantages { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-title { letter-spacing: 2px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
