/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== HERO GRADIENT ===== */
.hero-gradient {
    background: linear-gradient(135deg, #C65D3E 0%, #E07A5F 30%, #E8A87C 55%, #D4956B 80%, #A8432A 100%);
}

/* ===== FLOATING SHAPES ===== */
.hero-dots .dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.dot-1 { width: 300px; height: 300px; top: -50px; right: -80px; }
.dot-2 { width: 180px; height: 180px; bottom: 10%; left: 5%; }
.dot-3 { width: 100px; height: 100px; top: 40%; right: 10%; background: rgba(253,251,247,0.1); }
.dot-4 { width: 60px; height: 60px; top: 20%; left: 15%; background: rgba(253,251,247,0.06); }
.dot-5 { width: 200px; height: 200px; bottom: -40px; right: 30%; background: rgba(255,255,255,0.05); }

.hero-float {
    animation: floatShape 6s ease-in-out infinite;
}
.hero-float-2 { animation-delay: -2s; animation-duration: 8s; }
.hero-float-3 { animation-delay: -4s; animation-duration: 7s; }
.hero-float-4 { animation-delay: -1s; animation-duration: 9s; }

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

/* ===== HERO ANIMATIONS ===== */
#hero .hero-badge {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}
#hero .hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}
#hero .hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}
#hero .hero-ctas {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}
#hero .hero-scroll {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO BUTTONS ===== */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #C65D3E;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    background: #FDF5F0;
}
.btn-arrow { transition: transform 0.3s ease; }
.btn-hero-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

/* ===== NAV ===== */
#site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#site-header.scrolled {
    background: rgba(253,251,247,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C65D3E;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link.scrolled-link { color: #6B5E54; }

/* ===== MOBILE MENU ===== */
.menu-line { transition: all 0.3s ease; }
#menu-toggle.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menu-toggle.active .menu-line:nth-child(2) { opacity: 0; }
#menu-toggle.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 5px; }
#mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-link { transition: all 0.3s ease; }

/* ===== LABEL TAG ===== */
.label-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C65D3E;
    background: rgba(198,93,62,0.08);
    padding: 6px 14px;
    border-radius: 50px;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FEATURES ===== */
.features-grid .feature-item {
    position: relative;
}
.features-grid .feature-item::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #C65D3E, #E8A87C);
    border-radius: 3px;
}
@media (min-width: 768px) {
    .features-grid .feature-item::after { display: none; }
}
.feature-icon {
    transition: transform 0.3s ease;
}
.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* ===== MENU CARDS ===== */
.menu-card {
    border: 1px solid rgba(0,0,0,0.04);
}
.menu-card ul li {
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.menu-card ul li:last-child { border-bottom: none; }

/* ===== ABOUT IMAGES ===== */
.about-images { position: relative; }
.about-img-float {
    border: 4px solid white;
    animation: floatShape 5s ease-in-out infinite;
}
.about-images::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(198,93,62,0.15);
    border-radius: 2rem;
    z-index: -1;
}

/* ===== COMMUNITY CARDS ===== */
.community-card {
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.community-card:hover {
    transform: translateY(-6px);
}

/* ===== INPUT FIELDS ===== */
.input-field {
    border: 1.5px solid #EDDFBE;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #6B5E54;
    background: #FDFBF7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder { color: #CDB07E; }
.input-field:focus {
    border-color: #C65D3E;
    box-shadow: 0 0 0 3px rgba(198,93,62,0.1);
    background: white;
}
select.input-field { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238F7248' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.input-field { resize: vertical; min-height: 100px; }

/* ===== SUBMIT BUTTON ===== */
.btn-submit {
    position: relative;
    background: linear-gradient(135deg, #C65D3E, #E07A5F);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198,93,62,0.3);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(198,93,62,0.4);
}
.btn-submit:active { transform: translateY(0); }
.btn-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===== INFO CARDS ===== */
.info-card {
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}
.info-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* ===== CONTACT FORM CARD ===== */
.contact-form-card {
    border: 1px solid rgba(0,0,0,0.04);
}
.form-success-msg {
    display: none;
    text-align: center;
    padding: 2rem;
}
.form-success-msg.show {
    display: block;
    animation: fadeUp 0.5s ease;
}
.form-success-msg svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: #C65D3E;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .hero-title { font-size: 2.75rem; }
    .hero-subtitle { font-size: 1.1rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title { font-size: 3.5rem; }
}
