/* ============================================
   INDEX - HOME PAGE
   Specific styles for homepage with path selection
   ============================================ */

/* Hero Home Section */
.hero-home {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-home .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-home .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-home .hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-script {
    font-family: 'Allura', cursive;
    font-size: 10rem;
    color: white;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    line-height: 0.9;
    position: relative;
    transform: rotate(-3deg);
    transform-origin: left center;
    font-style: italic;
    letter-spacing: 0.05rem;
}

.hero-spaced {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.3rem;
    font-weight: 400;
    line-height: 1;
    margin-left: 280px;
    margin-top: -20px;
}

.hero-home .hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-home .hero-tagline {
    font-size: 1.4rem;
    font-style: italic;
    color: #f0e8d8;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.95);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.hero-home .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-home .scroll-indicator i {
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Path Selection Section */
.path-selection {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f7f5f2 0%, #e8e6e1 50%, #f7f5f2 100%);
}

.path-selection .section-title {
    font-family: 'Amatic SC', cursive;
    text-align: center;
    font-size: 4rem;
    margin-bottom: 4rem;
    color: #2c3e50;
}

/* Paths Container - Organic Layout */
.paths-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.path-journey {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.path-journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/kakao.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.path-journey > * {
    position: relative;
    z-index: 1;
}

.path-journey:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Path Visual/Symbol */
.path-visual {
    flex-shrink: 0;
}

.path-symbol {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b6f47, #5a7a6e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(139, 111, 71, 0.3);
}

.symbol-text {
    font-size: 4rem;
    color: white;
    font-weight: 300;
}

/* Path Story/Content */
.path-story {
    flex: 1;
}

.path-name {
    font-family: 'Amatic SC', cursive;
    font-size: 3rem;
    color: #8b6f47;
    margin-bottom: 1rem;
}

.path-essence {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.path-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.element {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.1), rgba(90, 122, 110, 0.1));
    color: #5a7a6e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(90, 122, 110, 0.2);
}

.path-enter {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #8b6f47, #a5845a);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(139, 111, 71, 0.2);
}

.path-enter:hover {
    background: linear-gradient(135deg, #a5845a, #c19a6b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 111, 71, 0.3);
}

/* Footer Note */
.footer-note {
    padding: 3rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.disclaimer {
    text-align: center;
    font-size: 1.2rem;
    color: #777;
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
    line-height: 1.6;
}

/* Footer - Index Specific */
/* Footer - Consistent with other pages */
.footer {
    background-image: url('../assets/images/kakao.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-logo {
    height: 180px;
    width: auto;
    margin: 0 auto 0.2rem;
    display: block;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.05) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.footer p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.footer a,
.footer a:visited,
.footer a:hover,
.footer a:active,
.footer a:focus {
    color: #fff;
    text-decoration: none;
}

.footer-tagline {
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

.footer-tagline i {
    color: #8b4513;
}

/* Responsive - Index Page */
@media (max-width: 768px) {
    .hero-home .hero-title {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .hero-script {
        font-size: 4.5rem;
        transform: none;
        margin-left: 0;
    }
    
    .hero-spaced {
        font-size: 1.3rem;
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }
    
    .hero-home .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-home .hero-tagline {
        font-size: 1.2rem;
    }
    
    .path-selection .section-title {
        font-size: 3rem;
    }
    
    .path-journey {
        flex-direction: column !important;
        padding: 2rem;
        gap: 2rem;
    }
    
    .path-symbol {
        width: 100px;
        height: 100px;
    }
    
    .symbol-text {
        font-size: 3rem;
    }
    
    .path-name {
        font-size: 2.5rem;
    }
    
    .path-essence {
        font-size: 1.2rem;
    }
    
    .element {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-home .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-home .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-home .hero-tagline {
        font-size: 1rem;
    }
    
    .path-selection {
        padding: 3rem 0;
    }
    
    .path-selection .section-title {
        font-size: 2.5rem;
    }
    
    .path-journey {
        padding: 1.5rem;
    }
    
    .path-symbol {
        width: 80px;
        height: 80px;
    }
    
    .symbol-text {
        font-size: 2.5rem;
    }
    
    .path-name {
        font-size: 2rem;
    }
    
    .path-essence {
        font-size: 1.1rem;
    }
    
    .path-enter {
        font-size: 1.1rem;
        padding: 0.7rem 1.5rem;
    }
}
/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 6rem 0;
    background-color: #f9f6f2;
}

.contact-section .section-title {
    font-family: 'Allura', cursive;
    font-size: 4.5rem;
    color: #4A3C32;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 3rem;
    align-items: center;
}

.contact-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-info {
    padding-left: 2rem;
}

.contact-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #5D4E37;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.contact-item i {
    font-size: 2rem;
    color: #8B7355;
    min-width: 2rem;
    margin-top: 0.3rem;
}

.contact-details h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 1.6rem;
    color: #4A3C32;
    margin: 0 0 0.3rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #5D4E37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #8B7355;
    text-decoration: underline;
}

.contact-details p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #5D4E37;
    margin: 0;
}

/* Map Wrapper */
.map-wrapper {
    margin-top: 3rem;
    width: 100%;
}

.map-title {
    font-family: 'Allura', cursive;
    font-size: 3rem;
    color: #4A3C32;
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: white;
    padding: 8px;
}

.map-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.map-container iframe {
    border-radius: 15px;
    display: block;
}

/* Contact Section Mobile */
@media (max-width: 968px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-section .section-title {
        font-size: 3.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-image {
        max-height: 400px;
    }
    
    .contact-info {
        padding-left: 0;
    }
    
    .contact-intro {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .map-wrapper {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .map-title {
        font-size: 2.5rem;
    }
    
    .map-container {
        padding: 5px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-section .section-title {
        font-size: 3rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1.4rem;
    }
    
    .contact-details a {
        font-size: 1rem;
    }
    
    .map-title {
        font-size: 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-section .section-title {
        font-size: 3.5rem;
    }
    
    .contact-intro {
        font-size: 1.15rem;
        padding: 0 1rem;
    }
    
    .contact-image {
        max-height: 350px;
    }
    
    .contact-item {
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 1.7rem;
    }
    
    .contact-details h3 {
        font-size: 1.5rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section .section-title {
        font-size: 3rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .contact-image {
        max-height: 300px;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1.3rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {
    background-image: url('../assets/images/kakao.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-logo {
    height: 180px;
    width: auto;
    margin: 0 auto 0.2rem;
    display: block;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.05) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-slow);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.footer p {
    margin: 0.5rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.footer a,
.footer a:visited,
.footer a:hover,
.footer a:active,
.footer a:focus {
    color: #fff;
    text-decoration: none;
}

.footer-tagline {
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

.footer-credits {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    margin-top: 1.5rem;
    letter-spacing: 0.3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-style: italic;
}
