* {
 box-sizing: border-box;
}

body {
margin: 0;
font-family: Georgia, "Times New Roman", serif;
background: linear-gradient(to bottom, #160a06 0%, #351606 140px, #2d130b 140px, #101010 100%);
color: #f6ead2;
}

.site-shell {
width: min(1000px, 92%);
margin: 40px auto;
background:
linear-gradient(rgba(18, 8, 5, 0.55), rgba(18, 8, 5, 0.55)),
url("../images/stone-bg.jpg");
background-size: cover;
background-position: center;
border: 2px solid #3a2417;
box-shadow:
0 0 0 2px #70492e inset,
0 20px 50px rgba(195, 40, 40, 0.55);
}

.topbar {
display: flex;
align-items: flex-start;
gap: 18px;
padding: 22px 24px 8px;
}

.logo-wrap img {
width: 240px;
display: block;
}

.main-nav {
display: flex;
justify-content: center;
background: linear-gradient(to bottom, rgba(16, 16, 16, 0.88), rgba(34, 20, 12, 0.88));
border: 1px solid #4c2f1e;
box-shadow: 0 0 0 1px #84532d inset;
}

.main-nav a {
color: #f7edd8;
text-decoration: none;
padding: 16px 24px;
font-weight: 700;
border-right: 1px solid rgba(211, 168, 107, 0.22);
transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.main-nav a:last-child {
border-right: none;
}

.main-nav a:hover {
background: rgba(194, 114, 45, 0.12);
color: #ffdc9b;
}

.panel {
text-align: center;
padding: 26px 30px 34px;
border-top: 1px solid rgba(255, 203, 128, 0.18);
border-bottom: 1px solid rgba(255, 203, 128, 0.18);
background: rgba(44, 21, 10, 0.28);
}

.hero {
padding-top: 8px;
padding-bottom: 54px;
}

.hero h1,
.planner h2 {
margin: 0 0 10px;
font-size: clamp(2rem, 4vw, 3rem);
color: #fff2d8;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.hero p,
.planner p {
margin: 0 auto 24px;
max-width: 780px;
font-size: 1.2rem;
line-height: 1.5;
color: #f3dfba;
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.cta-button {
display: inline-block;
text-decoration: none;
color: #fff1d5;
font-weight: 700;
font-size: 1.5rem;
padding: 14px 28px;
background: linear-gradient(to bottom, #a32f13, #71200e);
border: 2px solid #e18a32;
box-shadow:
0 0 0 2px #44140d inset,
0 6px 14px rgba(0, 0, 0, 0.4);
transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta-button:hover {
transform: translateY(-2px) scale(1.03);
filter: brightness(1.08);
box-shadow:
0 0 0 2px #4f1208 inset,
0 10px 20px rgba(0, 0, 0, 0.5);
}

.card-section {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 34px;
padding: 42px 34px 36px;
}

.guide-card {
text-decoration: none;
color: inherit;
background: linear-gradient(to bottom, rgba(49, 26, 15, 0.92), rgba(30, 16, 10, 0.96));
border: 2px solid #6d4a31;
box-shadow:
0 0 0 2px #2e1b10 inset,
0 10px 22px rgba(0, 0, 0, 0.35);
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.guide-card:hover {
transform: translateY(-6px) scale(1.02);
box-shadow:
0 0 0 2px #2e1b10 inset,
0 16px 28px rgba(0, 0, 0, 0.48);
filter: brightness(1.05);
}

.card-images {
background: #1c120d;
border-bottom: 2px solid #7a5332; 
position: relative;
top: -30px;  
}
.card-image {
background: #1c120d;
border-bottom: 2px solid #7a5332;
position: relative;
top: -65px;
}

.card-content {
padding: 18px 14px 22px;
}

.card-content h2 {
margin: 0 0 12px;
font-size: 1.9rem;
line-height: 1.15;
color: #fff1d6;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.card-content p {
margin: 0;
font-size: 1.2rem;
line-height: 1.45;
color: #f2dfbf;
}

.divider {
display: flex;
justify-content: center;
align-items: center;
position: relative;
margin: 6px 0 0;
}

.divider::before,
.divider::after {
content: "";
height: 4px;
background: linear-gradient(to right, #6c2f16, #c68233, #6c2f16);
flex: 1;
}

.gem {
width: 34px;
height: 34px;
margin: 0 14px;
background: linear-gradient(135deg, #fff2a1, #f39b20, #9d310c);
transform: rotate(45deg);
border: 2px solid #7a3c1b;
box-shadow: 0 0 0 2px #2b140c inset, 0 0 14px rgba(255, 177, 41, 0.4);
flex-shrink: 0;
}

.planner {
padding-top: 28px;
padding-bottom: 34px;
}

.planner-image-wrap {
max-width: 760px;
margin: 24px auto 22px;
border: 2px solid #6d4a31;
box-shadow: 0 0 0 2px #2e1b10 inset;
background: rgba(24, 12, 8, 0.75);
overflow: hidden;
}

.planner-image-wrap img {
display: block;
width: 100%;
height: auto;
}

.footer {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 20px;
padding: 26px 28px 30px;
background: rgba(19, 9, 6, 0.7);
border-top: 1px solid rgba(255, 198, 120, 0.18);
}

.footer p {
margin: 0;
max-width: 760px;
font-size: 1rem;
line-height: 1.6;
color: #f0dfc2;
}

.footer-icons {
display: flex;
gap: 10px;
}

.footer-icons a {
width: 52px;
height: 52px;
display: grid;
place-items: center;
text-decoration: none;
color: #f7e7cb;
font-size: 1.5rem;
background: linear-gradient(to bottom, #3f2c20, #201611);
border: 2px solid #6d4a31;
box-shadow: 0 0 0 2px #2d1a11 inset;
transition: transform 0.18s ease, filter 0.18s ease;
}

.footer-icons a:hover {
transform: translateY(-2px);
filter: brightness(1.08);
}

@media (max-width: 900px) {
.topbar {
flex-direction: column;
align-items: center;
}

.main-nav {
width: 100%;
flex-wrap: wrap;
}

.card-section {
grid-template-columns: 1fr;
}
.footer {
flex-direction: column;
align-items: flex-start;
}
}

.card-image img {
   width: 465px;
   position: relative;
   right: 91px;
   bottom: -35px;
   

}
.card-images img {
    width: 410px;
    position: relative;
    right: 63px;
    bottom: -20px;
   
}