/* MODERN RESET & VARIABLES */
:root {
    --primary: #2563eb;       /* Royal Blue */
    --primary-dark: #1e40af;
    --secondary: #0f172a;     /* Slate 900 */
    --accent: #3b82f6;        /* Bright Blue */
    --background: #f8fafc;    /* Slate 50 */
    --surface: #ffffff;
    --text-main: #334155;     /* Slate 700 */
    --text-light: #64748b;    /* Slate 500 */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
}

/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 1.5rem; /* Zero vertical padding */
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); 
    /* removed overflow:hidden and height:100px */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    line-height: 0; 
    /* removed height:100% */
}

.logo-img {
    height: 120px; /* Reverted to 200px from 220px */
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    /* removed margin-top crop adjustment */
}

/* HERO SECTION */
.hero {
    max-width: 1000px;
    margin: 10rem auto 2rem; /* Reverted spacing for larger header */
    padding: 0 1.5rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.hero b p { /* Specific selector for that bold tag structure */
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* BUTTONS / FEATURES */
.features {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    background: var(--surface);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-item h5 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.simple-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-item:hover .simple-arrow {
    transform: translateX(5px);
}

.feature-item.active {
    background: var(--primary);
    border-color: var(--primary);
}

.feature-item.active::before {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

.feature-item.active h5,
.feature-item.active .simple-arrow {
    color: #fff;
}

/* IMAGE SECTION */
.image-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* DETAILS SECTION */
.details-section {
    display: none; /* Controlled by JS */
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#detailsHeading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.details-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* CARD DESIGN */
.details-item {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: slideInUp 0.5s ease-out backwards;
}

.details-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.gender-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card-body p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: baseline;
    font-size: 0.95rem;
}

.label {
    color: var(--text-light);
    font-weight: 500;
    width: 80px; /* Fixed width for alignment */
    flex-shrink: 0;
}

.data {
    color: var(--text-main);
    font-weight: 600;
}

.price .data {
    color: var(--success);
    font-size: 1.1rem;
}

.data a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.data a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* CONTACT SECTION */
.contact {
    text-align: center;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

#contactBtn {
    background: var(--secondary);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

#contactBtn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* MODAL STYLES */
.contact-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    z-index: 1000;
    animation: popIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    border: 1px solid #e2e8f0;
}

/* Simple backdrop simulation (optional, can't add div easily but this helps) */


@keyframes popIn {
    from { opacity: 0; transform: translate(-50%, -40%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

#closeForm {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
}

#closeForm:hover {
    color: var(--danger);
}

.contact-form h2 {
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    color: var(--text-main);
    transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #fff;
    border-color: var(--primary);
    outline: none;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    background: var(--primary);
    color: #fff;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button[type="submit"]:hover {
    background: var(--primary-dark);
}

/* FOOTER */
footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

footer p {
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .card-body {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .contact-form {
        width: 95%;
        padding: 1.5rem;
    }
}

/* FEEDBACK SECTION */
.feedback {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.feedback-container {
    background: var(--surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feedback-item p {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.feedback-item .optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-left: 5px;
}

.feedback-options {
    display: flex;
    gap: 1rem;
}

.feedback-btn {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid transparent;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.feedback-btn:hover:not(:disabled) {
    background: #e2e8f0;
    color: var(--primary);
}

.feedback-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-btn.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.feedback-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.feedback-input:focus {
    outline: none;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .feedback-container {
        padding: 1.5rem;
    }
}

.feedback-input-group {
    display: flex;
    gap: 0.5rem;
}

.feedback-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.2s;
}

.feedback-submit-btn:hover {
    background: var(--primary-dark);
}

.feedback-submitted-msg {
    color: var(--success);
    font-weight: 600;
    padding: 0.5rem 0;
    animation: fadeIn 0.5s ease;
}
