/* --- TIRUMALA TVS: ULTIMATE RESPONSIVE EDITION (FINAL) --- */
:root {
    /* --- COLORS --- */
    --primary: #0b2351;
    --primary-grad: linear-gradient(135deg, #0b2351 0%, #162f65 100%);
    --accent: #e31e2d;
    --accent-grad: linear-gradient(135deg, #e31e2d 0%, #ff4b2b 100%);
    
    --dark: #111111;
    --text-grey: #444444;
    --off-white: #f8f9fa;
    --white: #ffffff;
    
    /* --- FONTS --- */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* --- EFFECTS --- */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-pop: 0 20px 40px rgba(11, 35, 81, 0.15);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* --- RESET & GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-grey); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; object-fit: contain; }
ul { list-style: none; }

/* --- UTILITY --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.bg-light { background: var(--off-white); }
.d-none { display: none; }

/* --- TYPOGRAPHY --- */
.section-header { margin-bottom: 50px; position: relative; width: 100%; text-align: center; }
.section-header h2 { font-family: var(--font-heading); color: var(--primary); font-size: 2.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; line-height: 1.2; }
.section-header h2::after { content: ''; display: block; width: 80px; height: 5px; background: var(--accent-grad); margin: 15px auto 0; border-radius: 4px; }
.section-header p { font-size: 1.1rem; color: #666; }

/* --- BUTTONS --- */
.btn { 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    padding: 14px 30px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border: none; 
    cursor: pointer; 
    font-family: var(--font-body); 
    font-size: 0.9rem; 
    transition: all 0.3s var(--bounce); 
    text-align: center; 
    white-space: nowrap;
}
.btn:active { transform: scale(0.95); }
.btn-primary { background: var(--accent-grad); color: var(--white); box-shadow: 0 10px 20px rgba(227, 30, 45, 0.3); }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(227, 30, 45, 0.5); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(11, 35, 81, 0.3); }
.btn-block { width: 100%; display: flex; margin-top: 15px; }

/* --- HEADER --- */
.main-header { background: rgba(255, 255, 255, 0.98); position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 30px rgba(0,0,0,0.08); backdrop-filter: blur(10px); }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f0f0f0; }

