/* Reset e Cores */
:root {
    --warm-yellow: #fbbf24;
    --golden: #f59e0b;
    --brown: #78350f;
    --dark-brown: #451a03;
    --earth-red: #dc2626;
    --cream: #fef3c7;
    --paper-bg: #fffbeb;
    --white: #ffffff;
    --line-color: #d97706;
    --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-brown: linear-gradient(135deg, #78350f 0%, #451a03 100%);
    --shadow-soft: 0 10px 30px rgba(251, 191, 36, 0.2);
    --shadow-paper: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', Georgia, serif;
    background-color: var(--paper-bg);
    color: var(--dark-brown);
    line-height: 1.7;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d97706' fill-opacity='0.08' fill-rule='evenodd'%3E%3Ccircle cx='5' cy='5' r='2'/%3E%3Ccircle cx='25' cy='25' r='2'/%3E%3C/g%3E%3C/svg%3E");
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: var(--earth-red);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--golden);
}

/* Header */
.main-header {
    text-align: center;
    padding: 50px 0;
    background-color: var(--white);
    border-bottom: 5px double var(--brown);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo h1 {
    font-family: 'Caveat', cursive;
    font-size: 72px;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px rgba(251, 191, 36, 0.2);
    font-weight: 700;
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo h1:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo span {
    color: var(--earth-red);
}

.logo p {
    font-family: 'Indie Flower', cursive;
    font-size: 24px;
    color: var(--brown);
    font-weight: 700;
}

.main-nav {
    margin-top: 30px;
    border-top: 2px dashed var(--line-color);
    padding-top: 25px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.main-nav a {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    font-weight: 700;
    color: var(--brown);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-warm);
    border-radius: 10px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--earth-red);
}

/* Hero */
.hero-intro {
    padding: 100px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.intro-box {
    background-color: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-paper);
    border: 3px solid var(--warm-yellow);
    max-width: 900px;
    position: relative;
    transform: rotate(-1deg);
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) rotate(-1deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(-1deg);
    }
}

.intro-box:hover {
    transform: rotate(0deg);
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.3);
}

.intro-box::before {
    content: '🍰';
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 80px;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.intro-box h2 {
    font-family: 'Caveat', cursive;
    font-size: 56px;
    color: var(--earth-red);
    margin-bottom: 25px;
    font-weight: 700;
}

.intro-box p {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 40px;
    color: var(--brown);
    line-height: 1.8;
}

.btn-wood {
    display: inline-block;
    background: var(--gradient-brown);
    color: var(--white) !important;
    padding: 18px 45px;
    font-family: 'Caveat', cursive;
    font-size: 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(120, 53, 15, 0.4);
    transition: all 0.3s ease;
    font-weight: 700;
}

.btn-wood:hover {
    background: var(--gradient-warm);
    color: var(--brown) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.5);
}

/* About (Paper Note) */
.about-section {
    padding: 80px 0;
}

.paper-note {
    background-color: var(--white);
    padding: 60px;
    box-shadow: var(--shadow-paper);
    transform: rotate(1deg);
    border: 2px solid var(--cream);
    border-radius: 12px;
    background-image: linear-gradient(var(--cream) 2px, transparent 2px);
    background-size: 100% 2.2em;
    line-height: 2.2em;
    position: relative;
    transition: all 0.4s ease;
}

.paper-note:hover {
    transform: rotate(0deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.paper-note::before {
    content: '📝';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    opacity: 0.2;
}

.paper-note h3 {
    font-family: 'Indie Flower', cursive;
    color: var(--brown);
    font-size: 42px;
    margin-bottom: 30px;
    margin-top: -15px;
    font-weight: 700;
}

.paper-note p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Recipes Grid */
.recipes-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--paper-bg) 100%);
}

.handwritten-title {
    font-family: 'Caveat', cursive;
    font-size: 68px;
    text-align: center;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 70px;
    font-weight: 700;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 50px;
}

.recipe-card {
    background-color: var(--white);
    padding: 25px 25px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
    transform: rotate(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.recipe-card:nth-child(even) {
    transform: rotate(-2deg);
}

.recipe-card:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.4);
}

.tape {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 5;
    opacity: 0.8;
    border-radius: 4px;
}

.card-img {
    height: 260px;
    margin-bottom: 25px;
    border: 8px solid var(--cream);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.bg-corn { 
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
}
.bg-chocolate { 
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}
.bg-carrot { 
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.recipe-card h4 {
    font-family: 'Indie Flower', cursive;
    font-size: 32px;
    color: var(--brown);
    margin-bottom: 15px;
    font-weight: 700;
}

.recipe-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.read-btn {
    display: inline-block;
    margin-top: 20px;
    font-family: 'Caveat', cursive;
    font-size: 26px;
    font-weight: 700;
    color: var(--earth-red);
    border-bottom: 3px solid var(--earth-red);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.read-btn:hover {
    color: var(--golden);
    border-color: var(--golden);
    transform: translateY(-2px);
}

/* Tips */
.tips-section {
    padding: 100px 0;
    background: var(--white);
}

.tips-section h3 {
    font-family: 'Caveat', cursive;
    font-size: 62px;
    text-align: center;
    color: var(--brown);
    margin-bottom: 60px;
    font-weight: 700;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.tip-item {
    background: var(--gradient-warm);
    padding: 30px 35px;
    border-radius: 0 30px 30px 30px;
    border: 3px solid var(--brown);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
}

.tip-item::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 30px;
    font-size: 40px;
}

.tip-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.tip-item h5 {
    font-family: 'Indie Flower', cursive;
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark-brown);
    font-weight: 700;
}

.tip-item p {
    font-size: 18px;
    color: var(--brown);
    line-height: 1.8;
}

/* Authority */
.authority-links {
    padding: 80px 0;
    text-align: center;
    background: var(--cream);
    font-family: 'Lora', serif;
}

.authority-links h3 {
    font-family: 'Caveat', cursive;
    font-size: 52px;
    color: var(--brown);
    margin-bottom: 30px;
    font-weight: 700;
}

.authority-links ul {
    list-style: none;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.authority-links a {
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.authority-links a:hover {
    border-bottom-color: var(--earth-red);
}

/* Form */
.contact-area {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
}

.contact-area h3 {
    font-family: 'Caveat', cursive;
    font-size: 58px;
    color: var(--brown);
    margin-bottom: 50px;
    font-weight: 700;
}

.vintage-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    background: var(--paper-bg);
    padding: 50px;
    border-radius: 20px;
    border: 3px solid var(--warm-yellow);
    box-shadow: var(--shadow-paper);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--brown);
    font-weight: 700;
}

.vintage-form input, .vintage-form textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--white);
    border: none;
    border-bottom: 3px dashed var(--line-color);
    font-family: 'Indie Flower', cursive;
    font-size: 20px;
    outline: none;
    transition: all 0.3s ease;
    color: var(--brown);
}

.vintage-form input:focus, .vintage-form textarea:focus {
    border-bottom-style: solid;
    border-color: var(--earth-red);
    background-color: var(--cream);
}

.vintage-form textarea {
    resize: vertical;
    min-height: 120px;
}

.vintage-form button {
    margin-top: 20px;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 60px 0 30px;
    background: var(--gradient-brown);
    color: var(--cream);
}

.footer-logo {
    font-family: 'Caveat', cursive;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--warm-yellow);
    font-weight: 700;
}

.footer-nav {
    margin-top: 20px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--cream);
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--warm-yellow);
    transform: translateY(-2px);
}

.copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed rgba(251, 191, 36, 0.3);
    font-size: 14px;
    color: rgba(254, 243, 199, 0.7);
}
