/* ===========================
   Decor Services Page Styles
   =========================== */

/* Hero Section */
.decor-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8dfd6 0%, #d4a574 100%);
    overflow: hidden;
}

.decor-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x;
    background-size: cover;
    background-position: bottom;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 80px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    z-index: 100;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-text {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Rental Items Grid */
.rental-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.rental-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.rental-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.rental-image {
    position: relative;
    height: 250px;
    background: var(--gradient-2);
    overflow: hidden;
}

.rental-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rental-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-image .image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
    opacity: 0.4;
}

.rental-badge {
    position: absolute;
    top: 15px;
    right: 28px;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.rental-badge.new {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.rental-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rental-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.rental-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.rental-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.rental-features li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.rental-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid var(--secondary-color);
}

.rental-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    border-radius: 25px;
    padding: 0.2rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Guides Section */
.guides-section {
    background: var(--secondary-color);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

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

.guide-card.featured {
    grid-column: span 1;
}

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

.guide-image {
    position: relative;
    height: 220px;
    background: var(--gradient-2);
    overflow: hidden;
}

.guide-image img,
.guide-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #f7f3ef; /* matches gradient-2 start — hides black before load */
}

.guide-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-image .image-placeholder svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    opacity: 0.4;
}

.guide-badge {
    position: absolute;
    top: 15px;
    left: 28px;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.guide-badge.new {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.guide-content {
    padding: 1.5rem;
}

.guide-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.guide-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.guide-meta > span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.guide-meta svg {
    width: 16px;
    height: 16px;
}

.guide-difficulty {
    background: var(--secondary-color);
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
}

.guide-difficulty.easy {
    background: #d4edda;
    color: #155724;
}

.guide-difficulty.medium {
    background: #fff3cd;
    color: #856404;
}

.guide-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.guide-materials {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.guide-materials strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.guide-materials ul {
    margin: 0;
    padding-left: 1.2rem;
}

.guide-materials li {
    color: var(--text-light);
    padding: 0.2rem 0;
    font-size: 0.9rem;
}

.btn-guide {
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-guide-blog {
    display: inline-block;
    width: 100%;
    padding: 0.65rem;
    margin-top: 0.5rem;
    background: transparent;
    color: var(--primary-dark, #b8885a);
    border: 1.5px solid var(--primary, #d4a574);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-sizing: border-box;
}

.btn-guide-blog:hover {
    background: var(--primary, #d4a574);
    color: var(--white);
    transform: translateY(-2px);
}

.guide-steps {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--secondary-color);
}

.guide-steps h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.guide-steps ol {
    padding-left: 1.5rem;
}

.guide-steps li {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.guide-steps strong {
    color: var(--text-dark);
}

.guide-tips {
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    border-left: 4px solid #4caf50;
}

.guide-tips h5 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.guide-tips ul {
    margin: 0;
    padding-left: 1.2rem;
}

.guide-tips li {
    color: #1b5e20;
    padding: 0.3rem 0;
}

/* Custom Design Section */
.custom-design-section {
    background: var(--white);
    padding: 4rem 0;
}

.coming-soon-card {
    background: var(--gradient-2);
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.coming-soon-icon svg {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
}

.coming-soon-card h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.coming-soon-card > p {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.6rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.coming-soon-text {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

/* Inquiry Section */
.inquiry-section {
    background: var(--secondary-color);
}

.inquiry-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.inquiry-info h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.info-steps {
    margin-bottom: 3rem;
}

.info-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.inquiry-benefits {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
}

.inquiry-benefits h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.inquiry-benefits ul {
    list-style: none;
    padding: 0;
}

.inquiry-benefits li {
    color: var(--text-light);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.inquiry-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.selected-items {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.selected-items h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.items-list {
    max-height: 200px;
    overflow-y: auto;
}

.no-items {
    color: var(--text-light);
    font-style: italic;
}

.no-items a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.item-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.item-entry:last-child {
    margin-bottom: 0;
}

.item-name {
    color: var(--text-dark);
    font-weight: 500;
}

.item-quantity {
    color: var(--primary-color);
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .inquiry-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .rental-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guide-card.featured {
        grid-column: span 1;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cart-summary {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .cart-text {
        flex-basis: 100%;
        text-align: center;
    }

    .decor-hero {
        height: 50vh;
        min-height: 400px;
    }
}


/* ── Rental item unavailability overlay ──────────────────── */
.unavailable-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(231, 76, 60, 0.85);
    color: #fff;
    text-align: center;
    padding: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rental-item .qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── Airbnb-style date picker block ──────────────────────── */
.rental-date-picker {
    margin: 0 auto 1.5rem;
    max-width: 540px;
}

.date-picker-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 2px solid var(--primary, #d4a574);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.15);
}

.date-picker-icon {
    width: 28px;
    height: 28px;
    color: var(--primary, #d4a574);
    flex-shrink: 0;
}

.date-picker-content {
    flex: 1;
    min-width: 0;
}

.date-picker-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent, #8b6f47);
    margin-bottom: 0.2rem;
}

.date-picker-input {
    display: block;
    width: 100%;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2c2c;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.date-picker-hint {
    font-size: 0.78rem;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s;
}

@media (max-width: 600px) {
    .date-picker-inner { flex-wrap: wrap; }
    .date-picker-hint { width: 100%; margin-top: 0.25rem; }
}

/* ── Inquiry form: date display field ────────────────────── */
.date-display-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    font-size: 0.9rem;
    color: #555;
    min-height: 42px;
}

.date-display-field svg {
    width: 16px;
    height: 16px;
    color: var(--primary, #d4a574);
    flex-shrink: 0;
}

.date-display-field a {
    color: var(--primary, #d4a574);
}
