/* ================================
   Fruitful Ventures — Global Styles
   ================================ */

/* Brand Variables */
:root {
    --primary-navy: #0B1F3B;
    --primary-sky:  #38BDF8;
    --accent-green: #22C55E;

    --text-dark:        #1F2933;
    --text-light:       #6B7280;
    --background-light: #F5F7FB;

    --border-radius: 8px;
    --shadow-subtle: 0 2px 8px rgba(15, 23, 42, 0.12);
    --shadow-hover:  0 4px 16px rgba(15, 23, 42, 0.20);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* Reset-ish */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Utility container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Buttons
   ================================ */

.btn, .btn-primary, .btn-outline, .btn-text {
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    min-height: 44px; /* accessibility */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #FFFFFF;
    border: none;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1ea652; /* slightly darker green */
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary:active {
    background-color: #188b45;
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    transition: var(--transition);
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: var(--primary-navy);
    color: #FFFFFF;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-outline:active {
    background-color: #07203a;
    transform: translateY(0);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-sky);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.btn-text:hover,
.btn-text:focus {
    color: var(--accent-green);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-text:focus-visible {
    outline: 3px solid var(--primary-sky);
    outline-offset: 3px;
}

/* Focus */
*:focus {
    outline: 2px solid var(--primary-sky);
    outline-offset: 2px;
}

/* ================================
   Header
   ================================ */

.header {
    background-color: var(--primary-navy);
    box-shadow: var(--shadow-subtle);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: #E5E7EB;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
}

.nav a:hover,
.nav a:focus {
    color: var(--primary-sky);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #E5E7EB;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================
   Hero
   ================================ */

.hero {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 55%),
                linear-gradient(135deg, #020617, var(--primary-navy));
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F9FAFB;
    padding: 120px 20px 80px;
}

/* ================================
   Hero Background Image + Text Overlay
   ================================ */

.hero.hero-bg {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    text-align: left;

    /* Update filename if needed */
    background-image: url("../images/hero-partnership.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: scroll;
    image-rendering: auto;

}

/* Dark overlay to ensure text readability on the photo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(110deg,
        rgba(4, 29, 84, 0.92) 0%,
        rgba(4, 29, 84, 0.82) 42%,
        rgba(4, 29, 84, 0.35) 68%,
        rgba(4, 29, 84, 0.10) 100%
      );
    pointer-events: none;
}

/* Make sure hero content sits above overlay */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

/* Constrain content so it doesn't run too wide */
.hero-stack {
    max-width: 820px;
}

/* Your requested decreasing font hierarchy */
.hero-brand {
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 900;
    letter-spacing: 0.6px;
    margin: 0 0 10px;
    color: #FFFFFF;
}

.hero-headline {
    font-size: clamp(1.15rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px;
    color: rgba(229, 231, 235, 0.95);
}

.hero-subhead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    margin: 0 0 28px;
    color: rgba(229, 231, 235, 0.92);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Scroll cue so it feels like there’s more below */
.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.82);
    font-weight: 600;
    z-index: 2;
    transition: var(--transition);
}

.scroll-cue:hover,
.scroll-cue:focus {
    color: #FFFFFF;
}

.scroll-cue-text {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.scroll-cue-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
    animation: cuePulse 1.6s infinite;
}

@keyframes cuePulse {
    0% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(8px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.9; }
}

/* Mobile: center text and adjust overlay so photo still looks good */
@media (max-width: 900px) {
    .hero.hero-bg {
        text-align: center;
        background-position: center;
        padding: 110px 0 70px;
    }

    .hero-overlay {
        background:
          linear-gradient(180deg,
            rgba(4, 29, 84, 0.92) 0%,
            rgba(4, 29, 84, 0.72) 55%,
            rgba(4, 29, 84, 0.35) 100%
          );
    }

    .hero-actions {
        justify-content: center;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero .btn-primary {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}

/* ================================
   Values / Services
   ================================ */

.values {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.values h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-navy);
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.value-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #FFFFFF;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background-color: var(--accent-green);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Core Values – Approved Brand Accents
   =================================== */

/* Trusted Wholesale Partnerships – Growth Green */
.value-card.accent-green:hover .value-icon {
    background-color: var(--accent-green);
}

/* Data-Driven Sourcing – Navy Variant */
.value-card.accent-navy:hover .value-icon {
    background-color: #0F2A44; /* lighter navy */
}

/* Structured, Compliant Operations – Charcoal */
.value-card.accent-charcoal:hover .value-icon {
    background-color: #334155; /* slate/charcoal */
}

/* ================================
   About Section
   ================================ */

.about {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-image {
    width: 100%;
}

/* Image styling for About */
.about-photo {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

/* ================================
   Contact Section
   ================================ */

.contact {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.contact h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-navy);
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: #FFFFFF;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-sky);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-details {
    background: #FFFFFF;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.contact-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item strong {
    color: var(--primary-navy);
    display: block;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--primary-navy);
    text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus {
    text-decoration: underline;
}

/* ================================
   Footer
   ================================ */

.site-footer {
    background-color: var(--primary-navy);
    color: #FFFFFF;
    padding: 40px 20px 20px;
    text-align: center;
}

.site-footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.site-footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.site-footer-links a:hover,
.site-footer-links a:focus {
    color: var(--primary-sky);
}

/* Social icons (for F and 📸) */
.site-footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.site-footer-social-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    font-size: 20px;
}

.site-footer-social-icon:hover,
.site-footer-social-icon:focus {
    background-color: var(--accent-green);
    transform: translateY(-2px);
}

.footer-social {
  margin-bottom: 12px;
}

/* Intro text reuse for values & services */
.values-intro {
    max-width: 720px;
    margin: 0 auto 40px;
    color: var(--text-light);
    text-align: center;
}

/* Core value headings clickable but styled as normal text */
.core-value-heading a {
    color: var(--primary-navy);
    text-decoration: none;
}

.core-value-heading a:hover,
.core-value-heading a:focus {
    color: var(--primary-sky);
    text-decoration: underline;
}

/* Services pillar headings */
.services-pillar-heading {
    margin-top: 60px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-navy);
    text-align: left;
}

.section-accent {
    width: 60px;
    height: 4px;
    background-color: var(--accent-green);
    margin: 10px auto 30px;
    border-radius: 2px;
}

.text-accent {
    color: var(--accent-green);
    font-weight: 600;
}

/* ================================
   Animations
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--primary-navy);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-subtle);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        background-attachment: scroll;
        padding: 100px 20px 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ================================
   Print
   ================================ */

@media print {
    .header,
    .hamburger,
    .btn,
    .contact-form {
        display: none;
    }
    
    .hero {
        background: var(--primary-navy);
        color: white;
        page-break-after: always;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* High contrast */
@media (prefers-contrast: high) {
    :root {
        --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================
   Hero Font Hierarchy Override
   ================================ */

.hero.hero-bg .hero-brand {
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 900;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.hero.hero-bg .hero-headline {
    font-size: clamp(1.15rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: rgba(229, 231, 235, 0.95);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-social-link:hover {
  background-color: rgba(255,255,255,0.20);
  color: var(--accent-green);
}
