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

/* Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --dark-bg: #ffffff;
    --light-bg: #fafafa;
    --text-dark: #000000;
    --text-light: #000000;
    --border-color: #e0e0e0;
}

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header & Navigation */
header {
    background-color: transparent;
    padding: 2rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    gap: 3rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
}

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

.nav-left {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-left a,
.nav-links a {
    color: #000000;
    transition: opacity 0.3s;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-left a:hover,
.nav-left a.active,
.nav-links a:hover,
.nav-links a.active {
    opacity: 0.6;
}

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

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    z-index: 1002;
    list-style: none;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu.active ~ .logo {
    display: none;
}

.mobile-menu a {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.mobile-menu a:hover {
    opacity: 0.6;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding-top: 160px;
}

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

/* Hero Section */
.hero {
    background: url('../images/hero-bg.jpg') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000000;
    position: relative;
    margin-top: -160px;
    padding-top: 160px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    color: #ffffff;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    color: #ffffff;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #000000;
    color: #ffffff;
    border-radius: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    font-weight: 400;
}

.btn:hover {
    opacity: 0.8;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #000000;
    font-weight: 300;
    letter-spacing: -0.5px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.card:hover {
    border-color: #000000;
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content p {
    font-size: 0.9rem;
    font-weight: 300;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #000000;
    font-size: 1.3rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.6;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 400;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #000000;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 3rem;
    border: none;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    color: #000000;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo img {
        height: 80px;
    }

    nav {
        gap: 2rem;
    }

    .nav-left,
    .nav-links {
        gap: 1.5rem;
    }

    .nav-left a,
    .nav-links a {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 2.5rem 0 2rem 0;
        background-color: transparent;
        position: absolute;
    }

    nav {
        padding: 0 1.5rem;
        justify-content: center;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0rem;
    }

    .logo img {
        height: 120px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 1.5rem;
    }

    .nav-left,
    .nav-links {
        display: none;
    }

    main {
        padding-top: 140px;
    }

    .hero {
        margin-top: -140px;
        padding-top: 250px;
        height: 100vh;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        font-weight: 600;
        color: #ffffff;
    }

    .hero-content p {
        font-size: 1rem;
        font-weight: 500;
        color: #ffffff;
    }

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

    section h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0 !important;
    }

    .container {
        padding: 1rem;
    }

    /* Founder section mobile layout */
    .container > div > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .container > div > div[style*="display: flex"] > div[style*="flex: 0 0 300px"] {
        flex: none !important;
    }

    .container > div > div[style*="display: flex"] > div[style*="flex: 1"] {
        flex: none !important;
    }
}