/* 
 * Oceanview Partners Advisory Group
 * Main Stylesheet - Production Version
 * All pages share this CSS for consistency
 */

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

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #1e3a5f;
    --ocean-blue: #0066cc;
    --light-blue: #e6f2ff;
    --orange: #ff6b35;
    --orange-hover: #ff5722;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --success: #27ae60;
    --danger: #d9534f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* ============================================
   NAVIGATION
   ============================================ */

.top-nav {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.3rem;
    font-weight: bold;
    color: #002855;
    text-decoration: none;
    letter-spacing: 0.5px;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b00;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    list-style: none;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #ff6b00;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #002855;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 0;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #002855;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff6b00;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 20px;
}

.section-white {
    background: #ffffff;
}

.section-gray {
    background: #f8f9fa;
}

.section-navy {
    background: linear-gradient(135deg, #002855, #003d7a);
    color: white;
}

/* ============================================
   NAVIGATION (Placeholder - use your existing nav)
   ============================================ */

.main-nav {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-medium {
    height: 500px;
}

.hero-small {
    height: 450px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 40, 85, 0.85), rgba(0, 40, 85, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    color: white;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #ff6b00;
    color: white;
}

.btn-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #002855;
    color: white;
}

.btn-secondary:hover {
    background: #003d7a;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.card-image {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,40,85,0.2), rgba(0,40,85,0.6));
}

.card-content {
    padding: 30px;
}

.card-title {
    color: #002855;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ============================================
   CLIENT CARDS (Homepage)
   ============================================ */

.client-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.client-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.client-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,40,85,0.3), rgba(0,40,85,0.7));
}

.client-card-content {
    padding: 25px;
}

.client-card h3 {
    color: #002855;
    margin-bottom: 15px;
}

/* ============================================
   SERVICE ITEMS (Services Page)
   ============================================ */

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-image {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-content {
    padding: 20px;
}

.service-number {
    display: inline-block;
    background: #ff6b00;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #444;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b00;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   ARTICLE CARDS (Thought Leadership)
   ============================================ */

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.article-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.article-card-content {
    padding: 25px;
}

.article-card h3 {
    font-size: 1.4rem;
    color: #002855;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-date {
    color: #999;
    font-size: 0.85rem;
}

.article-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ============================================
   FEATURED CONTENT
   ============================================ */

.featured-label {
    display: inline-block;
    background: #ff6b00;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.featured-image {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.featured-content {
    padding: 40px 40px 40px 0;
}

/* ============================================
   VALUES SECTION (About Us)
   ============================================ */

.value-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #ff6b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ============================================
   APPROACH SECTION (About Us)
   ============================================ */

.approach-item {
    text-align: center;
    padding: 30px;
}

.approach-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: #002855;
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    line-height: 70px;
    margin-bottom: 20px;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff6b00;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   TEAM MEMBER CARDS (Management Team)
   ============================================ */

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 350px 1fr;
    align-items: start;
}

.team-member-photo {
    position: relative;
    height: 450px;
    background: linear-gradient(135deg, #002855, #003d7a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    padding: 40px;
}

.team-member-content {
    padding: 50px;
}

.member-name {
    font-size: 2.2rem;
    color: #002855;
    margin-bottom: 10px;
}

.member-title {
    font-size: 1.3rem;
    color: #ff6b00;
    font-weight: 600;
    margin-bottom: 25px;
}

.member-bio {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.expertise-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.expertise-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.expertise-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ff6b00;
    font-weight: bold;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #002855;
    margin-bottom: 60px;
}

.text-gray {
    color: #666;
}

.text-navy {
    color: #002855;
}

.text-orange {
    color: #ff6b00;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Hero sections */
    .hero {
        height: 400px;
    }
    
    .hero-medium {
        height: 350px;
    }
    
    .hero-small {
        height: 300px;
    }
    
    /* Grids */
    .grid-2,
    .grid-3,
    .service-item,
    .featured-article {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 4-column grid becomes 2 columns on tablet */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item:nth-child(even) {
        direction: ltr;
    }
    
    /* Cards */
    .card-image,
    .service-image,
    .featured-image {
        height: 250px;
    }
    
    /* Team members */
    .team-member {
        grid-template-columns: 1fr;
    }
    
    .team-member-photo {
        height: 300px;
    }
    
    .team-member-content {
        padding: 40px 30px;
    }
    
    .expertise-list {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Sections */
    .section {
        padding: 60px 20px;
    }
    
    /* Featured content */
    .featured-content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    /* 4-column grid becomes 1 column on mobile */
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    /* Sections */
    .section {
        padding: 40px 15px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .hero::before {
        display: none;
    }
    
    .btn {
        border: 2px solid #002855;
    }
}

/* ==================== FOOTER SECTION ==================== */

.site-footer {
    background: linear-gradient(135deg, #002855, #003d7a);
    color: #fff;
    padding: 50px 20px 25px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.footer-company {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ff6b00;
}

.footer-address {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.8;
}

.footer-contact a:hover {
    color: #ff6b00;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ff6b00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
}


/* Navigation Tagline */
.nav-logo {
    display: flex;
    flex-direction: column;
}

.nav-tagline {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
    font-style: italic;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.nav-container {
    min-height: 70px;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    padding: 120px 20px 60px;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p,
.page-header .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: var(--white);
    text-decoration: underline;
    opacity: 0.8;
}

.page-header .breadcrumb a:hover {
    opacity: 1;
}

.content-section {
    padding: 80px 0;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.submit-button {
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* CTA Section (contact page) */
.cta-section {
    background: linear-gradient(135deg, var(--navy-blue), var(--ocean-blue));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ============================================
   CONTACT PAGE RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .page-header { padding: 100px 20px 40px; }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .page-header h1 { font-size: 1.75rem; }
}
