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

:root {
    --primary-color: #1a73e8;
    --secondary-color: #1557b0;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f5f5f5;
    --white: #fff;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    color: var(--text-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color) !important;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Login Button Styles */
.login-button {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

.admin-button {
    background-color: #28a745;
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-left: 0.5rem;
}

.admin-button:hover {
    background-color: #218838;
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: -80px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-out;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    display: none;
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
}

/* Services Section */
.services-section {
    background-color: #f8f9fa;
    padding-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* About Section */
.about-section {
    position: relative;
    background-color: #e9ecef;
    padding: 2.5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.about-text {
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f7ff;
}

/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-card p {
    font-size: 1rem;
}

/* Board Styles */
.board-container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.board-table th,
.board-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.board-table th {
    background-color: #f8f9fa;
    font-weight: 500;
}

.board-table tr:hover {
    background-color: #f8f9fa;
}

.status-pending {
    color: #ff9800;
    font-weight: 500;
}

.status-completed {
    color: #4CAF50;
    font-weight: 500;
}

.write-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1a73e8;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.write-button:hover {
    background-color: #1557b0;
}

.board-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.page-button:hover,
.page-button.active {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-posts i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 1rem;
}

.flash-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estimate Section */
.estimate-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.estimate-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.estimate-info h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.estimate-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.estimate-features {
    list-style: none;
    padding: 0;
}

.estimate-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.estimate-features i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.estimate-form {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.estimate-form .form-group {
    margin-bottom: 0.8rem;
}

.estimate-form label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 500;
    color: var(--text-color);
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: border-color 0.3s;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.estimate-form textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-button {
    background-color: #495057;
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background-color: #343a40;
}

.estimate-board-link {
    text-align: center;
    margin-top: 2rem;
}

.estimate-board-link p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.board-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    color: #495057;
    padding: 0.6rem 1rem;
    border: 2px solid #495057;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.board-link-button:hover {
    background-color: #495057;
    color: var(--white);
    border-color: #495057;
}

/* Responsive Design for Estimate Section */
@media (max-width: 768px) {
    .estimate-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .estimate-info h3 {
        font-size: 1.5rem;
    }
    
    .estimate-form {
        padding: 1.5rem;
    }
    
    .submit-button {
        padding: 0.8rem 1.5rem;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-login-buttons {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.footer-login-buttons .login-button,
.footer-login-buttons .admin-button {
    padding: 0.12rem 0.24rem;
    font-size: 0.32rem;
    border-radius: 3px;
    font-weight: inherit;
    line-height: 1;
    vertical-align: middle;
    transform: scale(2.295);
    transform-origin: left center;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0.8rem 3%;
        gap: 0.6rem;
    }

    .logo {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
        text-align: center;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0.25rem;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.2rem;
    }

    nav ul li {
        width: auto;
        padding: 0;
        flex-shrink: 0;
    }

    nav a {
        font-size: 0.75rem;
        padding: 0.25rem 0.35rem;
        white-space: nowrap;
        display: inline-block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .section-container {
        padding: 3rem 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin: 0.8rem 0;
    }

    .service-card p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .about-section {
        padding: 2rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-text p {
        margin-bottom: 1.5rem;
    }

    .about-features li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .estimate-container {
        padding: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.2rem;
        margin: 0.8rem 0;
    }

    .contact-card p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .footer-info p {
        font-size: 1rem;
        line-height: 1.5;
    }

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

    .footer-contact p {
        justify-content: center;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .slider-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 2%;
        gap: 0.4rem;
    }

    .logo {
        font-size: 1.2rem;
        margin-bottom: 0.15rem;
    }

    nav ul {
        gap: 0.2rem;
    }

    nav a {
        font-size: 0.7rem;
        padding: 0.2rem 0.3rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .about-features li {
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.6rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

    .contact-card p {
        font-size: 0.95rem;
    }

    .footer-info h3 {
        font-size: 1.2rem;
    }

    .footer-info p,
    .footer-contact p {
        font-size: 0.95rem;
    }

    .slider-container {
        height: 250px;
    }
}

/* 메뉴 토글 버튼 스타일 제거 */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    nav ul {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        padding: 0;
        box-shadow: none;
    }
    
    nav ul li {
        margin: 0 10px;
    }
}

/* 시공사진 섹션 */
.construction-section {
    background-color: #e9ecef;
    padding: 1rem 0;
    scroll-margin-top: 100px;
}

.construction-slider {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    backdrop-filter: blur(2px);
}

.slide-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.slide-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 10;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-container {
        height: 280px;
    }

    .slide-info {
        padding: 1.5rem;
    }

    .slide-info h3 {
        font-size: 1.3rem;
    }

    .slide-info p {
        font-size: 1rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 200px;
    }

    .slide-info {
        padding: 1rem;
    }

    .slide-info h3 {
        font-size: 1.1rem;
    }

    .slide-info p {
        font-size: 0.9rem;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
    }
}

/* 시공사진 게시판 스타일 */
.construction-board {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 2rem;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.board-header h1 {
    font-size: 2rem;
    color: var(--text-color) !important;
    margin: 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.post-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.post-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-actions {
    display: flex;
    gap: 1rem;
}

.edit-button,
.delete-button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.edit-button {
    background-color: var(--primary-color);
    color: white;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
}

.edit-button:hover {
    background-color: var(--secondary-color);
}

.delete-button:hover {
    background-color: #c82333;
}

.construction-form {
    max-width: 800px;
    margin: 100px auto 50px;
    padding: 2rem;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-container h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.current-image {
    margin: 1rem 0;
}

.current-image img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 5px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cancel-button {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    background-color: #6c757d;
    color: white;
    transition: background-color 0.3s;
}

.cancel-button:hover {
    background-color: #5a6268;
}

@media (max-width: 768px) {
    .construction-board {
        padding: 1rem;
    }
    
    .board-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .construction-form {
        padding: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* 더보기 버튼 스타일 */
.more-button-container {
    text-align: center;
    margin-top: 0.8rem;
}

.more-button {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    background: linear-gradient(135deg, #333333 0%, #222222 50%, #111111 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border: none;
}

.more-button:hover {
    background: linear-gradient(135deg, #444444 0%, #333333 50%, #222222 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 3px rgba(0,0,0,0.25);
}

.more-button i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .more-button {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .more-button {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
    }
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Estimates List */
.estimates-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.estimate-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.estimate-item:hover {
    transform: translateY(-2px);
}

.estimate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.estimate-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
}

.estimate-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.estimate-info {
    margin-bottom: 1rem;
}

.estimate-info p {
    margin: 0.3rem 0;
    color: var(--text-color);
}

.estimate-service {
    font-weight: 500;
    color: var(--primary-color) !important;
}

.estimate-content {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.estimate-actions {
    display: flex;
    gap: 0.5rem;
}

.view-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.view-button:hover {
    background-color: var(--secondary-color);
}

.delete-button {
    background-color: #dc3545;
    color: var(--white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.delete-button:hover {
    background-color: #c82333;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 1rem;
}

.flash-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
} 