/* ================================
   Chasing Our Trunks - Main Styles
   ================================ */

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

:root {
    --primary-dark: #28311B;
    --primary-medium: #333E22;
    --primary-green: #28311B;
    --secondary-green: #333E22;
    --accent-cream: #FDFCF9;
    --text-dark: #161616;
    --text-medium: #5d5d5d;
    --text-light: #737373;
    --link-blue: #116dff;
    --link-hover: #4eb7f5;
    --border-gray: #dfe6e9;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 10px 20px;
    background: var(--link-blue);
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    outline: 3px solid var(--text-dark);
    outline-offset: 2px;
}

/* Universal Focus Indicators */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
    outline: 2px solid var(--link-blue);
    outline-offset: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header Section */
.site-header {
    background: var(--accent-cream);
    padding: 25px 0 0 0;
    text-align: center;
}

.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.header-instagram {
    display: inline-block;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.header-instagram:hover {
    transform: scale(1.1);
}

.instagram-icon {
    width: 28px;
    height: 28px;
}

/* Navigation */
.main-nav {
    background: var(--accent-cream);
    padding: 8px 0 12px 0;
    z-index: 1000;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--link-blue);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--link-blue);
}

/* Hero Section */
.hero {
    background: var(--accent-cream);
    padding: 15px 0 30px 0;
    text-align: center;
}

.hero-title {
    font-size: 44px;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-medium);
    letter-spacing: 0.3px;
}

/* Welcome Section */
.welcome-section {
    background-image: url('/public/images/IMG_0256.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.92);
    width: 70%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 60px;
    text-align: center;
}

.welcome-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.welcome-content {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: left;
}

.welcome-content p {
    margin-bottom: 20px;
}

.welcome-content p:last-child {
    margin-bottom: 0;
}

/* Sections */
.about-section {
    padding: 30px 0;
    text-align: center;
    background: var(--white);
}

/* ========================================
   Hire Us Section
   ======================================== */
.hire-section {
    padding: 50px 20px;
    background: #0A3D62;
}

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

.hire-content-box {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 40px;
    align-items: center;
}

.hire-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hire-logo img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.hire-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hire-header {
    margin: 0;
}

.hire-title {
    font-size: 32px;
    font-weight: 500;
    color: #0A3D62;
    margin-bottom: 12px;
}

.hire-intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

.hire-intro strong {
    color: #F4A220;
    font-weight: 600;
}

.hire-services {
    margin-top: 15px;
}

.services-heading {
    font-size: 20px;
    font-weight: 600;
    color: #0A3D62;
    margin-bottom: 12px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
}

.services-list li {
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-dark);
    padding-left: 20px;
    position: relative;
}

.services-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #F4A220;
    font-weight: bold;
    font-size: 16px;
}

.services-list li strong {
    color: #0A3D62;
    font-weight: 600;
}

.hire-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.hire-section .cta-primary {
    background: #F4A220 !important;
    color: #FFFFFF !important;
    border: 2px solid #F4A220 !important;
}

.hire-section .cta-primary:hover {
    background: #0A3D62 !important;
    border-color: #0A3D62 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 61, 98, 0.4);
}

/* ========================================
   Rest of Team Section
   ======================================== */
.team-section {
    padding: 60px 0;
    background: var(--accent-cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-name {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-dark);
    margin: 20px 25px 15px 25px;
    text-align: left;
}

.team-text {
    padding: 0 25px 20px 25px;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
}

.team-text:last-child {
    padding-bottom: 25px;
}

/* ========================================
   Former Companions Section
   ======================================== */
.former-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.former-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-top: 15px;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.former-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.former-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.former-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.former-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    padding: 20px 15px 15px;
    color: var(--white);
}

.former-name {
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 5px 0;
}

.former-years {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
}

/* ========================================
   Bio Section - Meet the Whittons
   ======================================== */
.bio-section {
    padding: 50px 0;
    background: var(--primary-white);
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.bio-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.bio-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bio-name {
    font-size: 28px;
    font-weight: 500;
    color: var(--primary-green);
    margin: 20px 25px 15px 25px;
    text-align: left;
}

.bio-text {
    padding: 0 25px;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
}

.bio-card:not(.expanded) .bio-text {
    height: 180px;
}

.bio-text p {
    margin-bottom: 15px;
}

.bio-preview {
    display: block;
}

.bio-full {
    display: none;
}

.bio-card.expanded .bio-preview {
    display: none;
}

.bio-card.expanded .bio-full {
    display: block;
}

.read-more-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    margin: 20px auto 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: auto;
    min-width: 150px;
}

