/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --text-dark: #1a2951;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.catering-hero {
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #f0ebe5 100%);
    padding: clamp(60px, 10vw, 100px) 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #1a2951;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    margin-bottom: clamp(20px, 4vw, 30px);
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    font-weight: 400;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   CATEGORY TABS SECTION
   ======================================== */

.category-tabs-section {
    padding: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.category-tab {
    padding: clamp(20px, 3vw, 30px) clamp(15px, 2vw, 20px);
    text-align: center;
    border-right: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: white;
    min-height: 44px;
}

.category-tab:last-child {
    border-right: none;
}

.category-tab i {
    font-size: clamp(24px, 4vw, 32px);
    color: #1a2951;
    transition: all 0.3s ease;
}

.category-tab span {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 600;
    color: #1a2951;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.category-tab:hover i {
    color: #0066cc;
    transform: scale(1.1);
}

.category-tab:hover span {
    color: #0066cc;
}

/* ========================================
   CATERING DETAIL SECTIONS
   ======================================== */

.catering-detail-section {
    padding: clamp(50px, 8vw, 80px) 0;
    background: white;
}

.catering-detail-section.alternate {
    background: #fafafa;
}

.section-subheader {
    text-align: center;
    font-size: clamp(0.9rem, 1.8vw, 1.125rem);
    color: #666;
    font-weight: 500;
    margin-bottom: clamp(30px, 5vw, 40px);
    font-style: italic;
}

.catering-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: center;
}

.catering-detail-image {
    width: 100%;
    height: 100%;
}

