/**
 * Service Detail Page Styles
 * Version: 1.0.1
 * Author: KK Bhardwaj - Bhardwaj Web Solution
 */

:root {
    --gold-primary: #B89E59;
    --gold-dark: #8B7340;
    --gold-light: #D4C19C;
    --black: #000000;
    --gray-dark: #1a1a1a;
    --gray-medium: #2a2a2a;
    --white: #ffffff;
}

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

body.service-detail-page {
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== HERO SECTION ========== */
.service-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    overflow: hidden;
}

.service-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.7);
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.95) 100%
    );
}

.service-hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.service-category-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(184, 158, 89, 0.2);
    border: 2px solid var(--gold-primary);
    border-radius: 50px;
    color: var(--gold-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
}

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

.service-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.service-hero-description {
    max-width: 800px;
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.6s both;
}

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

.hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--black);
    box-shadow: 0 10px 30px rgba(184, 158, 89, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(184, 158, 89, 0.6);
}

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

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black);
    transform: translateY(-5px);
}

/* ========== MAIN CONTAINER ========== */
.service-main-container {
    max-width: 1400px;
    margin: -80px auto 0;
    padding: 0 20px 100px;
    position: relative;
    z-index: 20;
}

.service-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: start;
}

/* ========== CONTENT SECTION ========== */
.service-content-section {
    background: var(--gray-dark);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(184, 158, 89, 0.1);
}

.service-content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--gold-primary);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.service-content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.service-description {
    font-size: 16px;
    line-height: 1.9;
    color: #d0d0d0;
}

.service-description p {
    margin-bottom: 20px;
}

.service-description h3 {
    font-size: 24px;
    color: var(--gold-light);
    margin: 40px 0 20px;
}

.service-description ul,
.service-description ol {
    margin: 20px 0 20px 30px;
}

.service-description li {
    margin-bottom: 12px;
    color: #d0d0d0;
}

/* ========== INQUIRY FORM ========== */
.service-inquiry-form {
    background: linear-gradient(145deg, var(--gray-dark), var(--gray-medium));
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 25px 70px rgba(184, 158, 89, 0.15);
    border: 2px solid var(--gold-primary);
    position: sticky;
    top: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.form-header p {
    color: #999;
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 18px;
    pointer-events: none;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 16px 20px 16px 55px;
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(184, 158, 89, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 20px rgba(184, 158, 89, 0.2);
}

.form-control::placeholder {
    color: #666;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    padding-left: 20px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B89E59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
}

select.form-control option {
    background: var(--gray-dark);
    color: var(--white);
}

.time-select-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--black);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(184, 158, 89, 0.3);
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(184, 158, 89, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========== SUCCESS MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--gray-dark);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 30px 80px rgba(184, 158, 89, 0.3);
    animation: modalFadeIn 0.5s ease-out;
}

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

.modal-content i {
    font-size: 80px;
    color: var(--gold-primary);
    margin-bottom: 30px;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.modal-content p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
}

.modal-content .btn {
    padding: 15px 40px;
    background: var(--gold-primary);
    color: var(--black);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-content .btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .service-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-inquiry-form {
        position: static;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .service-content-section {
        padding: 40px 30px;
    }
    
    .service-inquiry-form {
        padding: 40px 25px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .time-select-group {
        grid-template-columns: 1fr;
    }
}