.read-more-btn:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 49, 27, 0.3);
}

.bio-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 20px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.bio-social-links a {
    display: block;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}

.bio-social-links a:hover {
    transform: scale(1.15);
    opacity: 1;
}

.bio-social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-description,
.hire-description {
    font-size: 22px;
    line-height: 1.8;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto;
}

.hire-description {
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Gallery Section */
.gallery-section {
    padding: 30px 0;
    background: var(--white);
}

.gallery-title {
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* ========================================
   Carousel Gallery (Photos & Videos)
   ======================================== */
.carousel-gallery {
    max-width: 900px;
    margin: 40px auto 0;
}

.carousel-featured {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    padding: 30px 20px 20px;
    color: var(--white);
    pointer-events: none;
}

.carousel-overlay-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-overlay-location {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-nav-prev {
    left: 15px;
}

.carousel-nav-next {
    right: 15px;
}

.carousel-featured-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.carousel-featured-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: #000;
}

.carousel-featured-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.carousel-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) var(--border-gray);
}

.carousel-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
    background: var(--border-gray);
    border-radius: 4px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

.carousel-thumbnail {
    flex: 0 0 150px;
    height: 100px;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.carousel-thumbnail:hover {
    transform: scale(1.05);
}

.carousel-thumbnail.active {
    border-color: var(--primary-green);
}

.carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-thumbnail-video {
    position: relative;
    background: #000;
}

.carousel-thumbnail-video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.carousel-thumbnail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 500;
}

/* Video Section */
.video-section {
    padding: 50px 0;
    background: var(--accent-cream);
}

.video-intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

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

.video-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--link-blue);
}

.lightbox-content {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 60px;
    gap: 60px;
    align-items: center;
}

.lightbox-image-container {
    flex: 0 0 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-info {
    flex: 1;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lightbox-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.lightbox-location {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-medium);
    font-style: italic;
}

.lightbox-story {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-top: 20px;
}

.lightbox-controls {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10002;
}

.lightbox-prev,
.lightbox-next {
    background: var(--primary-dark);
    border: none;
    color: var(--white);
    font-size: 30px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-medium);
    transform: scale(1.05);
}

/* Footer */
.main-footer {
    background: #0A3D62;
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links img {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 8px;
    padding: 4px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Page Header (for Blog and Contact pages) */
.page-header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 64px;
    font-weight: 300;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.9;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

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

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

.blog-post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 30px;
}

.blog-post-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.blog-post-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-post-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.read-more {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--link-hover);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method h3 {
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.contact-method ul {
    list-style: none;
    padding-left: 0;
}

.contact-method li {
    padding: 5px 0;
    color: var(--text-medium);
}

.contact-method li::before {
    content: '• ';
    color: var(--link-blue);
    font-weight: bold;
    margin-right: 8px;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--link-blue);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links-large a:hover {
    color: var(--link-hover);
}

.social-links-large img {
    width: 30px;
    height: 30px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--accent-cream);
    padding: 40px;
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    font-size: 16px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--link-blue);
}

