/* ===================================
   WENDT'S TENTS & RENTALS — STYLES
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF8E7;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* --- Geometric Decorative Shapes --- */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.circle-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid #047857;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    bottom: 15%;
    right: 5%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #D97706;
    animation: float 6s ease-in-out infinite reverse;
}

.triangle-1 {
    top: 30%;
    right: 38%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #047857;
    opacity: 0.06;
    animation: spin 20s linear infinite;
}

.square-1 {
    top: 60%;
    left: 38%;
    width: 50px;
    height: 50px;
    background: #D97706;
    opacity: 0.06;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.dot-grid {
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, #047857 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.15;
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Navigation --- */
.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #047857 !important;
}

/* Mobile menu */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

.mobile-link {
    display: block;
}

.menu-line {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

/* --- Buttons --- */
.cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #047857;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(4, 120, 87, 0.3);
}

.cta-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(4, 120, 87, 0.4);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: #047857;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #047857;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: #047857;
    color: white;
    transform: translateY(-2px);
}

/* --- Service Cards --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #D97706, #047857);
    transition: height 0.4s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* --- Gallery --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 78, 59, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* --- Testimonial Cards --- */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: #047857;
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Stagger children --- */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navbar scroll state --- */
nav.scrolled {
    background: rgba(255, 252, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(4, 120, 87, 0.08);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
}
