:root {
    --primary: #d35400; 
    --primary-light: #e67e22;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-gray: #f9f9f9;
    --border: #e0e0e0;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

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

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

/* Header */
.header {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.header.scrolled {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
}

.header.scrolled .logo a {
    color: var(--primary);
}

.logo span {
    font-weight: 300;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.header.scrolled .logo span {
    color: var(--text-muted);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 16px;
}

.desktop-nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.mobile-br {
    display: none;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 20px;
    font-weight: 300;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
}

/* About */
.about {
    background-color: var(--bg-gray);
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.about-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -60px; /* Vertically overlap the rows slightly */
    position: relative;
    z-index: 1;
}

.about-row:last-child {
    margin-bottom: 0;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-row .img-col {
    width: 60%;
    position: relative;
    z-index: 1;
}

.about-row .img-col img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
}

.about-row .text-col {
    width: 45%;
    margin-left: -5%; /* Overlap image horizontally */
    z-index: 2;
    padding: 40px;
    background-color: #f7f9fc;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    position: relative;
}

.about-row.reverse .text-col {
    margin-left: 0;
    margin-right: -5%; /* Overlap image horizontally on the other side */
    background-color: #fcf9f2;
}

.about-sub-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-desc, .about-list {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.about-list li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
}

.about-highlight {
    font-weight: 600;
    color: var(--primary);
    margin-top: 10px;
}

/* Mobile specific layout */
@media (max-width: 768px) {
    .about-row, .about-row.reverse {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .about-row .img-col {
        width: 100%;
        margin-bottom: -20px; /* Pull text box up to overlap vertically */
    }
    
    .about-row .text-col, .about-row.reverse .text-col {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
        padding: 25px 20px;
        background: rgba(255, 255, 255, 0.95); /* Solid enough to cover image edge */
        margin-top: -30px; /* Slight overlap with image */
    }

    .about-sub-title {
        font-size: 18px;
    }

    .about-desc, .about-list {
        font-size: 14px;
    }
}


/* Review Slider / Swiper */
.review-swiper {
    position: relative;
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
}

.review-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    gap: 0;
}
.review-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar Safari/Chrome */
}

.review-slide {
    flex: 0 0 75%;
    margin: 0 5px;
    scroll-snap-align: center;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: none;
}

@media (min-width: 768px) {
    .review-slide {
        flex: 0 0 calc(50% - 10px); /* Exactly 2 slides visible side-by-side with small margin */
        margin: 0 5px;
    }
}

.review-slide img {
    width: 100%;
    aspect-ratio: 4 / 3; /* Matches the rectangular shape in reference */
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.review-slide:hover img {
    transform: scale(1.02);
}

/* Slider Controls */
.review-prev, .review-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 50px;
    font-weight: 100;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    user-select: none;
}

.review-prev:hover, .review-next:hover {
    color: #fff;
}

.review-prev { left: 20px; }
.review-next { right: 20px; }

/* Pagination Dots */
.review-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.review-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: transparent;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.review-pagination .dot.active {
    background-color: var(--primary); /* Highlight red similar to the dogdog site */
    border-color: var(--primary);
    transform: scale(1.1);
}

.gallery {
    padding: 100px 0;
    background-color: #fff;
}

.gallery .section-title h2 {
    font-size: 32px;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.price-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.price-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.price-item:hover img {
    transform: scale(1.02);
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0b0b;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 95%;
    max-height: 85vh;
    transition: transform 0.2s ease-out; /* Use ease-out for smoother dragging snap */
    cursor: zoom-in;
    user-select: none;
    touch-action: none; /* Let JS handle touch completely */
}

.lightbox-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden; /* We rely on transform now instead of default scrollbars */
}

/* Lightbox Top Bar */
.lightbox-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10000;
}

.lightbox-top-left {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #999;
    font-size: 14px;
}

.lightbox-title {
    color: #666;
}

.lightbox-top-center .logo {
    color: #555;
    font-size: 26px;
    font-weight: 700;
}
.lightbox-top-center .logo span {
    color: #555;
    font-weight: 700;
}

.lightbox-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.control-icon {
    color: #999;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.control-icon:hover {
    color: #fff;
}

/* Navigation Buttons */
.nav-btn {
    color: rgba(255,255,255,0.3);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    user-select: none;
    transition: color 0.3s;
    z-index: 10000;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.nav-btn:hover {
    color: #fff;
    background: rgba(0,0,0,0.5);
}

.prev { left: 20px; }
.next { right: 20px; }

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-info h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-info p {
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.8;
}

.social-links {
    margin-bottom: 40px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.1);
}

.footer-copy {
    opacity: 0.6;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    width: 100%;
}

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
    }
    .review-grid {
        grid-template-columns: 1fr;
    }
    .desktop-nav {
        display: none;
    }
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .mobile-br {
        display: block;
    }
    .hero {
        text-align: left;
    }
    .hero-content {
        width: 100%;
        text-align: left;
    }
    .hero h1 {
        font-size: 36px;
    }
}

/* Kakao Floating Button */
.kakao-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    background-color: #FAE100;
    color: #371D1E;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* PC Version: Horizontal rounded rectangle */
@media (min-width: 769px) {
    .kakao-float {
        padding: 12px 24px;
        border-radius: 50px;
        font-size: 16px;
        gap: 12px;
    }
    .kakao-float::before {
        content: "카카오톡 상담하기";
    }
}

/* Mobile Version: Circle */
@media (max-width: 768px) {
    .kakao-float {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        right: 20px;
        bottom: 20px;
    }
}

.kakao-float svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.kakao-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #FEE500;
}
