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

:root {
    --primary-color: #0066FF;
    --primary-dark: #0047B3;
    --secondary-color: #FFD700;
    --accent-color: #FF6B35;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 102, 255, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 102, 255, 0.15);
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #0047B3 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    /*
    transform: translateY(100vh);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);*/
}

body.loaded {
    
    transform: translateY(0);
    opacity: 1;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: top left, bottom right, bottom;
    background-repeat: no-repeat;
    background-size: 100%, 100%, cover;
    animation: wave 20s ease-in-out infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.pizza-decoration {
    position: absolute;
    font-size: 8rem;
    z-index: 5;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.pizza-left {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.pizza-right {
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}
body {
    /* transform: translateY(100vh); */  /* 이 줄 제거 */
    /* opacity: 0; */  /* 이 줄 제거 */
    /* transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); */  /* 이 줄 제거 */
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 1s ease-out;
    margin-top: 0;
}

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

.hero-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.hero-stat-item strong {
    font-size: 1.8rem;
    font-weight: 700;
}

.hero-stat-item span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

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

.logo-container {
    margin-bottom: 30px;
}

.logo {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background: linear-gradient(to right, #ffffff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(255,255,255,0.8));
    }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.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, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    position: relative;
    z-index: 1;
}

.btn span,
.btn:not(:has(i)) {
    position: relative;
    z-index: 1;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-indicator-fixed {
        bottom: 350px;
    }
}

.scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    animation: fadeInOut 4s infinite;
    z-index: 5;
}

.scroll-hint span {
    display: block;
    margin-bottom: 5px;
}

.scroll-hint i {
    font-size: 1.2rem;
    animation: pulse 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.stat-item:hover::before {
    top: -30%;
    right: -30%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background: var(--bg-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.menu-item {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Different slide directions */
.menu-item:nth-child(odd) {
    transform: translateX(-80px) translateY(60px) scale(0.95);
}

.menu-item:nth-child(even) {
    transform: translateX(80px) translateY(60px) scale(0.95);
}

.menu-item.slide-in {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    z-index: 999;
}

.menu-item:hover::after {
    opacity: 1;
}

.menu-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

.menu-item:hover .menu-image img {
    transform: scale(1.1);
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.95) 0%, rgba(0, 71, 179, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover .menu-overlay {
    opacity: 1;
}

.order-btn {
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: scale(1.1);
}

.menu-info {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.menu-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-info h3::before {
    content: '🍕';
    font-size: 1.3rem;
}

.menu-info p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* More Menu Section */
.more-menu-section {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.more-menu-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 40px 60px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.more-menu-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.more-menu-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.4);
}

.more-menu-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce-pizza 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes bounce-pizza {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.more-menu-text {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.more-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 10px 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.more-menu-link:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.more-menu-link i {
    transition: transform 0.3s ease;
}

.more-menu-link:hover i {
    transform: translateX(5px);
}

.more-menu-subtext {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Info Section */
.info {
    padding: 100px 0;
    background: var(--white);
}

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

.info-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.info-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.info-card:hover,
.info-card-link:hover .info-card {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon,
.info-card-link:hover .info-card .info-icon {
    background: var(--white);
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-card a,
.info-card-link:hover .info-card {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-card:hover a,
.info-card-link:hover .info-card a {
    color: var(--white);
}

.info-description {
    font-size: 1rem !important;
    opacity: 0.8;
}

/* Social Section */
.social {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.social .section-title {
    color: var(--white);
}

.social .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--white);
    transform: translateY(-10px);
}

.social-link i {
    font-size: 3rem;
}

.social-link span {
    font-size: 1.1rem;
    font-weight: 500;
}

.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.facebook:hover {
    background: #1877f2;
}

.twitter:hover {
    background: #1da1f2;
}

.website:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: #212121;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-info p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Fixed Order Button */
.fixed-order-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: red !important;
    color: white !important;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10000 !important;
    transition: all 0.3s ease;
    animation: bounce-order 2s infinite;
    transform: translateY(0) !important;
    visibility: visible !important;
}

@keyframes bounce-order {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-5px) scale(1.05); }
    60% { transform: translateY(-3px) scale(1.03); }
}

.fixed-order-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pizza-decoration {
        font-size: 5rem;
    }

    .logo {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .hero-stats {
        gap: 15px;
    }

    .hero-stat-item {
        padding: 12px 20px;
    }

    .hero-stat-item strong {
        font-size: 1.5rem;
    }

    .hero-stat-item span {
        font-size: 0.75rem;
    }

    .hero-content {
        margin-top: 0;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .more-menu-card {
        padding: 30px 40px;
    }

    .more-menu-icon {
        font-size: 2.5rem;
    }

    .more-menu-text {
        font-size: 1.1rem;
    }

    .more-menu-link {
        font-size: 1.1rem;
        padding: 12px 30px;
    }

    .more-menu-subtext {
        font-size: 1rem;
    }

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

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .fixed-order-btn {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pizza-decoration {
        font-size: 4rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 14px 20px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .hero-stat-item {
        width: 100%;
    }

    .more-menu-section {
        margin-top: 40px;
    }

    .more-menu-card {
        padding: 25px 30px;
        margin: 0 20px;
    }

    .more-menu-icon {
        font-size: 2rem;
    }

    .more-menu-text {
        font-size: 1rem;
    }

    .more-menu-link {
        font-size: 1rem;
        padding: 12px 25px;
        gap: 8px;
    }

    .more-menu-subtext {
        font-size: 0.95rem;
    }

    .fixed-order-btn {
        bottom: 20px;
        right: 50px;
        padding: 15px 25px;
        font-size: 1rem;
    }
}
