/* ============================================
   이맛식품 - 공통 스타일시트
   Multi-Page Website
   ============================================ */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --color-burgundy: #8B1E1E;
    --color-forest: #1E3A2F;
    --color-gold: #C89B3C;
    --color-cream: #F8F6F0;
    --color-dark: #2A2A2A;
    --color-light-gray: #F5F5F5;
    --color-white: #FFFFFF;
    
    /* Gradients */
    --gradient-burgundy: linear-gradient(135deg, #8B1E1E 0%, #b52a2a 100%);
    --gradient-forest: linear-gradient(135deg, #1E3A2F 0%, #2d5a4a 100%);
    --gradient-gold: linear-gradient(135deg, #C89B3C 0%, #d4a847 100%);
    
    /* Typography */
    --font-main: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--color-white);
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.logo-prefix {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    letter-spacing: -0.3px;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-burgundy);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-burgundy);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-burgundy);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-burgundy);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 30, 30, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Main Content Area
   ============================================ */
.main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Section */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--color-gold);
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* ============================================
   Mobile Quick Action Bar
   ============================================ */
.mobile-quick-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 10px;
    gap: 8px;
    z-index: 999;
}

.quick-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-call {
    background: var(--gradient-burgundy);
}

.quick-inquiry {
    background: var(--gradient-forest);
}

.quick-btn:active {
    transform: scale(0.98);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-burgundy);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 30, 30, 0.4);
}

.btn-secondary {
    background: var(--gradient-forest);
    color: var(--color-white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 47, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-burgundy);
    color: var(--color-burgundy);
}

.btn-outline:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Cards
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.facility-info-grid {
    max-width: 1080px;
    margin: 0 auto 0;
}

.card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.card-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   Hero Section - Premium Redesign
   ============================================ */
.hero {
    background: var(--gradient-burgundy);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 160px 20px 120px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 32px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.highlight-gold {
    background: linear-gradient(135deg, #C89B3C 0%, #f4d47c 50%, #C89B3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Glassmorphism Buttons */
.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-glass-primary {
    background: rgba(200, 155, 60, 0.3);
    border-color: rgba(200, 155, 60, 0.5);
}

.btn-glass-primary:hover {
    background: rgba(200, 155, 60, 0.5);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 24px;
}

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-burgundy);
    box-shadow: 0 0 0 3px rgba(139, 30, 30, 0.1);
}

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

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-close:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.modal-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
    background: #f7f4ee;
}

