/* ==========================================================================
   Sri Durga Catering Services - Global Master Stylesheet
   ========================================================================== */

:root {
    --banana-leaf: #145a32;
    --leaf-light: #1e8449;
    --marigold: #f39c12;
    --saffron: #d35400;
    --charcoal-dark: #19120c;
    --cream-bg: #fffef2;
    --white: #ffffff;
    --text-brown: #4a2711;
    --card-shadow: 0 8px 24px rgba(20, 90, 50, 0.06);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-brown);
    line-height: 1.6;
}

/* --- Premium Navigation Header Block --- */
header {
    background-color: var(--white);
    padding: 25px 5%; /* Tight side padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(20, 90, 50, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: nowrap; /* Forces header to stay on one line */
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.1;
    text-decoration: none;
    flex-shrink: 0; /* Prevents logo from shrinking too much */
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--banana-leaf);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px; /* Base gap */
    white-space: nowrap; /* Strictly prevents text wrapping */
}

nav a {
    text-decoration: none;
    color: var(--text-brown);
    font-weight: 600;
    font-size: 30px; /* Base font size */
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--banana-leaf);
}

.book-btn {
    background-color: var(--saffron);
    color: var(--white) !important;
    padding: 8px 18px; /* Base button padding */
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 5px;
    border: 2px solid var(--saffron);
    transition: all 0.3s ease;
}

.book-btn:hover {
    background-color: #b33600;
    border-color: #b33600;
    transform: scale(1.05);
}

/* --- Auto-Shrink Navigation for Tablets/Smaller Screens --- */
@media (max-width: 1024px) {
    nav { gap: 15px; }
    nav a { font-size: 16px; }
    .book-btn { padding: 8px 16px; font-size: 13px; margin-left: 0; }
    .logo-img { height: 80px; }
    .logo-text { font-size: 11px; }
    
}
    

@media (max-width: 768px) {
    header { flex-direction: column; gap: 10px; padding: 10px 5%; }
    nav { width: 100%; justify-content: center; flex-wrap: wrap; }
}

/* --- Festive Toranam Styling Border --- */
.toranam-spacer {
    height: 10px;
    background: linear-gradient(90deg, var(--marigold) 33%, var(--saffron) 33%, var(--saffron) 66%, var(--banana-leaf) 66%);
    background-size: 45px 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* --- Complete Fixed Parallax Hero Section Framework --- */
.hero.parallaxie {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.65);
    border-bottom: 5px solid var(--marigold);
}

.namasthe-box {
    font-size: 14px;
    color: var(--marigold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.namasthe-icon { font-size: 20px; }

.text-anime {
    font-size: 48px;
    color: var(--white);
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-default.btn-book-now {
    background-color: var(--banana-leaf);
    color: var(--white);
    padding: 12px 32px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--banana-leaf);
}

.hero-footer a:nth-child(2) {
    background-color: transparent;
    border-color: var(--white);
}

.btn-default.btn-book-now:hover {
    background-color: var(--marigold);
    color: var(--charcoal-dark);
    border-color: var(--marigold);
    transform: translateY(-2px);
}

.down-arrow {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.down-arrow a {
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    animation: bounceArrow 2s infinite;
    display: block;
    line-height: 1;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --- Services Grid Section --- */
.services-section { padding: 60px 6%; text-align: center; }
.services-section h2 { font-size: 32px; color: var(--banana-leaf); margin-bottom: 10px; }
.services-section .subtitle { color: var(--saffron); font-weight: bold; margin-bottom: 40px; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }

.services-grid { display: flex; gap: 25px; flex-wrap: wrap; justify-content: center; }
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    flex: 1;
    min-width: 300px;
    max-width: 360px;
    text-align: left;
    border-bottom: 4px solid var(--banana-leaf);
}
.service-img { height: 220px; background-size: cover; background-position: center; }
.service-desc { padding: 25px; }
.service-desc h3 { color: var(--banana-leaf); margin-bottom: 12px; font-size: 20px; font-weight: 700; }
.service-desc p { color: var(--text-brown); font-size: 14px; }

/* --- Marquee Text Loop --- */
.ticker-wrap {
    background-color: var(--banana-leaf);
    border-top: 3px solid var(--marigold);
    border-bottom: 3px solid var(--marigold);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 15px;
}

.ticker-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
}

.ticker-content span { display: inline-block; padding: 0 25px; position: relative; }
.ticker-content span::after { content: "❀"; position: absolute; right: -4px; color: var(--marigold); }

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Premium Footer Components --- */
footer {
    background-color: var(--charcoal-dark);
    color: var(--white);
    padding: 60px 6% 20px 6%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 40px;
}

.footer-col { flex: 1; min-width: 250px; }
.footer-col h3 { color: var(--marigold); font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 35px; height: 2px; background-color: var(--marigold); }
.footer-col p { color: #dcd5cf; font-size: 14px; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #dcd5cf; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--marigold); }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 13px;
    color: #8c8177;
}
