/* ============================================================
   METHOD OVERVIEW · REDESIGNED · ELEGANT · REFINED
   sophisticated layout, beautiful cards, proper hierarchy
   fully integrated with Laravel routes
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9f5f1;
    color: #3d4a3d;
    line-height: 1.7;
}

.method-page {
    padding: 20px;
}

/* ===== HEADER SECTION ===== */
.method-header {
    position: relative;
    padding-top: 80px;
}

.method-header h1 {
    font-family: 'Marcellus', serif;
    font-size: 40px;
    color: #1b331b;
    font-weight: 400;
    line-height: 1.1;
}

.header-accent {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.header-accent-line {
    width: 80px;
    height: 2px;
    background: #d0b7a4;
}

.header-accent-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: #b28d72;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* ===== HERO SECTION (image + intro) ===== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 20px 40px -15px rgba(80, 60, 40, 0.1);
    border: 1px solid #eee3da;
}
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a443c;
    margin-bottom: 1.5rem;
}

.hero-content p:last-child {
    margin-bottom: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 28px;
    overflow: hidden;
    background: #f0e9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2d5cb;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

/* ===== FRAMEWORK QUOTE ===== */
.framework-quote {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 4rem;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #ffffff, #fcf8f4);
    border-radius: 60px;
    border: 1px solid #e8ddd4;
    box-shadow: 0 10px 25px -8px rgba(100, 70, 50, 0.08);
}

.framework-quote p {
    font-family: 'Marcellus', serif;
    font-size: 1.4rem;
    color: #2d452d;
    font-style: italic;
    line-height: 1.6;
}

.framework-quote .quote-author {
    font-size: 0.9rem;
    color: #b28d72;
    margin-top: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== DOCTRINE GRID (refined cards) ===== */
.doctrine-title {
    font-size: 30px;
    color: #1f3a1f;
    border-left: 4px solid #d0b7a4;
    padding-left: 1.5rem;
}
.doctrine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0 3rem;
}
.doctrine-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 32px;
    border: 1px solid #eee3da;
    box-shadow: 0 15px 30px -12px rgba(80, 55, 35, 0.08);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.doctrine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #c9af9b, #e1cebf);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctrine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -15px #7a614e80;
    border-color: #cfb7a5;
}

.doctrine-card:hover::before {
    opacity: 1;
}

.card-number {
    font-size: 0.9rem;
    color: #b28d72;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.doctrine-card h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    color: #1f461f;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.doctrine-card p {
    font-size: 16px;
    color: #5e554c;
    line-height: 1.2;
    flex-grow: 1;
}
.card-arrow {
    font-size: 1.2rem;
    color: #b28d72;
    transition: transform 0.2s ease;
    align-self: flex-end;
}

.doctrine-card:hover .card-arrow {
    transform: translateX(8px);
    color: #1f461f;
}

/* ===== FOOTER NOTE ===== */
.method-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2d5cb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    font-size: 0.9rem;
    color: #9b8a7c;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #5a4d42;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px dotted #cfbcae;
    padding-bottom: 2px;
    transition: all 0.2s;
}

.footer-link:hover {
    color: #1f561f;
    border-bottom-color: #1f561f;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .doctrine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .method-page {
        padding: 1.5rem 1rem;
    }
    
    .hero-section {
        padding: 1.5rem;
    }
    
    .doctrine-grid {
        grid-template-columns: 1fr;
    }
    
    .framework-quote {
        padding: 1.5rem;
    }
    
    .framework-quote p {
        font-size: 1.2rem;
    }
    
    .method-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .method-header h1 {
        font-size: 2.5rem;
    }
    
    .header-accent-text {
        letter-spacing: 2px;
    }
    
    .doctrine-card h3 {
        font-size: 1.6rem;
    }
}