/* ============================================
   드리움 커튼&블라인드 - 메인 스타일
   ============================================ */

:root {
    --color-primary: #8B7355;
    --color-primary-dark: #6B5740;
    --color-accent: #D4A574;
    --color-dark: #2C2825;
    --color-text: #3A3530;
    --color-text-light: #6B645C;
    --color-light: #F5F0E8;
    --color-cream: #FAF6F0;
    --color-white: #ffffff;
    --color-border: #E8E0D4;
    --color-kakao: #FEE500;
    --shadow-sm: 0 2px 8px rgba(44, 40, 37, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 40, 37, 0.1);
    --shadow-lg: 0 8px 32px rgba(44, 40, 37, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: var(--color-cream);
}

/* ============================================
   섹션 헤드
   ============================================ */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 16px;
}
.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--color-dark);
    margin-bottom: 16px;
}
.section-sub {
    font-size: 17px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   상단 알림바
   ============================================ */
.top-bar {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.top-bar .divider {
    opacity: 0.4;
}

/* ============================================
   헤더
   ============================================ */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo img {
    height: 60px;
    width: auto;
}
.main-nav ul {
    display: flex;
    gap: 36px;
}
.main-nav a {
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}
.main-nav a:hover {
    color: var(--color-primary);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}
.main-nav a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition);
}

/* ============================================
   히어로
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(44, 40, 37, 0.6) 0%, rgba(44, 40, 37, 0.3) 50%, transparent 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 1200px;
    width: 100%;
}
.hero-tag {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3em;
    opacity: 0.9;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.15;
    margin-bottom: 28px;
}
.hero-sub {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 44px;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   버튼
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-dark);
}
.btn-light {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}
.btn-light:hover {
    background: var(--color-light);
}
.btn-kakao {
    background: var(--color-kakao);
    color: #3C1E1E;
    border-color: var(--color-kakao);
}
.btn-kakao:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

/* ============================================
   시공 프로세스
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--color-cream);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}
.process-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--color-white);
}
.process-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.process-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.process-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}
.process-item p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   커튼 종류
   ============================================ */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.type-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.type-img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.type-card:hover .type-img img {
    transform: scale(1.05);
}
.type-info {
    padding: 24px;
}
.type-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}
.type-info p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ============================================
   드리움을 선택하는 이유
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-item {
    text-align: center;
    padding: 32px 20px;
}
.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}
.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}
.feature-item p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}
.cta h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.cta p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 40px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   푸터
   ============================================ */
.site-footer {
    background: #1A1815;
    color: var(--color-white);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}
.footer-logo {
    font-size: 22px !important;
    color: var(--color-accent) !important;
}
.footer-slogan {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.7;
}
.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}
.footer-col ul a:hover {
    color: var(--color-accent);
}
.footer-area {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-keywords {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.9;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   플로팅 버튼
   ============================================ */
.floating-buttons {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.float-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: var(--transition);
    font-weight: 600;
}
.float-btn:hover {
    transform: scale(1.1);
}
.float-icon {
    font-size: 22px;
    line-height: 1;
}
.float-label {
    font-size: 10px;
    margin-top: 4px;
}
.float-phone {
    background: var(--color-dark);
    color: var(--color-white);
}
.float-kakao {
    background: var(--color-kakao);
    color: #3C1E1E;
}
.float-inquiry {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   반응형 - 태블릿
   ============================================ */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 52px;
    }
    .section-title {
        font-size: 34px;
    }
}

/* ============================================
   반응형 - 모바일
   ============================================ */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .top-bar {
        font-size: 11px;
        padding: 8px 0;
    }
    .top-bar .container {
        gap: 8px;
    }
    .top-bar .divider {
        display: none;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 24px;
    }
    .main-nav a {
        font-size: 18px;
    }
    .menu-toggle {
        display: flex;
    }
    .hero {
        height: 75vh;
        min-height: 500px;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-sub {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .section-title {
        font-size: 28px;
    }
    .section-sub {
        font-size: 15px;
    }
    .process-grid,
    .types-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    .cta h2 {
        font-size: 26px;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* 모바일 플로팅 - 하단 가로 */
    .floating-buttons {
        right: 0;
        bottom: 0;
        left: 0;
        flex-direction: row;
        gap: 0;
    }
    .float-btn {
        flex: 1;
        width: auto;
        height: 60px;
        border-radius: 0;
        flex-direction: row;
        gap: 8px;
    }
    .float-label {
        font-size: 14px;
        margin-top: 0;
    }
    body {
        padding-bottom: 60px;
    }
}
/* 커튼 종류 카드 이미지 */
.type-img {
    overflow: hidden;
}
.type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.type-card:hover .type-img img {
    transform: scale(1.05);
}
/* ============================================
   신뢰감 띠
   ============================================ */
.trust-bar {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 24px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.trust-icon {
    font-size: 32px;
    line-height: 1;
}
.trust-text {
    display: flex;
    flex-direction: column;
}
.trust-text strong {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}
.trust-text span {
    font-size: 12px;
    opacity: 0.85;
}

/* ============================================
   최근 시공 사례
   ============================================ */
.recent-cases {
    background: var(--color-white);
}
.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.recent-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.recent-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.recent-img {
    width: 100%;
    height: 100%;
}
.recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.recent-card:hover .recent-img img {
    transform: scale(1.05);
}
.recent-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: var(--color-white);
}
.recent-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    background: var(--color-primary);
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.recent-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}
.recent-overlay p {
    font-size: 13px;
    opacity: 0.9;
}
.recent-more {
    text-align: center;
    margin-top: 48px;
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   고객 후기
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--color-white);
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.review-stars {
    color: #FFB800;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.review-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}
.review-card > p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    min-height: 90px;
}
.review-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}
.review-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
}
.review-meta {
    font-size: 12px;
    color: var(--color-primary);
}

/* ============================================
   FAQ 미리보기
   ============================================ */
.faq-preview-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-prev-item {
    background: var(--color-cream);
    border-radius: 12px;
    padding: 24px 28px;
    transition: var(--transition);
}
.faq-prev-item:hover {
    background: var(--color-light);
    transform: translateX(4px);
}
.faq-prev-q {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.faq-prev-q span {
    color: var(--color-primary);
    font-weight: 800;
    flex-shrink: 0;
}
.faq-prev-a {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
}
.faq-prev-a span {
    color: var(--color-accent);
    font-weight: 800;
    flex-shrink: 0;
}
.faq-preview-more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   반응형
   ============================================ */
@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .recent-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 20px 0;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .trust-item {
        justify-content: flex-start;
        padding: 4px 0;
    }
    .recent-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .review-card > p {
        min-height: auto;
    }
    .faq-prev-item {
        padding: 20px;
    }
}
/* 푸터 지역 키워드 링크 스타일 */
.footer-keywords a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}
.footer-keywords a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .logo img {
        height: 44px;    /* 모바일에서는 좀 작게 */
    }
}

/* ============================================
   인테리어 인사이트 섹션 (블로그 미리보기)
   ============================================ */
.insights-section {
    background: var(--color-cream);
}
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}
.insight-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}
.insight-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-light);
}
.insight-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.insight-card:hover .insight-card-img img {
    transform: scale(1.05);
}
.insight-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 12px;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-sm);
}
.insight-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.insight-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.45;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.insight-card-body p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}
.insight-card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--color-text-light);
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}
.insights-more {
    text-align: center;
}

/* 반응형 */
@media (max-width: 1024px) {
    .insights-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}
@media (max-width: 768px) {
    .insights-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .insight-card-body h3 { 
        font-size: 17px; 
    }
}