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

body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-image: url(tile.png);
    background-repeat: repeat;
    padding: 40px 20px;
}

a {
    color: #2c5282;
    text-decoration: none;
}

a:hover {
    color: #1a365d;
}

/* Wrapper */
#wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Header */
#header {
    background: #000;
    color: white;
    padding: 20px 30px;
}

#header-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

#header-title h1 {
    font-size: 28px;
    font-weight: 400;
    margin: 0;
}

#header-title h1 a {
    color: white;
    text-decoration: none;
}

#header-title .separator {
    color: white;
    font-size: 28px;
    font-weight: 300;
}

#header-title #tagline {
    font-size: 14px;
    font-style: italic;
    color: white;
}

/* Hero Section with Image and Navigation */
#hero-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    background: #000;
}

#profile-image {
    background: #000;
}

#profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
#navigation {
    background: #8b94a1;
    padding: 40px 30px;
}

#navigation ul {
    list-style: none;
}

#navigation li {
    margin-bottom: 15px;
}

#navigation a {
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
}

#navigation a:hover {
    color: #e0e0e0;
    text-decoration: underline;
}

#navigation li.current a {
    text-decoration: underline;
}

/* Content Wrapper */
#content-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 0;
}

/* Main Content */
#main-content {
    padding: 30px 40px;
    background: white;
}

#main-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
    font-weight: 400;
}

#main-content h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #000;
    font-weight: bold;
}

#main-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

#main-content ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

#main-content li {
    margin-bottom: 8px;
}

/* Sidebar */
#sidebar {
    background: #f5f5f5;
    padding: 20px;
    border-left: 1px solid #ddd;
}

.widget {
    margin-bottom: 30px;
}

.widget h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #000;
    font-weight: bold;
}

/* Contact Widget */
.contact-widget p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
}

/* Responsive Design */
@media (max-width: 968px) {
    #hero-section {
        grid-template-columns: 1fr;
    }

    #navigation {
        padding: 20px 30px;
    }

    #navigation ul {
        display: flex;
        gap: 20px;
    }

    #navigation li {
        margin-bottom: 0;
    }

    #navigation a {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    #header-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    #header-title .separator {
        display: none;
    }

    #header-title #tagline {
        font-size: 1.1rem;
    }

    #content-wrapper {
        grid-template-columns: 1fr;
    }

    #main-content {
        padding: 20px;
    }

    #sidebar {
        border-left: none;
        border-top: 1px solid #ddd;
    }
}

@media (max-width: 480px) {
    #header {
        padding: 15px 20px;
    }

    #header-title h1 {
        font-size: 1.5rem;
    }

    #header-title #tagline {
        font-size: 1rem;
    }

    #navigation {
        padding: 15px 20px;
    }

    #navigation ul {
        flex-direction: column;
        gap: 10px;
    }

    #main-content {
        padding: 15px;
    }

    #main-content h2 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    #wrapper {
        box-shadow: none;
    }

    #navigation,
    #sidebar {
        display: none;
    }

    #hero-section {
        grid-template-columns: 1fr;
    }

    #content-wrapper {
        grid-template-columns: 1fr;
    }
}
