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

body {
    font-family: 'Lora', serif;
    background: linear-gradient(to bottom, #e8ecef, #d5dce5);
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(to bottom, #d5dce5, #b0c4de);
    padding: 2rem 1rem;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin: 1.5rem 0;
    position: relative;
}

.nav-links li::before {
    content: '➼';
    color: #1e90ff;
    position: absolute;
    left: -1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: #1e90ff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: #4a9d9c;
    transform: translateX(5px);
}

/* Main Content */
main {
    margin-left: 270px;
    padding: 2rem;
}

.section {
    min-height: 100vh;
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #1e90ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e90ff;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e90ff;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1rem;
    color: #444;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid #1e90ff;
    color: #fff;
    background: #1e90ff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #4a9d9c;
    border-color: #4a9d9c;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #4a9d9c;
    border-color: #4a9d9c;
}

.btn-primary:hover {
    background: #1e90ff;
    border-color: #1e90ff;
}

.btn-submit {
    background: #4682b4;
    border-color: #4682b4;
}

.btn-submit:hover {
    background: #1e90ff;
    border-color: #1e90ff;
}

.divider {
    width: 120px;
    height: 2px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 2"><path d="M0 1h20l10-1 10 1 10-1 10 1 10-1 10 1 10-1 10 1 10-1H120" stroke="%234a9d9c" stroke-width="2" fill="none"/></svg>');
    margin: 3rem auto;
}

.fancy-image {
    display: block;
    max-width: 71%; /* Reduced from 100% to ~71% (100 / 1.4) */
    height: auto;
    margin: 2rem auto;
    border: 3px solid #1e90ff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.fancy-image:hover {
    transform: scale(1.02);
}

/* Contact Section */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-message {
    flex: 1;
    text-align: left;
    padding: 1rem;
}

.fancy-form {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border: 3px solid #1e90ff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fancy-form input, .fancy-form textarea {
    padding: 0.75rem;
    border: 1px solid #1e90ff;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.fancy-form input:focus, .fancy-form textarea:focus {
    border-color: #4a9d9c;
    outline: none;
}

.fancy-form textarea {
    resize: vertical;
    min-height: 120px;
}

.transcript {
    max-width: 800px;
    margin: 0 auto;
}

footer {
    background: #1e90ff;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 1rem;
    }

    main {
        margin-left: 0;
        padding: 1rem;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-message {
        text-align: center;
    }

    .fancy-form {
        width: 100%;
        max-width: 500px;
    }

    .fancy-image {
        max-width: 60%;
    }
}