/*
Theme Name: DS Nutra Custom Theme
Description: Custom static layout for DS Nutra Consulting LLC.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --primary: #0d9488; /* Clinical Emerald/Teal */
    --primary-hover: #0f766e;
    --primary-light: #ccfbf1;
    --primary-opaque: rgba(13, 148, 136, 0.08);
    --secondary: #0f172a; /* Deep Slate Blue */
    --accent: #d97706; /* Credentials Gold */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(226, 232, 240, 0.8);
    --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-secondary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-primary);
}

.section-title-wrapper {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--text-muted);
}

/* Interactive Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.header-scrolled .nav-container {
    height: 70px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--secondary);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.hero-tag svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: rgba(15, 23, 42, 0.2);
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-decor {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    z-index: 2;
    border: 8px solid white;
    object-fit: cover;
    aspect-ratio: 1;
}

/* About Us & Consultant Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-opaque);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-heading {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.consultant-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.consultant-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: white;
    padding: 32px;
    position: relative;
}

.consultant-title {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.consultant-name {
    color: white;
    font-size: 26px;
    font-family: var(--font-heading);
}

.consultant-credentials-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.4);
}

.consultant-body {
    padding: 32px;
}

.consultant-bio {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.consultant-timeline {
    border-left: 2px solid var(--primary);
    padding-left: 20px;
    margin-left: 8px;
}

.timeline-item {
    position: relative;
    margin-bottom: 16px;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--bg-primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
}

.timeline-year {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

/* Services Interactive Section */
.services-tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.services-tabs {
    display: flex;
    background: var(--bg-tertiary);
    padding: 6px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-family: var(--font-heading);
}

.tab-btn:hover {
    color: var(--secondary);
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-content-panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-content-panel.active {
    display: block;
}

.services-detail-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.services-panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.services-panel-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-opaque);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-panel-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.services-panel-title {
    font-size: 24px;
}

.services-panel-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 4px;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    list-style: none;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.service-item:hover {
    border-color: var(--primary-light);
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-check {
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-check svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.service-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.service-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Why Engage Us & Standards Section */
.value-standards-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.value-cards-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.value-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.value-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.value-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.value-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.standards-box {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.standards-header h3 {
    color: white;
    font-size: 26px;
    margin-bottom: 16px;
}

.standards-header p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 32px;
}

.standards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.standard-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

.standard-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
}

.standard-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.standard-name {
    font-size: 16px;
    font-weight: 600;
}

/* Contact Portal Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
}

.contact-info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.contact-info-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-method-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--primary-opaque);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-wrapper svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-method-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-method-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
}

.contact-method-value a:hover {
    color: var(--primary);
}

.contact-map-placeholder {
    height: 130px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-map-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(#94a3b8 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.contact-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.contact-map-pin svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.contact-form-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--secondary);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Footer Section */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.footer-logo-text span {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-link {
    color: var(--text-light);
    font-size: 14px;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 13px;
}

.footer-disclaimer {
    max-width: 500px;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(148, 163, 184, 0.6);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-tag {
        justify-content: center;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .value-standards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .services-tabs {
        flex-direction: column;
    }
    
    .services-detail-card {
        padding: 24px;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .value-cards-stack {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card, .contact-form-card {
        padding: 24px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
