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

:root {
    /* Khaki Red Color Palette */
    --primary-color: #C4A484;      /* Khaki */
    --secondary-color: #B85450;    /* Muted Red */
    --accent-color: #D4A574;       /* Light Khaki */
    --dark-red: #8B3A3A;          /* Dark Red */
    --light-khaki: #E8D5B7;       /* Very Light Khaki */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    /* Typography */
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-khaki) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(196, 164, 132, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge i {
    color: #FFD700;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.title-highlight {
    color: var(--secondary-color);
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    opacity: 0.7;
}

.title-main {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 5px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 18px 35px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    align-self: flex-start;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary i {
    font-size: 1.2rem;
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.cta-note i {
    color: var(--secondary-color);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image img {
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-image img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--light-khaki);
    border-radius: 50%;
    z-index: -1;
}

.image-placeholder {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--light-khaki);
    border-radius: 50%;
    z-index: -1;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.image-placeholder span {
    font-size: 1.3rem;
    font-weight: 600;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
    position: relative;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-100);
}

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

.about-image .image-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.about-image .image-placeholder i {
    font-size: 3rem;
}

.about-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.about-title {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.highlight-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

.about-quote {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    font-style: italic;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
}

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

.content-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.content-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.content-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-content p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews {
    padding: var(--section-padding);
    background: var(--gray-100);
}

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

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.reviewer-info h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.reviewer-info p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating i {
    color: #FFD700;
    font-size: 1.1rem;
}

.review-text {
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-brand i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-500);
}

/* 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.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(135deg, var(--light-khaki) 0%, var(--white) 100%);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.close {
    color: var(--gray-500);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--secondary-color);
    background: rgba(184, 84, 80, 0.1);
}

.modal-body {
    padding: 30px;
}

.modal-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 20px 0 10px 0;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-body ul {
    margin: 10px 0 15px 20px;
    color: var(--gray-700);
}

.modal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-body strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.btn-fixed {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.btn-fixed:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 84, 80, 0.4);
}

.btn-fixed i {
    font-size: 1.1rem;
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: translateY(-2px) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-image img {
        width: 280px !important;
        height: 280px !important;
    }
    
    .image-placeholder {
        width: 280px;
        height: 280px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .content-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .btn-fixed {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 25px;
        gap: 8px;
    }
    
    .btn-fixed span {
        display: inline;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) {
    .content-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Small tablet */
@media (max-width: 640px) {
    .content-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-stats {
        gap: 15px;
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image img {
        width: 220px !important;
        height: 220px !important;
        margin: 0 auto;
        display: block;
    }
    
    .image-placeholder {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }
    
    .image-placeholder i {
        font-size: 2.5rem;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 16px 25px;
        font-size: 1rem;
    }
    
    .cta-note {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .about-content {
        text-align: center;
        gap: 30px;
    }
    
    .about-name {
        font-size: 1.6rem;
    }
    
    .about-title {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .highlight-item {
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .highlight-item i {
        margin-top: 0;
        margin: 0 auto;
    }
    
    .about-quote {
        padding: 20px;
        font-size: 0.95rem;
        text-align: center;
    }
    
    .content-cards {
        gap: 15px;
    }
    
    .card-image {
        height: 160px;
    }
    
    .card-content {
        padding: 15px;
        text-align: center;
    }
    
    .card-content h3 {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .card-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .review-card {
        padding: 18px;
        text-align: center;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .reviewer-info {
        justify-content: center;
    }
    
    .review-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .faq-question {
        padding: 18px 15px;
        text-align: left;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 18px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-content {
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 15px;
    }
    
    /* Modal responsive */
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .close {
        font-size: 1.5rem;
        width: 25px;
        height: 25px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-body h4 {
        font-size: 1.1rem;
        margin: 15px 0 8px 0;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .modal-body ul {
        margin: 8px 0 12px 15px;
    }
    
    .modal-body li {
        font-size: 0.9rem;
        margin-bottom: 6px;
        line-height: 1.5;
    }
    
    /* Fixed CTA button for mobile */
    .btn-fixed {
        padding: 12px 18px;
        font-size: 0.85rem;
        border-radius: 25px;
        gap: 6px;
        white-space: nowrap;
    }
    
    .btn-fixed span {
        display: inline;
    }
    
    .btn-fixed i {
        font-size: 0.9rem;
    }
}