/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #2b5f3a; /* Deep forest green */
    --primary-hover: #1e452a;
    --secondary-color: #8c7355; /* Earthy brown */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    word-break: keep-all;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.text-highlight {
    color: var(--primary-color);
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(43, 95, 58, 0.2);
}

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

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-speed) ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo,
.header.scrolled .nav-link {
    color: var(--text-dark);
}

.header.scrolled .hamburger .bar {
    background-color: var(--text-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    transition: color var(--transition-speed) ease;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: color var(--transition-speed) ease;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s infinite alternate;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 2px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-subtitle:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    word-break: keep-all;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

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

.about-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform var(--transition-speed) ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.about-card p {
    color: var(--text-light);
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Attractions Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
    opacity: 1;
}

.item-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.item-overlay p {
    font-size: 1rem;
    font-weight: 300;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #222222;
    color: #cccccc;
    padding: 60px 0 20px;
}

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

.footer-col h3, .footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1.5rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color var(--transition-speed) ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ==========================================================================
   Responsive Design (Mobile First adjustments)
   ========================================================================== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-link {
        color: var(--text-dark);
        display: block;
        padding: 15px;
    }
    
    .header .logo {
        color: var(--text-dark); /* Ensure logo is visible on mobile if background is white */
    }
    
    .header {
        background-color: var(--white);
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .hamburger .bar {
        background-color: var(--text-dark);
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 3.5rem);
        white-space: nowrap;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    text-align: left;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-dark);
    line-height: 1.8;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-dark);
}

/* ==========================================================================
   Restaurant Table Styles
   ========================================================================== */
.restaurant-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 1rem;
}

.restaurant-table th, .restaurant-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.restaurant-table th {
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.restaurant-table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 600px) {
    .restaurant-table th, .restaurant-table td {
        padding: 8px 5px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Map Hotspots Styles
   ========================================================================== */
.map-hotspot {
    position: absolute;
    width: 6%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: rgba(43, 95, 58, 0.2); /* 위치 확인용 반투명 색상 */
    border: 2px solid transparent;
    cursor: pointer;
    transform: translate(-50%, -50%); /* top/left 값을 원의 중심으로 설정 */
    transition: all 0.3s ease;
    z-index: 10;
}

.map-hotspot:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(43, 95, 58, 0.4);
    border: 2px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Floating Action Buttons (FAB)
   ========================================================================== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.fab-map {
    background: linear-gradient(135deg, #2b5f3a, #3e8e55);
}

.fab-phone {
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h3, .footer-col h4 {
    margin-bottom: 15px;
    color: var(--white);
}
.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--white);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ==========================================================================
   Gomchwi Section Styles
   ========================================================================== */
.gomchwi {
    background-color: var(--white);
}

.gomchwi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.gomchwi-img-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.gomchwi-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.gomchwi-img-box:hover img {
    transform: scale(1.05);
}

.gomchwi-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specialty-badge {
    align-self: flex-start;
    background-color: rgba(43, 95, 58, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.gomchwi-info-box h3 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

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

.gomchwi-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.gomchwi-features li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.4rem;
    background-color: var(--bg-light);
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.gomchwi-features h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.gomchwi-features p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Recipe Grid */
.recipe-title {
    margin-top: 50px;
    margin-bottom: 40px;
}

.recipe-title h3 {
    font-size: 1.9rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.recipe-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.recipe-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    text-align: center;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.recipe-card:hover {
    transform: translateY(-8px);
    border-color: rgba(43, 95, 58, 0.2);
    background-color: var(--white);
    box-shadow: 0 15px 35px rgba(43, 95, 58, 0.08);
}

.recipe-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.recipe-card h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.recipe-card p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .gomchwi-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .gomchwi-img-box {
        height: 350px;
    }
    .gomchwi-info-box h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .gomchwi-img-box {
        height: 250px;
    }
    .recipe-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Contact Us Section Styles
   ========================================================================== */
.contact {
    background-color: var(--bg-light);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(43, 95, 58, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(43, 95, 58, 0.15);
}

.form-control.textarea {
    resize: none;
}

.btn-submit {
    min-width: 180px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    font-family: inherit;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.contact-status-msg {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-status-msg.success {
    color: var(--primary-color);
}

.contact-status-msg.error {
    color: #e53e3e;
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 30px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