.logo { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; background: var(--primary-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; line-height: 1; letter-spacing: -1px; }
.logo span { background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-left: 5px; }

.header-btn-group { display: flex; gap: 10px; }
.btn-header { background: var(--primary); color: white; padding: 8px 16px; font-weight: 600; font-size: 0.8rem; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
.btn-header:hover { background: var(--accent); transform: translateY(-3px); }

/* --- NAV BAR --- */
.nav-bar { background: transparent; border-bottom: 1px solid #eee; }
.nav-menu { display: flex; justify-content: center; align-items: center; gap: 30px; padding: 0; margin: 0; height: 60px; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; color: var(--dark); padding: 0 10px; height: 100%; display: flex; align-items: center; }
.nav-item > a:hover { color: var(--accent); }
.nav-arrow { font-size: 10px; margin-left: 5px; opacity: 0.6; }

.menu-toggle { display: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; padding: 5px; }

.dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: white; min-width: 200px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-top: 4px solid var(--accent); z-index: 1100; border-radius: 0 0 8px 8px; padding: 10px 0; animation: slideUp 0.3s ease; }
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu li { display: block; width: 100%; }
.dropdown-menu a { padding: 10px 20px; color: #555; border-bottom: 1px solid #f9f9f9; display: block; font-weight: 500; font-size: 0.9rem; text-transform: none; height: auto; }
.dropdown-menu a:hover { background: #fff5f5; color: var(--accent); padding-left: 25px; }

/* --- HERO --- */
.hero { min-height: 80vh; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../assets/hero-bg.jpg') center/cover no-repeat; position: relative; display: flex; align-items: center; padding: 100px 0 120px; }
.hero-content { position: relative; z-index: 2; max-width: 800px; color: white; animation: slideRight 0.8s ease; }
.hero h1 { font-family: var(--font-heading); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; font-weight: 800; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 1.3rem; margin-bottom: 30px; font-weight: 300; opacity: 0.95; max-width: 600px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* --- HOTLINE BANNER --- */
.hotline-section { position: relative; z-index: 20; margin-top: -60px; margin-bottom: 40px; padding: 0 20px; pointer-events: none; }
.hotline-banner { pointer-events: auto; background: #ffffff; box-shadow: 0 15px 50px rgba(0,0,0,0.1); border-radius: 12px; border-bottom: 5px solid var(--accent); padding: 30px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; max-width: 1200px; margin: 0 auto; animation: slideUp 1s ease; }
.hotline-left { display: flex; align-items: center; gap: 20px; flex: 2; }
.hotline-circle { width: 50px; height: 50px; background: var(--accent-grad); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; flex-shrink: 0; }
.hotline-numbers { display: flex; gap: 30px; flex-wrap: wrap; }
.number-block span { display: block; font-size: 0.75rem; color: #888; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.number-block a { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.hotline-center { flex: 1; border-left: 2px solid #eee; padding-left: 30px; font-size: 0.95rem; color: #555; font-weight: 500; }
.hotline-right { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }

/* --- GRID SYSTEM --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* --- CARDS --- */
.clean-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid #eee; display: flex; flex-direction: column; height: 100%; transition: all 0.3s var(--bounce); }
.clean-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-pop); border-color: transparent; }
.clean-card-img { height: 240px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.clean-card-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: 0.4s; }
.clean-card:hover .clean-card-img img { transform: scale(1.1); }
.clean-card-content { padding: 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.clean-card h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 5px; color: var(--dark); font-weight: 700; }
.clean-card .price { font-size: 1rem; color: #666; font-weight: 500; margin-bottom: 20px; }

/* Award & Review */
.award-card { background: white; padding: 30px; border-radius: 12px; box-shadow: var(--shadow-soft); border: 1px solid #f0f0f0; text-align: center; height: 100%; transition: all 0.3s; }
.award-card:hover { transform: translateY(-8px); border-color: var(--accent); }
.award-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.review-card { background: white; padding: 30px; border-radius: 12px; box-shadow: var(--shadow-soft); border: 1px solid #eee; height: 100%; display: flex; flex-direction: column; transition: 0.3s; }
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-pop); border-bottom: 4px solid var(--accent); }
.review-stars { color: #FFD700; font-size: 1.2rem; margin-bottom: 10px; }
.review-text { font-style: italic; color: #555; margin-bottom: 15px; font-size: 0.95rem; flex-grow: 1; }
.review-author { color: var(--primary); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }

/* --- FOOTER --- */
.footer-top-bar { background: var(--primary-grad); color: white; padding: 40px 0; }
.footer-contact-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; text-align: center; }
.footer-contact-item { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; justify-content: center; }
.footer-icon-circle { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.footer-main { background-color: #f8f9fa; padding: 60px 0; border-bottom: 1px solid #ddd; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; text-align: center; }
.footer-col h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 20px; text-transform: uppercase; font-weight: 700; }
.footer-links a { color: #666; display: block; margin-bottom: 10px; font-size: 0.95rem; }
.footer-bottom { padding: 20px; text-align: center; font-size: 0.85rem; color: #888; }

/* --- FLOATING BTNS --- */
.whatsapp-float, .instagram-float { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: fixed; right: 20px; z-index: 9999; color: white !important; font-size: 24px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; }
.whatsapp-float { bottom: 20px; background: #25D366; animation: pulse 2s infinite; }
.instagram-float { bottom: 80px; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.scroll-top-btn { bottom: 140px; right: 20px; width: 40px; height: 40px; background: var(--dark); color: white; border-radius: 50%; position: fixed; z-index: 999; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* --- ANIMATIONS --- */
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 30, 45, 0.6); } 70% { box-shadow: 0 0 0 15px rgba(227, 30, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 30, 45, 0); } }

/* --- MOBILE RESPONSIVENESS (NUCLEAR FIX) --- */
@media (max-width: 992px) {
    .header-top { padding: 10px 15px; }
    .header-btn-group { display: none; }
    .menu-toggle { display: block; }
    .nav-bar { display: none; background: white; width: 100%; position: absolute; top: 100%; left: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 3px solid var(--accent); }
    .nav-bar.active { display: block; animation: slideUp 0.3s ease; }
    .nav-menu { flex-direction: column; height: auto; padding: 0; }
    .nav-item { width: 100%; border-bottom: 1px solid #f5f5f5; height: auto; display: block; text-align: left; }
    .nav-item > a { padding: 15px 20px; display: block; width: 100%; }
    .dropdown-menu { position: static; display: none; width: 100%; box-shadow: none; border: none; background: #f9f9f9; padding-left: 20px; transform: none; }
    .nav-item:hover .dropdown-menu { display: block; }
    .hero { padding: 80px 0 60px; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; margin: 0 auto 25px; }
    .hero-buttons { justify-content: center; }
    .hotline-section { margin-top: 0; margin-bottom: 30px; }
    .hotline-banner { flex-direction: column; text-align: center; padding: 25px 15px; gap: 20px; }
    .hotline-left { flex-direction: column; width: 100%; }
    .hotline-numbers { flex-direction: column; gap: 10px; width: 100%; }
    .hotline-center { border: none; border-top: 1px solid #eee; padding-top: 15px; width: 100%; }
    .grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .welcome-grid { grid-template-columns: 1fr; gap: 30px; }
    .welcome-text { order: 2; }
    .welcome-image { order: 1; }
    .footer-cols { grid-template-columns: 1fr; text-align: center; }
    .footer-contact-row { flex-direction: column; gap: 15px; }
}