.cert-thumb {
    width: 100%;
    height: 320px;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f4ee;
    border: 1px solid rgba(200, 155, 60, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.location-guide {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef4fb;
}

.location-guide img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Tabs
   ============================================ */
.tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--color-burgundy);
    border-color: var(--color-burgundy);
    color: var(--color-white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* ============================================
   Product Cards with Images
   ============================================ */
.product-card-image {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.product-card-image:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-image-wrapper.product-shot {
    background: #000;
}

.product-shot .product-img {
    object-fit: contain;
}

.product-card-image:hover .product-img {
    transform: scale(1.1);
}

.photo-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
}

.process-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: block;
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.facility-gallery figure {
    margin: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.facility-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.facility-gallery figcaption {
    padding: 14px 16px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: center;
}

.poster-frame {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.poster-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.poster-showcase {
    max-width: 360px;
    margin: 0 auto 48px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.poster-showcase img {
    width: 100%;
    height: auto;
    display: block;
}

.product-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #C89B3C 0%, #f4d47c 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(200, 155, 60, 0.4);
}

.product-info {
    padding: 28px 24px;
}

.product-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-burgundy);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-features {
    list-style: none;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.8;
    text-align: left;
}

.product-features li::before {
    content: "✓ ";
    color: var(--color-gold);
    font-weight: 700;
    margin-right: 6px;
}

/* ============================================
   Feature Cards with Images
   ============================================ */
.feature-card-image {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.feature-card-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card-image:hover .feature-img {
    transform: scale(1.08);
}

.feature-content {
    padding: 32px 28px;
    position: relative;
}

.feature-number {
    position: absolute;
    top: -24px;
    left: 28px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, #b52a2a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(139, 30, 30, 0.3);
}

/* ============================================
   Facility Hero Image
   ============================================ */
.facility-hero {
    display: none !important;
}

.facility-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 42%;
    display: block;
}

.facility-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.facility-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #C89B3C 0%, #f4d47c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.badge-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

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

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

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

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

.color-burgundy { color: var(--color-burgundy); }
.color-gold { color: var(--color-gold); }

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 60px 20px;
    }

    .nav-menu {
        gap: 20px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-padding: 50px 16px;
    }

    /* Mobile Header */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Navigation - Premium Redesign */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.3s ease;
        opacity: 0;
        z-index: 999;
    }

    .nav.active {
        max-height: 600px;
        opacity: 1;
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
    }

    /* Mobile Nav Links - Premium Design */
    .nav-link {
        display: flex;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 20px 24px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        background: var(--color-white);
    }

    /* Icon Wrapper */
    .nav-icon-wrapper {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
        border-radius: 12px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .nav-icon-svg {
        color: var(--color-dark);
        transition: all 0.3s ease;
    }

    /* Text Wrapper */
    .nav-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
    }

    .nav-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--color-dark);
        letter-spacing: -0.3px;
        transition: color 0.3s ease;
    }

    .nav-subtitle {
        font-size: 12px;
        font-weight: 500;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    /* Hover & Active Effects */
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(90deg, 
            rgba(139, 30, 30, 0.03) 0%, 
            rgba(139, 30, 30, 0.01) 100%);
    }

    .nav-link:hover .nav-icon-wrapper,
    .nav-link.active .nav-icon-wrapper {
        background: linear-gradient(135deg, var(--color-burgundy) 0%, #b52a2a 100%);
        transform: scale(1.05) rotate(-5deg);
        box-shadow: 0 4px 16px rgba(139, 30, 30, 0.25);
    }

    .nav-link:hover .nav-icon-svg,
    .nav-link.active .nav-icon-svg {
        color: var(--color-white);
        transform: scale(1.1);
    }

    .nav-link:hover .nav-title,
    .nav-link.active .nav-title {
        color: var(--color-burgundy);
    }

    .nav-link:hover .nav-subtitle,
    .nav-link.active .nav-subtitle {
        color: var(--color-gold);
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(to bottom, var(--color-burgundy), var(--color-gold));
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 5px;
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile CTA Button - Premium Design */
    .nav-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: calc(100% - 48px);
        margin: 24px 24px 28px;
        padding: 18px 28px;
        background: linear-gradient(135deg, #8B1E1E 0%, #b52a2a 100%);
        color: var(--color-white);
        text-align: center;
        border-radius: 14px;
        font-size: 18px;
        font-weight: 700;
        box-shadow: 0 6px 20px rgba(139, 30, 30, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        position: relative;
        overflow: hidden;
        letter-spacing: -0.2px;
    }

    .nav-cta svg {
        transition: transform 0.3s ease;
    }

    .nav-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent);
        transition: left 0.5s ease;
    }

    .nav-cta:hover::before {
        left: 100%;
    }

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(139, 30, 30, 0.35);
        background: linear-gradient(135deg, #a02323 0%, #c93333 100%);
    }

    .nav-cta:active {
        transform: translateY(0);
    }

    /* Add icon to CTA */
    .nav-cta::after {
        content: '→';
        display: inline-block;
        margin-left: 8px;
        font-size: 18px;
        transition: transform 0.3s ease;
    }

    .nav-cta:hover::after {
        transform: translateX(4px);
    }

    /* Mobile Quick Bar */
    .mobile-quick-bar {
        display: flex;
    }

    /* Main with Quick Bar padding */
    .main {
        padding-bottom: 80px;
    }

    /* Hero Mobile */
    .hero {
        padding: 120px 16px 80px;
        background-attachment: scroll;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 50px;
    }

    .btn-glass {
        width: 100%;
        padding: 16px 28px;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-item {
        padding: 16px 20px;
        min-width: auto;
        flex: 1;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Product Cards Mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-image-wrapper {
        height: 220px;
    }

    .product-info {
        padding: 24px 20px;
    }

    /* Feature Cards Mobile */
    .feature-image-wrapper {
        height: 180px;
    }

    .feature-content {
        padding: 28px 20px;
    }

    .feature-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -20px;
        left: 20px;
    }

    /* Facility Hero Mobile */
    .facility-hero-img {
        height: 300px;
    }

    .facility-hero-overlay {
        padding: 24px;
    }

    .facility-badge {
        padding: 10px 20px;
        gap: 10px;
    }

    .badge-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .badge-text {
        font-size: 0.95rem;
    }

    /* Cards */
    .card {
        padding: 30px 24px;
    }

    /* Footer */
    .footer {
        padding: 40px 16px 20px;
        margin-top: 60px;
    }

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

    /* Modal */
    .modal-body {
        padding: 24px;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .logo-prefix {
        font-size: 0.7rem;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 35px;
    }

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

    .hero-title {
        font-size: 1.8rem;
    }
}

/* Extra Small Mobile - Logo Text Responsive */
@media screen and (max-width: 380px) {
    .logo-prefix {
        font-size: 0.65rem;
    }

    .logo-main {
        font-size: 1.1rem;
    }

    .logo-image {
        height: 32px;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-quick-bar,
    .nav-cta,
    .btn {
        display: none !important;
    }

    .main {
        margin-top: 0 !important;
    }
}
