/*
Theme Name: Hotel Toppers Corner Theme
Theme URI: https://hoteltopperscorner.com
Author: Hotel Toppers Corner Engineering
Description: Bespoke, ultra-fast, luxury responsive theme with dynamic micro-interactions for Hotel Toppers Corner, Mount Abu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: toppers-corner
*/

/* -------------------------------------------------------------
   1. CSS VARIABLES & LUXURY DESIGN TOKENS
------------------------------------------------------------- */
:root {
  --tc-primary: #7B1824;          /* Deep Burgundy / Wine */
  --tc-primary-hover: #9B2B3A;
  --tc-gold: #C5A059;             /* Warm Champagne Gold */
  --tc-gold-light: #E8D3A7;
  --tc-charcoal: #161616;         /* Obsidian Charcoal */
  --tc-cream: #FAF8F5;            /* Warm Off-White / Alabaster */
  --tc-card-bg: #FFFFFF;
  --tc-border-light: rgba(197, 160, 89, 0.25);
  
  --tc-font-serif: 'Playfair Display', Georgia, serif;
  --tc-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tc-font-script: 'Italianno', cursive;

  --tc-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --tc-shadow-lg: 0 16px 40px rgba(123, 24, 36, 0.08);
  --tc-transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* -------------------------------------------------------------
   2. GLOBAL RESETS & TYPOGRAPHY
------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--tc-cream);
  color: var(--tc-charcoal);
  font-family: var(--tc-font-sans);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tc-font-serif);
  color: var(--tc-primary);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1.2rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--tc-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tc-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------------------
   3. LUXURY BUTTONS & DYNAMIC HOVER EFFECTS
------------------------------------------------------------- */
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--tc-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--tc-transition);
  border: 1px solid transparent;
}

.tc-btn-primary {
  background-color: var(--tc-primary);
  color: #ffffff;
  border-color: var(--tc-primary);
}

.tc-btn-primary:hover {
  background-color: var(--tc-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 24, 36, 0.25);
}

.tc-btn-gold {
  background-color: var(--tc-gold);
  color: #ffffff;
  border-color: var(--tc-gold);
}

.tc-btn-gold:hover {
  background-color: #b59048;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.tc-btn-outline {
  border-color: var(--tc-gold);
  color: var(--tc-primary);
  background: transparent;
}

.tc-btn-outline:hover {
  background: var(--tc-gold);
  color: #ffffff;
}

/* Dynamic Magnetic Hover Pulse */
.tc-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.tc-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* -------------------------------------------------------------
   4. NAVIGATION & HEADER
------------------------------------------------------------- */
.tc-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--tc-border-light);
  transition: var(--tc-transition);
}

.tc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.tc-logo img {
  height: 58px;
  width: auto;
}

.tc-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.tc-menu a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--tc-charcoal);
  position: relative;
  padding: 0.3rem 0;
}

.tc-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--tc-gold);
  transition: width 0.3s ease;
}

.tc-menu a:hover::after,
.tc-menu .current-menu-item a::after {
  width: 100%;
}

.tc-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--tc-primary);
  cursor: pointer;
}

/* -------------------------------------------------------------
   5. HERO SECTION WITH PARALLAX DEPTH
------------------------------------------------------------- */
.tc-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(22,22,22,0.45) 0%, rgba(22,22,22,0.65) 100%),
              url('https://hoteltopperscorner.com/wp-content/uploads/hero-garden.webp') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
}

.tc-hero-content {
  max-width: 850px;
}

.tc-hero-subtitle {
  font-family: var(--tc-font-script);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--tc-gold-light);
  margin-bottom: 0.5rem;
}

.tc-hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tc-hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

/* -------------------------------------------------------------
   6. DYNAMIC QUICK BOOKING BAR
------------------------------------------------------------- */
.tc-quick-book {
  position: relative;
  margin-top: -45px;
  z-index: 100;
}

.tc-quick-book-inner {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  box-shadow: var(--tc-shadow-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  gap: 1.5rem;
  align-items: end;
  border: 1px solid var(--tc-border-light);
}

.tc-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--tc-gold);
  margin-bottom: 0.35rem;
}

.tc-form-group input,
.tc-form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: var(--tc-font-sans);
  font-size: 0.95rem;
  color: var(--tc-charcoal);
  outline: none;
  transition: border-color 0.3s ease;
}

.tc-form-group input:focus,
.tc-form-group select:focus {
  border-color: var(--tc-gold);
}

/* -------------------------------------------------------------
   7. INTERACTIVE ROOM CARDS WITH 3D HOVER TILT
------------------------------------------------------------- */
.tc-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.tc-room-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--tc-shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.tc-room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--tc-shadow-lg);
}

.tc-room-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.tc-room-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tc-room-card:hover .tc-room-thumb img {
  transform: scale(1.08);
}

.tc-room-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--tc-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.tc-room-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tc-room-features {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666;
  margin: 0.5rem 0 1rem;
  list-style: none;
}

.tc-room-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tc-room-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f0f0;
}

.tc-room-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tc-primary);
  font-family: var(--tc-font-serif);
}

.tc-room-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #777;
  font-family: var(--tc-font-sans);
}

/* -------------------------------------------------------------
   8. FOOTER STYLING
------------------------------------------------------------- */
.tc-footer {
  background: var(--tc-charcoal);
  color: #c9c9c9;
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--tc-gold);
}

.tc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.tc-footer h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.tc-footer ul {
  list-style: none;
}

.tc-footer ul li {
  margin-bottom: 0.65rem;
}

.tc-footer ul li a:hover {
  color: var(--tc-gold);
  padding-left: 4px;
}

.tc-footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
   9. MOBILE RESPONSIVENESS
------------------------------------------------------------- */
@media (max-width: 991px) {
  .tc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .tc-mobile-toggle {
    display: block;
  }
  .tc-menu {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    background: var(--tc-cream);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .tc-menu.is-active {
    transform: translateY(0);
  }
  .tc-quick-book-inner {
    grid-template-columns: 1fr;
  }
  .tc-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.tc-entry-content h2 { margin: 2rem 0 1rem; color: var(--tc-primary); }
.tc-entry-content h3 { margin: 1.5rem 0 0.75rem; color: var(--tc-charcoal); }
.tc-entry-content p { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; color: #333; }
.tc-entry-content ul { margin: 0 0 1.5rem 1.5rem; }
.tc-entry-content ul li { margin-bottom: 0.5rem; }
.tc-highlight-box {
  background: var(--tc-cream);
  border-left: 4px solid var(--tc-gold);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}