/* Font Face Declaration */
@font-face {
    font-family: 'Origo-Trial';
    src: url('../fonts/ORIGO_TRIAL.woff2') format('woff2'),
         url('../fonts/ORIGO_TRIAL.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Variables */
:root {
    --primary-color: #c62b2a;
    --background-color: #ffffff;
    --text-color: #333333;
    --placeholder-bg: #666666;
    --font-heading: 'Origo-Trial', serif;
    --font-body: 'Zen Kurenaido', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.2rem; /* Slightly larger for Zen Kurenaido readability */
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px;
}

/* Navigation */
nav {
    background-color: var(--background-color);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 90vh;
    background-color: var(--placeholder-bg); /* Fallback color */
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.hero-content img{
    max-width: 100%;
}

.enso-logo {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-color);
    border: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    /* Simulating Enso style roughly with CSS */
    border-top-color: transparent; 
    transform: rotate(-45deg);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #000000;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #000000;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-heading);
    letter-spacing: 0.2em;
    position: absolute;
    right: 5%;
    top: 20%;
    color: var(--primary-color);
    font-size: 3rem;
    opacity: 0.8;
    text-transform: uppercase;
    z-index: 2;
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 769px) {
    .vertical-text {
        display: block;
    }
}

.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #a01e1d;
}

/* About Us Section */
#about {
    background-color: #ffffff;
    background-image: 
      radial-gradient(circle at 100% 150%, #ffffff 24%, #f5f5f5 25%, #f5f5f5 28%, #ffffff 29%, #ffffff 36%, #f5f5f5 36%, #f5f5f5 40%, transparent 40%, transparent),
      radial-gradient(circle at 0    150%, #ffffff 24%, #f5f5f5 25%, #f5f5f5 28%, #ffffff 29%, #ffffff 36%, #f5f5f5 36%, #f5f5f5 40%, transparent 40%, transparent),
      radial-gradient(circle at 50%  100%, #ffffff 10%, #f5f5f5 11%, #f5f5f5 23%, #ffffff 24%, #ffffff 30%, #f5f5f5 31%, #f5f5f5 43%, #ffffff 44%, #ffffff 50%, #f5f5f5 51%, #f5f5f5 63%, #ffffff 64%, #ffffff 71%, transparent 71%, transparent),
      radial-gradient(circle at 100% 50%, #ffffff 5%, #f5f5f5 6%, #f5f5f5 15%, #ffffff 16%, #ffffff 20%, #f5f5f5 21%, #f5f5f5 30%, #ffffff 31%, #ffffff 35%, #f5f5f5 36%, #f5f5f5 45%, #ffffff 46%, #ffffff 49%, transparent 50%, transparent),
      radial-gradient(circle at 0    50%, #ffffff 5%, #f5f5f5 6%, #f5f5f5 15%, #ffffff 16%, #ffffff 20%, #f5f5f5 21%, #f5f5f5 30%, #ffffff 31%, #ffffff 35%, #f5f5f5 36%, #f5f5f5 45%, #ffffff 46%, #ffffff 49%, transparent 50%, transparent);
    background-size: 100px 50px;
}

#about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0; /* Remove gap for overlap */
    align-items: center;
}

.about-text {
    grid-column: 2 / 4;
    grid-row: 1;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-left: -50px; /* Pull text over image */
}

.about-image {
    grid-column: 1 / 3;
    grid-row: 1;
    z-index: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.placeholder-img {
    width: 100%;
    height: 500px; /* Increased height for better overlap */
    background-color: var(--placeholder-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    /* Organic/Brush-like border radius */
    border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
    overflow: hidden;
    transition: border-radius 0.5s ease;
}

.placeholder-img:hover {
    border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
}

/* Contact Us Section */
#contact {
    background-color: #ffffff;
}

#contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info{
    align-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 30px;
    height: 30px;
    margin-right: 20px;
    /* If SVGs are black, this filter can turn them red. 
       Adjust based on actual SVG color or use inline SVG for fill control. 
       Assuming SVGs are black/dark: */
    filter: invert(23%) sepia(56%) saturate(3864%) hue-rotate(346deg) brightness(91%) contrast(92%); /* Matches #c62b2a approx */
}

.info-item .icon-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.social-media {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.social-media img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
    filter: invert(23%) sepia(56%) saturate(3864%) hue-rotate(346deg) brightness(91%) contrast(92%);
}

.social-media a:hover img {
    transform: scale(1.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin: auto;
}

.half{
    margin: none;
    width: 49%;
    display: inline-block;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}

.associations {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.associations img {
    height: 120px;
    transition: transform 0.3s;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0; /* Start hidden */
    animation-delay: 0.3s; /* Slight delay */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hide for now, could add hamburger menu */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text {
        grid-column: 1;
        grid-row: 2;
        margin-left: 0;
        padding: 30px;
        box-shadow: none;
        background: transparent;
        border-left: none;
        border-top: 3px solid var(--primary-color);
    }

    .about-image {
        grid-column: 1;
        grid-row: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .placeholder-img {
        height: 300px;
    }
    
    .map-container {
        height: 300px;
    }
}
