@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    background: transparent;
}

/* Background Image Setup */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("hormuz-beach.jpg") no-repeat center center/cover;
    background-size: cover;
    z-index: -1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    z-index: 0;
}

/* Menu Trigger Button */
.menu-trigger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    background: #111827;
    border: 1px solid #D4AF37;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #D4AF37;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, transform 0.1s ease;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.menu-trigger:hover {
    background: #1e293b;
}

.menu-trigger:active {
    transform: scale(0.98);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    background: #111827;
    backdrop-filter: blur(12px);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.sidebar.active {
    transform: translateX(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #D4AF37;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #F5D061;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0 20px;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav a {
    text-decoration: none;
    color: #D4AF37;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.sidebar-nav a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #F5D061;
}

/* Main Content Layout */
.content {
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 30px 20px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.site-logo {
    display: block;
    margin: 0 auto 10px;
    width: 100%;
    max-width: 900px;
    height: auto;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-family: 'Playfair Display', 'Georgia', serif;
    color: #D4AF37;
}

header p {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D4AF37;
    background-color: #111827;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 15px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

section {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section h2 {
    text-align: center;
    margin: 0 auto 35px;
    color: #D4AF37;
    font-size: 2.2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', 'Georgia', serif;
    background-color: #111827;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Services Grid & Hover Expansion */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
}

.service-card {
    background: #111827;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    text-decoration: none;
    color: #D4AF37;
    display: block;
    font-family: 'Playfair Display', 'Georgia', serif;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
}

.service-header {
    margin-bottom: 10px;
}

.service-header h3 {
    color: #D4AF37;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
    border: 1px solid #D4AF37;
}

.service-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
    margin-top: 0;
}

.service-card:hover .service-details,
.service-card.active .service-details {
    max-height: 500px;
    opacity: 1;
    margin-top: 15px;
}

.service-details p {
    color: #F5D061;
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Free Quote Button */
.free-quote-container {
    text-align: center;
    margin-top: 40px;
}

.free-quote-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #D4AF37;
    color: #111827;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background 0.2s, transform 0.2s;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.free-quote-btn:hover {
    background: #F5D061;
    transform: translateY(-2px);
}

/* Payment & Upload Sections */
.payment-content,
.upload-content {
    background: #111827;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.payment-method {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.payment-method h3 {
    margin-bottom: 10px;
    color: #D4AF37;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.payment-method p {
    color: #F5D061;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #D4AF37;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #D4AF37;
    border-radius: 6px;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Dropdown Styling - Aligned with Caspian Acquisitions Branding */
#selectedServiceDropdown {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    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='%23D4AF37' 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 12px center;
    background-size: 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#selectedServiceDropdown:hover {
    border-color: #F5D061;
    background-color: rgba(255, 255, 255, 0.12);
}

#selectedServiceDropdown:focus {
    outline: none;
    border-color: #F5D061;
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Dropdown Options - Aligned with Design System */
#selectedServiceDropdown option {
    background: #111827;
    color: #F5D061;
    padding: 10px 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

#selectedServiceDropdown option:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
}

#selectedServiceDropdown option:checked {
    background: rgba(212, 175, 55, 0.25);
    color: #D4AF37;
    font-weight: 600;
}

.upload-btn,
.pay-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-size: 1rem;
    margin-top: 10px;
    background: #D4AF37;
    color: #111827;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.upload-btn:hover,
.pay-btn:hover {
    background: #F5D061;
    transform: translateY(-2px);
}

.upload-status {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #F5D061;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Onboarding, About, Contact */
.onboarding-content,
.about-content,
.contact-content {
    background: #111827;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.onboarding-content p,
.about-content p,
.contact-content p {
    color: #F5D061;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.onboarding-btn,
.contact-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #D4AF37;
    color: #111827;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.onboarding-btn:hover,
.contact-btn:hover {
    background: #F5D061;
    transform: translateY(-2px);
}

.contact-btn {
    cursor: default;
}

.contact-email {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #D4AF37;
    margin-top: 15px;
    margin-bottom: 0;
    word-break: break-all;
}

/* Footer & Logos */
.site-footer {
    background: #111827;
    color: #D4AF37;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.partner-logo {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
    object-fit: contain;
    max-width: 200px;
}

.partner-logo:hover {
    opacity: 1;
}

.paypal-logo {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .sidebar {
        width: 260px;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .logo-container {
        gap: 20px;
    }
}

/* Enhanced Onboarding Form Styling */
.onboarding-content {
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.intake-form-placeholder {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    text-align: left;
}

.intake-form-placeholder h3 {
    color: #D4AF37;
    font-family: 'Playfair Display', 'Georgia', serif;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.upload-form {
    gap: 18px;
    margin-top: 25px;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F5D061;
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group input[readonly] {
    background: rgba(212, 175, 55, 0.1);
    cursor: default;
    color: #F5D061;
}

.payment-methods {
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.pay-btn {
    flex: 1;
    min-width: 200px;
    padding: 14px 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pay-btn:hover {
    box-shadow: 0 6px 14px rgba(212, 175, 55, 0.3);
}

.pay-btn:active {
    transform: translateY(0);
}

.stripe-btn {
    background: #635bff;
    color: #ffffff;
}

.stripe-btn:hover {
    background: #7a73ff;
    box-shadow: 0 6px 14px rgba(99, 91, 255, 0.3);
}

.paypal-btn {
    background: #0070ba;
    color: #ffffff;
}

.paypal-btn:hover {
    background: #005ea6;
    box-shadow: 0 6px 14px rgba(0, 112, 186, 0.3);
}
