/* RAISE SEA Base Styles */

/* ==================== */
/* Global Styles */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f7fa;
}

/* ==================== */
/* Navigation Styles */
/* ==================== */
nav {
    background: white;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.8;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

nav a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
}

nav a:hover {
    color: #2563eb;
}

/* Hamburger Menu (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1f2937;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==================== */
/* Main Content */
/* ==================== */
main {
    min-height: calc(100vh - 400px);
}

/* ==================== */
/* Footer Styles */
/* ==================== */
footer {
    background: #20233E;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.footer-left h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-left > div {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #d1d5db;
    font-size: 0.9rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.75rem 1.5rem 0.75rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 0.9rem;
}

.subscribe-form button {
    padding: 0.75rem 1.5rem;
    background: #FF3337;
    color: white;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
}

.subscribe-form button:hover {
    background: #1d4ed8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #2563eb;
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 0.875rem;
}

/* ==================== */
/* Responsive Design */
/* ==================== */
/* Small screens - hamburger menu */
@media (max-width: 760px) {
    nav {
        flex-direction: row;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-center {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 4rem;
        transform: none;
        left: auto;
    }

    .nav-center.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    nav ul li {
        border-bottom: 1px solid #f3f4f6;
    }

    nav ul li a {
        display: block;
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    nav ul li a:hover {
        background-color: #f9fafb;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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