/* Templay Website Styles - Consolidated CSS */

/* Global Styles */
:root {
    --primary-blue: #0F2D52;
    --accent-white: #FFFFFF;
    --overlay-dark: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--primary-blue);
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 28px;
}

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

/* Navbar Styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: white;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: auto;
    max-height: 160px;
    max-width: 440px;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

nav ul {
    display: flex;
    margin: 0;
    list-style: none;
}

nav ul li {
    margin-left: 24px;
}

nav ul li a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1a4b8c;
}

nav ul li a.active {
    color: #1a4b8c;
    font-weight: 700;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1a4b8c;
    bottom: 0;
    left: 0;
    right: 0;
}

.nav-right {
    display: flex;
    align-items: center;
}

.language-switcher {
    display: flex;
    margin-right: 20px;
}

.language-switcher a {
    margin-left: 12px;
    text-decoration: none;
    position: relative;
    width: 30px;
    height: 20px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* English flag */
.language-switcher a.en {
    background-image: url('../assets/images/flags/en.png');
}

/* French flag */
.language-switcher a.fr {
    background-image: url('../assets/images/flags/fr.png');
}

.language-switcher a.active {
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.contact-button {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    background: transparent;
    color: var(--primary-blue);
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
#hero {
    position: relative;
    text-align: center;
    color: var(--accent-white);
    padding: 0;
    margin-top: 0;
}

.hero-bg {
    background-image: url('../assets/images/backgrounds/clouds-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 20px 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 45, 82, 0.6);
    opacity: 0.8;
}

.hero-bg .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

#hero h1 {
    color: var(--accent-white);
    margin: 0 auto 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--accent-white);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-white);
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 140px;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--accent-white);
}

.cta-button.outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Section Styles */
.section {
    padding: 80px 20px;
    background: #FFFFFF;
}

/* Reduce spacing between customers section and the next section */
#customers {
    padding-bottom: 30px;
}

#start {
    padding-top: 30px;
}

/* Challenges Grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.challenge-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.challenge-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.challenge-card ul {
    margin-bottom: 20px;
}

.challenge-card ul li {
    margin-bottom: 12px;
}

.highlight {
    font-weight: 600;
    margin-top: 20px;
    color: var(--accent-white);
    background-color: #8AB6D6;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Two Columns Layout */
.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.two-columns .column {
    flex: 1 1 300px;
}

.portrait {
    max-width: 100%;
    border-radius: 8px;
}

.and-if-list ul {
    margin-left: 0;
}

.and-if-list li {
    margin-bottom: 12px;
}

.cta-container {
    margin-top: 30px;
    text-align: center;
}

.cta-container h3 {
    margin-bottom: 15px;
}

.cta-container .cta-button {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    background: transparent;
    color: var(--primary-blue);
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 140px;
}

.cta-container .cta-button:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Work Together Section */
.work-together-list li {
    margin-bottom: 15px;
}

.crypto-note {
    font-style: italic;
    color: var(--accent-white);
    margin: 20px 0;
    background-color: #8AB6D6;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Customer Logos Carousel */
.customers-carousel {
    overflow: hidden;
    padding: 20px 0;
    background-color: white;
    border-radius: 8px;
}

/* Carousel styles */
.carousel-track {
    display: flex;
    width: calc(250px * 21);
    animation: scroll 60s linear infinite;
}

.carousel-item {
    width: 200px;
    padding: 15px;
    flex: 0 0 auto;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 21));
    }
}

.carousel-item img {
    max-width: 100%;
    max-height: 80px;
    opacity: 0.9;
    transition: all 0.3s;
}

.carousel-item img:hover {
    opacity: 1;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.linkedin-icon {
    background-color: #0077b5;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    font-size: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.linkedin-icon::before {
    content: 'in';
    font-size: 1.3rem;
    font-weight: bold;
}

.linkedin-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #0066a1;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Mobile Menu */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
}

#menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Responsive Styles */
/* Large screens (laptops and smaller) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .two-columns {
        flex-direction: column;
    }
    
    .two-columns .column:first-child {
        order: 2;
    }
    
    .two-columns .column:last-child {
        order: 1;
    }
    
    .portrait {
        max-width: 70%;
        margin: 0 auto;
        display: block;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-bg {
        padding: 180px 20px 80px;
    }
}

/* Small screens (mobile phones) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    header {
        padding: 15px 20px;
    }
    
    .logo img {
        max-height: 80px;
    }
    
    #menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    .nav-right {
        margin-left: auto;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero-bg {
        padding: 160px 20px 60px;
        background-attachment: scroll;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .portrait {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-card {
        padding: 15px;
    }
    
    ul li {
        padding-left: 20px;
    }
    
    ul li::before {
        width: 6px;
        height: 6px;
        top: 8px;
    }
    
    ul ul {
        padding-left: 10px;
    }
    
    ul ul li {
        padding-left: 15px;
    }
    
    ul ul li::before {
        width: 5px;
        height: 5px;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .language-switcher {
        margin-right: 10px;
    }
    
    .contact-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .language-switcher a {
        padding: 4px 8px;
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .hero-bg {
        padding: 40px 0;
    }
    
    .carousel-item {
        width: 120px;
        padding: 0 10px;
    }
    
    .carousel-item img {
        max-height: 50px;
    }
}

/* Accessibility Improvements */
a:focus,
button:focus {
    outline: 2px dashed #0F2D52;
    outline-offset: 3px;
}

.cta-button:focus {
    outline: 2px dashed #fff;
    outline-offset: 3px;
}

.contact-button:focus,
.language-switcher a:focus {
    outline: 2px dashed #0F2D52;
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Skip to content link for keyboard users */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: #0F2D52;
    color: white;
    padding: 10px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Contact section button styling */
#contact .cta-button,
#start .cta-button,
#how .cta-button {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

#contact .cta-button:hover,
#start .cta-button:hover,
#how .cta-button:hover {
    background: var(--primary-blue);
    color: white;
}

/* Style for the blue highlight boxes */
.challenge-card .highlight {
    font-weight: 600;
    margin-top: 20px;
    color: var(--accent-white);
    background-color: #8AB6D6;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Style specifically for "Contact me" button */
#start .cta-button {
    font-size: 1.1rem;
    padding: 12px 30px;
    font-weight: 600;
}

#how .cta-container {
    margin-top: 40px;
    text-align: center;
    background-color: #8AB6D6;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#how .cta-container h3 {
    margin-bottom: 15px;
    color: var(--accent-white);
}

#how .cta-container .cta-button {
    border: 2px solid var(--accent-white);
    color: var(--accent-white);
    background-color: transparent;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#how .cta-container .cta-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--accent-white);
}

/* Improve biography paragraph spacing */
#about p {
    margin-bottom: 1.5em;
}

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

/* AI Enabled Section */
#ai-enabled .challenge-card {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border-left: 5px solid #8AB6D6;
}

#ai-enabled .highlight {
    background-color: #8AB6D6;
    color: var(--accent-white);
}

/* Timing Section Spacing */
#timing h3 {
    margin-bottom: 20px;
}

#timing ul {
    margin-top: 15px;
}

/* Section Heading Spacing */
.section h3 {
    margin-bottom: 20px;
}

.section .column h3 {
    margin-bottom: 20px;
}

.challenge-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Consistent Bullet Point Styling */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

/* Nested bullet points styling */
ul ul {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 15px;
}

ul ul li {
    padding-left: 20px;
    margin-bottom: 8px;
}

ul ul li::before {
    width: 6px;
    height: 6px;
    top: 9px;
    left: 0;
    background-color: #8AB6D6;
}

/* Reset challenge card bullet styles */
.challenge-card ul {
    margin-bottom: 20px;
}

.challenge-card ul li {
    margin-bottom: 12px;
}

/* Reset work together list bullet styles */
.work-together-list li {
    margin-bottom: 15px;
}

/* Reset and-if-list bullet styles */
.and-if-list ul {
    margin-left: 0;
}

.and-if-list li {
    margin-bottom: 12px;
} 