/* service.css - Premium SaaS-Style Redesign */
@import url('styles.css');

:root {
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.5);
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* =========================================
   Global Components
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--gold-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--gold);
    color: #000;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('images/sensor-clean-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    padding: 40px;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ddd;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Before/After Container */
.before-after-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.before-image,
.after-image {
    position: relative;
    width: 200px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.8rem;
    padding: 5px;
}

/* =========================================
   Problem Section
   ========================================= */
.chennai-problem-section {
    padding: 100px 0;
    background: #0f0f0f;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.problem-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.warning-box {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #ff4444;
    font-size: 0.9rem;
    color: #ffaaaa;
}

.rams-advice {
    background: linear-gradient(135deg, #111, #1a1a1a);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.advice-icon {
    font-size: 4rem;
}

/* =========================================
   Services Section (Cards)
   ========================================= */
.services-menu-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.service-card.featured {
    border: 1px solid var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.service-subtitle {
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.service-details {
    flex-grow: 1;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}

.detail-item strong {
    color: #fff;
    min-width: 80px;
}

.detail-item.turnaround {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.service-button {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-button:hover {
    background: var(--gold);
    color: #000;
}

/* =========================================
   Pricing Section (Cards)
   ========================================= */
.pricing-section {
    padding: 100px 0;
    background: #0f0f0f;
}

.pricing-table-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pricing-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 20px;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.05);
    border-color: var(--gold);
}

/* =========================================
   Pricing Section (Vertical Rows)
   ========================================= */
.pricing-section {
    padding: 100px 0;
    background: #0f0f0f;
}

.pricing-table-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 25px 40px;
    border-radius: 15px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.pricing-card:hover {
    transform: translateX(10px);
    border-color: var(--gold);
    background: #222;
}

.pricing-card.featured {
    background: linear-gradient(90deg, #222, #1a1a1a);
    border: 1px solid var(--gold);
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateX(0);
}

/* Internal Layout for Pricing Row */
.pricing-info {
    flex: 1;
}

.pricing-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.pricing-meta {
    text-align: right;
    min-width: 150px;
}

.pricing-price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.pricing-time {
    color: #888;
    font-size: 0.85rem;
    margin-top: 5px;
}

.badge {
    background: var(--gold);
    color: #000;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    vertical-align: middle;
}

/* Mobile Pricing */
@media (max-width: 768px) {
    .pricing-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .pricing-meta {
        text-align: center;
        margin-top: 15px;
    }
}

/* =========================================
   Process Section (Safe Hands)
   ========================================= */
.process-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step-card {
    background: #151515;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--dark-bg);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Remove Arrows for cleaner card look, use subtle line instead? */
.step-arrow {
    display: none;
}


/* =========================================
   Prevention Tips Section (Understandable Design)
   ========================================= */
.prevention-section {
    padding: 100px 0;
    background: #0f0f0f;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.tip-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.tip-card.recommended {
    border: 1px solid var(--gold);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05), #111);
}

.tip-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tip-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.tip-card p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1rem;
}

.tip-benefit {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #ddd;
    border-left: 3px solid var(--gold);
}

.tip-warning {
    background: rgba(255, 100, 100, 0.1);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #ffaaaa;
    border-left: 3px solid #ff4444;
    margin-top: 20px;
}

.tip-button {
    display: inline-block;
    margin-top: 25px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.tip-button:hover {
    border-color: var(--gold);
}

.booking-section {
    padding: 100px 0;
    background: linear-gradient(#0a0a0a, #111);
    border-top: 1px solid #333;
}

.booking-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: #0a0a0a;
    border: 1px solid #444;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.submit-button {
    width: 100%;
    background: #25D366;
    /* WhatsApp Green */
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #1ebc59;
    transform: translateY(-2px);
}

.submit-button svg {
    width: 24px;
    height: 24px;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .before-after-container {
        flex-direction: column;
        align-items: center;
    }

    .rams-advice {
        flex-direction: column;
        text-align: center;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .booking-form-container {
        padding: 20px;
    }
}

/* =========================================
   Navigation Overrides (Service Page Specific)
   ========================================= */
.main-header {
    background-color: rgba(10, 10, 10, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.nav-menu a {
    color: #e0e0e0 !important;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold) !important;
}

/* Dropdown Menu Dark Theme */
.dropdown {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.dropdown li a {
    color: #ccc !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown li a:hover {
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: var(--gold) !important;
    padding-left: 25px !important;
    /* Slide effect */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle span {
    background-color: var(--gold) !important;
}

/* Mobile Menu Container */
@media (max-width: 768px) {
    .nav-menu {
        background-color: #0d0d0d !important;
    }

    .logo h1 a {
        color: var(--gold) !important;
    }

    .tagline {
        color: #888 !important;
    }
}

/* Top Bar Integration */
.top-bar {
    background: #050505 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #888 !important;
}

.top-bar a {
    color: #aaa !important;
}