/* =====================================================
   SMART DECISIONS WEBSITE THEME
   Edit this file to change colors, fonts, and styling
   ===================================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
}

/* === HEADER & NAVIGATION === */
header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c3e50 100%);
    color: white;
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

nav h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f39c12;
    transition: width 0.3s;
}

nav a:hover:after {
    width: 100%;
}

/* === MAIN CONTENT === */
main {
    margin-top: 80px;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero h3 {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.95;
}

/* === BOOK SHOWCASE === */
.book-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.book-cover {
    max-width: 350px;
    height: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-radius: 8px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.book-cover:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.book-info {
    max-width: 500px;
    text-align: left;
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.book-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.book-info h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* === BUTTONS === */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.button {
    background: white;
    color: #e67e22;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* === ACKNOWLEDGEMENTS === */
.acknowledgements {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    border-left: 4px solid white;
}

/* === SECTIONS === */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-heading h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 2px;
}

.section-heading p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* === SOLUTIONS GRID === */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.solution-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: #f39c12;
}

.solution-card:hover:before {
    transform: scaleX(1);
}

.solution-card h4 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.solution-card .button {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    margin-top: 1rem;
}

.solution-card .button:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.password-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #95a5a6;
    font-style: italic;
}

/* === AUTHORS GRID === */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.author-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(243, 156, 18, 0.15);
}

.author-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #f39c12;
    transition: all 0.3s;
}

.author-card:hover img {
    border-color: #e67e22;
    transform: scale(1.05);
}

.author-card q {
    display: block;
    font-style: italic;
    margin: 1.5rem 0;
    color: #7f8c8d;
    font-size: 1.05rem;
    line-height: 1.6;
}

.author-card footer {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.2rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    nav {
        padding: 0 1.5rem;
    }
    
    nav h1 {
        font-size: 1.3rem;
    }
    
    nav ul {
        gap: 1.2rem;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 4rem 1.5rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero h3 {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .book-showcase {
        gap: 2.5rem;
    }
    
    .book-cover {
        max-width: 280px;
    }
    
    .book-info {
        padding: 2rem 1.5rem;
    }
    
    .book-info p {
        font-size: 1.05rem;
    }
    
    .button {
        padding: 0.85rem 1.8rem;
        font-size: 0.85rem;
    }
    
    .acknowledgements {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .section-heading h3 {
        font-size: 2.2rem;
    }
    
    .section-heading p {
        font-size: 1.05rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-card {
        padding: 2rem 1.5rem;
    }
    
    .solution-card h4 {
        font-size: 1.25rem;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .author-card {
        padding: 2.5rem 1.5rem;
    }
}