.catering-detail-image img {
    width: 100%;
    height: clamp(300px, 40vw, 450px);
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.catering-detail-text h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #1a2951;
    margin-bottom: clamp(20px, 3vw, 30px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.catering-detail-text h2 a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.catering-detail-text h2 a:hover {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.catering-detail-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catering-detail-text ul li {
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
    color: #555;
    line-height: 2.2;
    font-weight: 400;
    padding-left: 10px;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-section {
    padding: clamp(50px, 8vw, 80px) 0;
    background: white;
}

.why-choose-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a2951;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(30px, 4vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-item {
    text-align: center;
    padding: clamp(25px, 3vw, 30px) clamp(15px, 2vw, 20px);
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    font-size: clamp(36px, 5vw, 48px);
    color: #0066cc;
    margin-bottom: clamp(15px, 2vw, 20px);
    font-weight: 700;
}

.why-choose-item h3 {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    font-weight: 600;
    color: #1a2951;
    line-height: 1.4;
}

/* ========================================
   PRODUCTS GALLERY SECTION
   ======================================== */

.products-gallery-section {
    padding: clamp(50px, 8vw, 80px) 0;
    background: #f9f9f9;
}

.gallery-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a2951;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #666;
    text-align: center;
    margin-bottom: clamp(35px, 5vw, 50px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(20px, 2.5vw, 25px);
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: clamp(220px, 30vw, 280px);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-label {
    padding: clamp(15px, 2vw, 20px) 15px;
    text-align: center;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 600;
    color: #1a2951;
    background: white;
}

/* ========================================
   KOREAN FEATURE SECTION
   ======================================== */

.korean-feature-section {
    padding: clamp(50px, 8vw, 80px) 0;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8ed 100%);
}

.korean-feature-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a2951;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.korean-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(35px, 5vw, 50px);
    max-width: 1000px;
    margin: 0 auto;
}

.korean-feature-item {
    text-align: center;
    padding: clamp(30px, 4vw, 40px) clamp(25px, 3vw, 30px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.korean-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: clamp(48px, 6vw, 64px);
    margin-bottom: clamp(20px, 2.5vw, 25px);
    line-height: 1;
}

.korean-feature-item h3 {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #1a2951;
    line-height: 1.4;
}

/* ========================================
   CONTACT SECTION - ENHANCED
   ======================================== */

.contact-section {
    padding: clamp(60px, 10vw, 100px) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #3A68B8, #0066cc);
    background-size: 200% 100%;
    animation:  gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position:  0% 50%; }
    50% { background-position:  100% 50%; }
}

.contact-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-label {
    display: inline-block;
    color: #ff9800;
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom:  10px;
    text-transform: uppercase;
    position: relative;
    padding:  8px 20px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 20px;
}

.contact-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #1a2951;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-section p {
    font-size: clamp(0.9rem, 1.5vw, 1.125rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: flex-start;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Information Card */
.contact-info {
    background: white;
    padding: clamp(30px, 4vw, 40px);
    border-radius:  12px;
    box-shadow:  0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-info:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.contact-info h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: #1a2951;
    font-weight: 600;
    margin-bottom: clamp(25px, 3vw, 30px);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #3A68B8);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: clamp(20px, 2.5vw, 25px);
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
    transform:  translateX(5px);
}

.contact-icon {
    font-size: clamp(20px, 3vw, 24px);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066cc, #3A68B8);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #1a2951;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a {
    color: #0066cc;
    position: relative;
}

.contact-details a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition:  width 0.3s ease;
}

.contact-details a:hover {
    color: #1a2951;
}

.contact-details a:hover::after {
    width: 100%;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    padding: clamp(30px, 4vw, 40px);
    border-radius:  12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-form-container:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-form-container h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: #1a2951;
    font-weight: 600;
    margin-bottom: clamp(25px, 3vw, 30px);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h3::after {
    content: '';
    position: absolute;
    bottom:  0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height:  3px;
    background:  linear-gradient(90deg, #0066cc, #3A68B8);
    border-radius: 2px;
}

.catering-contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(15px, 2vw, 20px);
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: clamp(12px, 1.5vw, 15px) clamp(15px, 2vw, 18px);
    border: 1px solid #ddd;
    border-radius:  8px;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position:  right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right:  40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Inter', sans-serif;
}

.contact-submit-btn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0066cc, #3A68B8);
    color: white;
    border: none;
    padding: clamp(15px, 2vw, 18px) clamp(30px, 4vw, 40px);
    border-radius:  8px;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: clamp(10px, 1.5vw, 15px);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background:  rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #0052a3, #2850a0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn i {
    position: relative;
    z-index: 1;
}

.contact-submit-btn span {
    position: relative;
    z-index: 1;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablets and below */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: clamp(30px, 4vw, 40px);
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .catering-contact-form {
        grid-template-columns: 1fr;
        gap: clamp(15px, 2vw, 18px);
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
    }
    
    .contact-icon {
        margin:  0;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    html {
        font-size: 13px; /* Smaller base font for mobile */
    }
    body {
        font-size: 0.95rem;
    }
    .hero-title {
        font-size: 1.5rem !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .category-tab span {
        font-size: 0.8rem !important;
    }
    .catering-detail-text h2,
    .why-choose-title,
    .gallery-title,
    .korean-feature-title,
    .contact-section h2 {
        font-size: 1.1rem !important;
    }
    .section-subheader,
    .gallery-subtitle,
    .why-choose-item h3,
    .korean-feature-item h3,
    .product-label {
        font-size: 0.85rem !important;
    }
    .catering-detail-text ul li,
    .contact-section p,
    .contact-details p,
    .contact-details a,
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.85rem !important;
    }
    
    /* Improved container padding */
    .container {
        padding: 0 15px !important;
        max-width: 100vw !important;
    }
    
    /* Improved category tabs spacing */
    .category-tabs {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .category-tab {
        padding: 16px 10px !important;
        gap: 8px !important;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
    }
    /* Remove hover transforms on mobile for better touch UX */
    .category-tab:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .category-tab:active {
        background: #f0f0f0;
    }
    
    .catering-detail-content,
    .why-choose-grid,
    .products-grid,
    .korean-feature-grid,
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .product-image {
        height: 120px !important;
    }
    .feature-icon, .why-icon {
        font-size: 2rem !important;
    }
    
    /* Remove hover transforms on mobile */
    .product-item:hover,
    .why-choose-item:hover,
    .korean-feature-item:hover,
    .contact-info:hover,
    .contact-form-container:hover {
        transform: none !important;
    }
    
    .contact-section {
        padding: clamp(30px, 6vw, 40px) 0;
    }
    .contact-info,
    .contact-form-container {
        padding: clamp(16px, 3vw, 20px);
    }
    
    /* Fixed contact items - keep row layout */
    .contact-item {
        margin-bottom: 12px;
        padding: 10px;
        flex-direction: row !important;
        text-align: left !important;
        align-items: flex-start;
        gap: 12px;
    }
    .contact-item:hover {
        transform: none !important;
        background: #f8f9fa;
    }
    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin: 0 !important;
        flex-shrink: 0;
    }
    .contact-details {
        flex: 1;
        min-width: 0;
    }
    
    .contact-submit-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    .contact-submit-btn:hover {
        transform: none !important;
    }
}

/* Extra small devices */
@media (max-width: 374px) {
    .contact-label {
        font-size: 0.7rem;
        padding: 6px 15px;
    }
    
    .contact-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        gap: 10px;
    }
}