/* CSS for The Baobab Project Landing Page */
/* Inspired by modern "Under Maintenance" designs, using Baobab brand identity */

:root {
    --dark-green: #4e7e6e;
    --leaf-green: #7c9b7f;
    --trunk-brown: #b57455;
    --sand: #e4ba8a;
    --blue-green: #85ac99;
    --night-brown: #6c4937;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-light: #f5f5f5;
    --gray-medium: #888888;
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif; /* Substitute for Architype Bayer */
    --font-subtitle: 'Poppins', sans-serif;   /* Substitute for Now */
    --font-body: 'Quicksand', sans-serif;
    --font-quote: 'Kalam', cursive;          /* Substitute for Linotype Feltpen */
}

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

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.4;
    overflow: hidden; /* Enforce 100vw/vh */
    height: 100vh;
    width: 100vw;
}

.page-container {
    display: flex;
    height: 100vh;
    width: 100%;
    background-image: url('../assets/images/Baobab forest Madagascar.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Content Side */
.content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space evenly */
    padding: 40px 50px; /* Tightened padding */
    background-color: rgba(26, 26, 26, 0.85); /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Add a modern blur effect */
    z-index: 2;
    position: relative;
    max-width: 550px; /* Slightly tighter */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

header {
    margin-bottom: 20px;
}

h1, h2, h3, h4, h5, h6,
.page-container h1,
.page-container h2,
.page-container h3,
.page-container h4,
.page-container h5,
.page-container h6 {
    font-family: var(--font-body); /* Quicksand */
    font-weight: 700; /* Bold */
}

.sub-heading {
    font-family: var(--font-body);
    font-weight: 400; /* Normal weight for Sub-headings */
}

.logo img {
    height: 50px; /* Tightened logo size */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.page-container .main-headline,
.main-headline {
    font-family: var(--font-body) !important; /* Quicksand Bold — cannot be overridden */
    font-size: 2.6rem;
    font-weight: 700 !important; /* Bold */
    color: var(--leaf-green);
    line-height: 1.1;
    margin-bottom: 8px;
}

.subtitle {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 700; /* Bold as requested */
    color: var(--sand);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.content-text {
    margin-bottom: 20px;
    max-width: 480px;
}

.body-copy {
    font-family: var(--font-body);
    font-size: 0.95rem; /* Tightened font size */
    color: #cccccc;
    margin-bottom: 12px;
    font-weight: 400; /* Changed from 300 for better readability */
}

/* Quote style for future use */
.quote {
    font-family: var(--font-quote);
    font-size: 1.2rem;
    color: var(--sand);
    font-style: italic;
}

/* Footer */
footer {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-size: 0.7rem;
    color: var(--gray-medium);
}

.company-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--gray-medium);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--leaf-green);
}

.social-icons i {
    width: 16px;
    height: 16px;
}

/* Image Side */
.image-side {
    flex: 1;
    /* Background moved to page-container */
    position: relative;
}

.image-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--black) 0%, transparent 20%);
}

/* Responsive */
@media (max-width: 1024px) {
    .content-side {
        padding: 30px 40px;
        max-width: 100%;
    }
    
    .main-headline {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .page-container {
        flex-direction: column;
        height: auto;
    }
    
    .image-side {
        height: 200px;
        order: -1;
    }
    
    .image-side::after {
        background: linear-gradient(to top, var(--black) 0%, transparent 20%);
    }
    
    .content-side {
        padding: 30px 20px;
    }
    
    .main-headline {
        font-size: 1.8rem;
    }
    
    footer {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 20px;
    }
}