.submit-button {
    padding: 15px 40px;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    font-size: 18px;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.form-message {
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 400;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-heading-xl {
        font-size: 64px;
    }

    .section-heading-lg {
        font-size: 56px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        transition: right 0.3s ease;
        padding: 80px 0 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--border-gray);
    }

    .main-nav a {
        display: block;
        padding: 20px 30px;
    }

    .main-nav a.active::after {
        display: none;
    }

    .section-heading-xl {
        font-size: 48px;
    }

    .section-heading-lg {
        font-size: 42px;
    }

    .welcome-section {
        justify-content: center;
        padding: 60px 30px;
    }

    .welcome-card {
        width: 80%;
        padding: 40px 45px;
    }

    .lightbox-content {
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 30px;
        overflow-y: auto;
    }

    .lightbox-image-container {
        flex: 0 0 auto;
        height: auto;
        max-height: 50vh;
    }

    .lightbox-info {
        flex: 0 0 auto;
        padding: 20px 0;
    }

    .lightbox-title {
        font-size: 28px;
    }

    .lightbox-location {
        font-size: 16px;
    }

    .bio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-photo {
        height: 300px;
    }

    .bio-name {
        font-size: 24px;
    }

    /* Fix bio text overflow on mobile */
    .bio-card:not(.expanded) .bio-text {
        height: auto;
        min-height: 140px;
        overflow: hidden;
        position: relative;
        padding-bottom: 60px;
    }

    .bio-text {
        font-size: 14px;
        padding: 0 20px;
    }

    .read-more-btn {
        margin: 15px 20px 20px;
    }

    .hire-section {
        padding: 50px 20px;
    }

    .hire-title {
        font-size: 36px;
    }

    .hire-subtitle {
        font-size: 18px;
    }

    .hire-intro p {
        font-size: 16px;
    }

    .hire-section {
        padding: 40px 15px;
    }

    .hire-content-box {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 25px;
    }

    .hire-logo {
        order: -1;
    }

    .hire-logo img {
        max-width: 150px;
    }

    .hire-title {
        font-size: 26px;
    }

    .hire-intro {
        font-size: 15px;
    }

    .services-heading {
        font-size: 18px;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .services-list li {
        font-size: 14px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 16px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-photo {
        height: 220px;
    }

    .team-name {
        font-size: 22px;
    }

    .former-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .former-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .former-name {
        font-size: 20px;
    }

    .former-years {
        font-size: 14px;
    }

    .carousel-overlay {
        padding: 20px 15px 15px;
    }

    .carousel-overlay-title {
        font-size: 20px;
    }

    .carousel-overlay-location {
        font-size: 14px;
    }

    .services-heading,
    .credibility-heading {
        font-size: 24px;
    }

    .services-list li {
        font-size: 16px;
        padding-left: 25px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
    }

    .lightbox-story {
        font-size: 14px;
    }

    .welcome-title {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .welcome-content {
        font-size: 13px;
    }

    .welcome-content p {
        margin-bottom: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .page-title {
        font-size: 42px;
    }

    .hero .logo {
        max-width: 280px;
    }

    .carousel-gallery {
        margin: 30px 20px 0;
    }

    .carousel-thumbnail {
        flex: 0 0 120px;
        height: 80px;
    }

    .carousel-thumbnail-title {
        font-size: 10px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-nav-prev {
        left: 10px;
    }

    .carousel-nav-next {
        right: 10px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-heading-xl {
        font-size: 36px;
    }

    .section-heading-lg {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

    .welcome-section {
        padding: 40px 15px;
        justify-content: center;
    }

    .welcome-card {
        width: 95%;
        padding: 30px 25px;
    }

    .gallery-title {
        font-size: 36px;
    }

    .video-intro {
        font-size: 14px;
        padding: 0 15px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel-nav-prev {
        left: 8px;
    }

    .carousel-nav-next {
        right: 8px;
    }

    .welcome-title {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .welcome-content {
        font-size: 13px;
    }

    .welcome-content p {
        margin-bottom: 15px;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
}

/* Blog Post Full Page Styles */
.blog-post-full {
    background: var(--white);
    padding: 60px 0;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary);
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.post-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.post-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content blockquote {
    background: var(--background);
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.post-content a {
    color: var(--link-blue);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--primary);
}

.post-intro {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-intro img {
    margin: 0 0 1rem 0;
}

.build-specs-box {
    background: var(--background);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.build-specs-box h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.build-specs-box ul {
    list-style: none;
    margin-left: 0;
}

.build-specs-box li {
    padding-left: 1.5rem;
    position: relative;
}

.build-specs-box li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.post-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid var(--primary);
    text-align: center;
}

.back-to-blog {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
    margin-top: 1rem;
}

.back-to-blog:hover {
    background: var(--primary-dark);
}

/* Mobile Responsive for Blog Posts */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 1.8rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .post-content {
        font-size: 1rem;
        padding: 0 20px;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.2rem;
    }

    .post-intro,
    .build-specs-box {
        padding: 1rem;
    }
}
