/* ============================================
   Tourmalet Partners - Styles
   ============================================ */

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

:root {
    --color-primary: #1a1a1a;
    --color-secondary: #333333;
    --color-navy: #1e3a5f;
    --color-text: #2c2c2c;
    --color-text-light: #555555;
    --color-white: #ffffff;
    --color-off-white: #f8f8f8;
    --color-border: #e5e5e5;
    --color-accent: #0066cc;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    --header-height: 80px;
    --container-max-width: 1200px;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--color-accent);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-white);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

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

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
    transition: background-color var(--transition-speed) ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform var(--transition-speed) ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile Menu Active State */
.mobile-menu-btn.active .hamburger {
    background-color: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 100px;
}

.hero-content h1 {
    font-family: var(--font-family);
    font-size: 46px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.25;
    max-width: 800px;
    letter-spacing: -0.5px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 60px 0 100px;
    background-color: var(--color-white);
}

/* Value Pillars */
.value-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}

.pillar {
    text-align: center;
}

.pillar strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.pillar span {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.about-content .lead {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 28px;
    line-height: 1.6;
}

.about-content .lead strong {
    font-weight: 700;
}

.about-content p {
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.about-content a {
    color: var(--color-text-light);
    text-decoration: underline;
}

.about-content a:hover {
    color: var(--color-navy);
}

/* ============================================
   Brand Story Section
   ============================================ */
.brand-story {
    background-color: var(--color-off-white);
}

.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.brand-story-image {
    position: relative;
    overflow: hidden;
}

.brand-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
}

.brand-story-text {
    font-size: 17px;
    color: var(--color-text-light);
    line-height: 1.9;
    font-style: italic;
}

.brand-story-text em {
    font-style: italic;
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    padding: 80px 0 120px;
    margin-top: var(--header-height);
}

.team-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.team-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.linkedin-icon {
    display: inline-block;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.linkedin-icon:hover {
    opacity: 0.7;
}

.team-photo {
    width: 100%;
    max-width: 320px;
}

.team-photo img {
    width: 100%;
    height: auto;
}

.team-bio {
    padding-top: 0;
}

.team-bio p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.team-bio p:last-child {
    margin-bottom: 0;
}

.team-bio a {
    color: var(--color-text-light);
    text-decoration: underline;
}

.team-bio a:hover {
    color: var(--color-navy);
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio-section {
    padding: 120px 0;
    margin-top: var(--header-height);
}

.portfolio-section h1 {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 60px;
}

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

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.portfolio-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.portfolio-cta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Simple Footer
   ============================================ */
.footer-simple {
    padding: 40px 0;
    background-color: var(--color-white);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-simple p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    margin-top: var(--header-height);
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.contact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.contact-content {
    width: 100%;
    max-width: 600px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-card h1 {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.contact-intro {
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-intro a {
    color: var(--color-accent);
    font-weight: 500;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-person h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.contact-phone,
.contact-email {
    font-size: 17px;
    margin-bottom: 8px;
}

.contact-phone a,
.contact-email a {
    color: var(--color-text);
}

.contact-phone a:hover,
.contact-email a:hover {
    color: var(--color-accent);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 40px 0;
    background-color: var(--color-primary);
    text-align: center;
}

.footer-email {
    margin: 0;
}

.footer-email a {
    font-size: 16px;
    color: var(--color-white);
    font-weight: 400;
}

.footer-email a:hover {
    opacity: 0.8;
}

/* ============================================
   Responsive Styles - Tablet
   ============================================ */
@media (max-width: 1024px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .brand-story-image {
        height: 400px;
    }

    .brand-story-content {
        padding: 60px 40px;
    }

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

    .team-photo {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .team-bio h1 {
        font-size: 36px;
    }

    .linkedin-link {
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive Styles - Mobile
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 24px;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-content {
        padding: 0 24px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-content h1 {
        font-size: 28px;
        max-width: 100%;
    }

    /* About */
    .about {
        padding: 60px 0;
    }

    .value-pillars {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0;
        margin-bottom: 40px;
    }

    .pillar strong {
        font-size: 16px;
    }

    .pillar span {
        font-size: 14px;
    }

    .about-content .lead {
        font-size: 18px;
    }

    .about-content p {
        font-size: 16px;
    }

    /* Brand Story */
    .brand-story-image {
        height: 300px;
    }

    .brand-story-content {
        padding: 40px 24px;
    }

    .brand-story-text {
        font-size: 16px;
    }

    /* Team */
    .team-section {
        padding: 60px 0;
    }

    .team-bio h1 {
        font-size: 28px;
    }

    .team-title {
        font-size: 16px;
    }

    .bio-content p {
        font-size: 16px;
        text-align: left;
    }

    /* Portfolio */
    .portfolio-section {
        padding: 60px 0;
    }

    .portfolio-section h1 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-overlay {
        opacity: 1;
    }

    /* Contact */
    .contact-section {
        padding: 40px 16px;
    }

    .contact-card {
        padding: 40px 24px;
    }

    .contact-card h1 {
        font-size: 28px;
    }

    .contact-intro {
        font-size: 16px;
    }

    .contact-person h2 {
        font-size: 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-email a {
        font-size: 16px;
    }
}

/* ============================================
   Small Mobile
   ============================================ */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .about-content .lead {
        font-size: 18px;
    }

    .logo img {
        height: 32px;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-text-light: #333333;
    }

    .portfolio-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
}
