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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #5d4e37 0%, #8b7355 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

header .tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    font-style: italic;
}

/* Main Content */
main {
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 4px solid #8b7355;
}

.photo-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
}

.hero-text h2 {
    color: #5d4e37;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.hero-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: justify;
}

/* Features Section */
.features {
    margin-bottom: 3rem;
}

.features h2 {
    text-align: center;
    color: #5d4e37;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:not(.disabled):hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.feature-card.disabled {
    opacity: 0.6;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #5d4e37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-primary {
    background-color: #5d4e37;
    color: white;
}

.btn-primary:hover {
    background-color: #4a3d2c;
    transform: scale(1.05);
}

.btn-disabled {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
}

/* About Section */
.about {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.about h2 {
    color: #5d4e37;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
}

.about p {
    font-size: 1.1rem;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #8b7355;
    text-decoration: none;
}

footer a:hover {
    color: #a9936a;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .hero, .about {
        padding: 2rem 1.5rem;
    }
}

/* Header Auth Button */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    flex: 1;
}

.header-auth {
    margin-left: 2rem;
}

.btn-login {
    background-color: #6D4C41;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-login:hover {
    background-color: #5a3f35;
}

/* Feature Note */
.feature-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

/* Responsive header auth */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-auth {
        margin-left: 0;
        width: 100%;
    }
    
    .btn-login {
        width: 100%;
        text-align: center;
    }
}
