:root {
    --bg-color: #e8eddf;
    --navbar-color: #242423;
    --text-color: #333533;
    --logo-url: url('https://ik.imagekit.io/dployr/shared/logo.svg?updatedAt=1751365002259');
    --bokeh-color: rgba(36, 36, 35, 0.18);
}

[data-theme="dark"] {
    --bg-color: #242423;
    --navbar-color: #195B5E;
    --text-color: #ffffff;
    --logo-url: url('https://ik.imagekit.io/dployr/shared/logo-secondary.svg?updatedAt=1751365002381');
    --bokeh-color: rgba(25, 91, 94, 0.18);
}

body {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.navbar {
    background-color: var(--navbar-color);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    height: 32px;
    pointer-events: none;
    background: linear-gradient(180deg, var(--bokeh-color) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    filter: blur(8px);
    z-index: 1;
    border-radius: 0 0 32px 32px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background-color: white;
    margin: 2px 0;
    transition: 0.3s;
}

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

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

.logo img {
    height: 32px;
    width: auto;
    content: var(--logo-url);
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.theme-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50px;
    transition: background-color 0.2s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 1.5rem;
    margin-right: 0.5rem;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    color: white;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer {
    width: 100%;
    padding: 1rem 0;
    background: none;
    color: #888;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #177E89;
    font-weight: 600;
}

[data-theme="dark"] .footer,
[data-theme="dark"] .footer-links a {
    color: #aaa;
}

[data-theme="dark"] .footer-links a:hover {
    color: #fff;
}

.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: var(--navbar-color);
    padding: 1rem 2rem;
    gap: 1rem;
    z-index: 999;

    /* Hidden by default */
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.mobile-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 0.5rem;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu .theme-toggle {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.mobile-menu .contact-btn {
    background: none;
    border: none;
    color: white;
    padding: 0.75rem 0;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    width: 100%;
    display: block;
    transition: background-color 0.2s ease;
    margin: 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 0.5rem;
}

/* About page specific styles */
.about-container {
    background: none;
    color: var(--text-color);
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem 1rem;
    border-radius: 18px;
    box-shadow: none;
}

.about-container h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-container p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.95;
    margin-bottom: 2rem;
    text-align: justify;
    line-height: 1.6;
}

.about-container .back-link {
    display: block;
    text-align: left;
    margin-top: 1rem;
    color: #177E89;
    text-decoration: underline;
    font-weight: 500;
}

.about-container .back-link:hover {
    color: #195B5E;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

.contact-btn {
    background: none;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    font-size: inherit;
    line-height: inherit;
    margin: -8px -16px;
}

.contact-btn:hover {
    background: #177E89;
    font-weight: 700;
}

[data-theme="dark"] .contact-btn:hover {
    background: #cfdbd5;
    color: #242423;
    font-weight: 700;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.contact-form {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.contact-form h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    margin-top: 0;
    padding-right: 2rem;
}

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

.form-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box;
}

[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    border-color: #555;
    background: #333;
}

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

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    margin-bottom: 0;
    white-space: nowrap;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background: #177E89;
    color: white;
}

.btn-primary:hover {
    background: #195B5E;
}

.btn-secondary {
    background: #ddd;
    color: #333;
    font-weight: 700;
}

.btn-secondary:hover {
    background: #bbb;
    font-weight: 700;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.close-btn::before {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--text-color);
    mask: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 4L4 12M4 4L12 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 4L4 12M4 4L12 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
}

/* Custom radio button styles */
.radio-group input[type="radio"] {
    accent-color: #177E89;
}
[data-theme="dark"] .radio-group input[type="radio"] {
    accent-color: #cfdbd5;
}

@media (max-width: 600px) {
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .contact-form {
        max-width: 100vw;
        box-sizing: border-box;
    }
    .modal-overlay {
        max-width: 100vw;
        box-sizing: border-box;
    }
    body {
        overflow-x: hidden;
    }
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--bg-color) url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 6L8 10L12 6" stroke="%23333533" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 0.75rem center/1.25rem 1.25rem;
    padding-right: 2.5rem;
}
[data-theme="dark"] .form-group select {
    background: #333 url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 6L8 10L12 6" stroke="%23cfdbd5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 0.75rem center/1.25rem 1.25rem;
    color: var(--text-color);
    border-color: #555;
    padding-right: 2.5rem;
} 