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

body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: 1.7;
    color: #3a2f2a;
    background-color: #faf8f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: normal;
    color: #2c4a4e;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; line-height: 1.2; }
h3 { font-size: 1.8rem; line-height: 1.3; }

p {
    margin-bottom: 1.5rem;
    color: #4a453f;
}

.intro-text {
    font-size: 1.3rem;
    color: #2c4a4e;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

em {
    font-style: italic;
    color: #5d7c73;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, #8fa69a, transparent);
}

.alt-bg {
    background-color: #f5f1eb;
}

.alt-bg:before {
    background: linear-gradient(to right, transparent, #b8a082, transparent);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, #2c4a4e 0%, #4a5c59 50%, #5d7c73 100%);
    color: #faf8f5;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(141, 166, 154, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 160, 130, 0.1) 0%, transparent 50%);
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    color: #faf8f5;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #e8dcc6;
    font-style: italic;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-accent {
    width: 80px;
    height: 2px;
    background: #b8a082;
    margin: 0 auto;
    opacity: 0.8;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: #8fa69a;
}

/* Content Blocks */
.content-block {
    max-width: 720px;
    margin: 0 auto;
}

/* Book Feature */
.book-feature {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(44, 74, 78, 0.1);
    border-left: 4px solid #5d7c73;
    position: relative;
}

.book-title {
    font-size: 2.2rem;
    color: #2c4a4e;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.book-meta {
    color: #8fa69a;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
}

.book-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4a453f;
}

.book-link {
    display: inline-block;
    background: #2c4a4e;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.book-link:hover {
    background: #5d7c73;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 74, 78, 0.2);
}

/* Experience Items */
.experience-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(143, 166, 154, 0.3);
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-item h3 {
    color: #2c4a4e;
    margin-bottom: 0.5rem;
}

.role {
    color: #5d7c73;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Teaching Experience */
.teaching-experience h3 {
    color: #2c4a4e;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2c4a4e;
}

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

.contact-email {
    display: inline-block;
    font-size: 1.3rem;
    color: #2c4a4e;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #8fa69a;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: Georgia, serif;
}

.contact-email:hover {
    background: #2c4a4e;
    color: white;
    border-color: #2c4a4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 74, 78, 0.2);
}

/* Floating Contact Button */
.contact-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #5d7c73;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(93, 124, 115, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.contact-float:hover {
    background: #2c4a4e;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 25px rgba(44, 74, 78, 0.4);
}

/* Footer */
.footer {
    background: #2c4a4e;
    color: #e8dcc6;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    margin-bottom: 0.5rem;
    color: #e8dcc6;
}

.bws-credit {
    opacity: 0.5;
    font-size: 0.9rem;
}

.bws-credit a {
    color: #b8a082;
    text-decoration: none;
}

.bws-credit a:hover {
    color: #e8dcc6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .book-feature {
        padding: 2rem 1.5rem;
    }
    
    .contact-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    body {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .book-feature {
        padding: 1.5rem 1rem;
    }
    
    .book-title {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .contact-float,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: #2c4a4e;
    }
    
    .hero-title,
    .hero-subtitle {
        color: #2c4a4e;
    }
}