/* All CSS Styles for RK Palace Website */

/* Footer Main Container */
.footer-main {
   background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
   color: #e6edf3;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
   padding: 40px 0 30px;
}

/* Grid Layout - 5 Columns */
.footer-grid {
   display: grid;
   grid-template-columns: 1.3fr 1fr 0.9fr 0.9fr 1.1fr;
   gap: 17px;
}

/* Footer Columns */
.footer-col {
   min-width: 5;
}

/* Footer column box (layout-only wrapper; not visually shown) */
.footer-box {
   display: flex;
   flex-direction: column;
   height: 100%;
   min-width: 3;
}

/* Brand Column */
.brand-col {
   padding-right: 20px;
}

.brand-wrapper {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 20px;
}

.logo-ring {
   width: 70px;
   height: 70px;
   border-radius: 50%;
   border: 3px solid #C5A059;
   padding: 3px;
   background: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 0 20px rgba(254, 0, 0, 0.3);
   flex-shrink: 0;
}

.footer-logo {
   width: 100%;
   height: 100%;
   object-fit: contain;
   border-radius: 50%;
}

.brand-text {
   display: flex;
   flex-direction: column;
}

.brand-name {
   color: #fff;
   font-size: 22px;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 2px;
   margin: 0;
   line-height: 1.2;
}

.brand-tagline {
   color: #C5A059;
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 2px;
   font-weight: 600;
   margin-top: 4px;
}

.brand-description {
   color: #b1bac4;
   font-size: 14px;
   line-height: 1.7;
   margin-bottom: 20px;
   font-weight: 600;
}

.trust-badges {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

.badge {
   background: rgba(254, 0, 0, 0.1);
   border: 1px solid rgba(254, 0, 0, 0.3);
   color: #C5A059;
   padding: 5px 12px;
   border-radius: 20px;
   font-size: 11px;
   font-weight: 600;
   display: flex;
   align-items: center;
   gap: 5px;
}

.badge i {
   font-size: 12px;
}

/* Footer Headings */
.footer-heading {
   color: #fff;
   font-size: 16px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   margin-bottom: 15px;
   padding-bottom: 10px;
   border-bottom: 2px solid #C5A059;
   display: inline-block;
}

/* Feature List (Why Stay) */
.feature-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.feature-list li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   margin-bottom: 15px;
   transition: transform 0.3s ease;
}

.feature-list li:hover {
   transform: translateX(5px);
}

.feature-icon {
   width: 32px;
   height: 32px;
   background: rgba(254, 0, 0, 0.1);
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.feature-icon i {
   color: #C5A059;
   font-size: 14px;
}

.feature-text {
   color: #e6edf3;
   font-size: 13px;
   line-height: 1.5;
   padding-top: 6px;
   font-weight: 600;
}

/* Links Section */
.links-wrapper {
   display: flex;
   flex-direction: column;
   gap: 25px;
}

.link-group-title {
   color: #fff;
   font-size: 13px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 12px;
}

.link-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.link-list li {
   margin-bottom: 8px;
}

.link-list a {
   color: #e6edf3;
   text-decoration: none;
   font-size: 13px;
   display: flex;
   align-items: center;
   gap: 8px;
   transition: all 0.3s ease;
   padding: 3px 0;
   font-weight: 600;
}

.link-list a i {
   color: #C5A059;
   font-size: 10px;
   transition: transform 0.3s ease;
}

.link-list a:hover {
   color: #8B0000;
   padding-left: 8px;
}

.link-list a:hover i {
   transform: translateX(3px);
}

/* Contact Column */
.contact-list {
   list-style: none;
   padding: 0;
   margin: 0 0 25px 0;
}

.contact-item {
   display: flex;
   gap: 12px;
   margin-bottom: 12px;
}

.contact-icon-wrap {
   width: 36px;
   height: 36px;
   background: rgba(254, 0, 0, 0.1);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.contact-icon-wrap i {
   color: #C5A059;
   font-size: 14px;
}

.contact-details {
   flex: 1;
}

.contact-label {
   display: block;
   color: #C5A059;
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-weight: 600;
   margin-bottom: 3px;
}

.contact-value {
   color: #e6edf3;
   font-size: 13px;
   line-height: 1.5;
   margin: 0;
   text-decoration: none;
   display: block;
   font-weight: 600;
}

.contact-value:hover {
   color: #8B0000;
}

/* Social Section */
.social-section {
   padding-top: 15px;
   margin-top: 20px;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-label {
   display: block;
   color: #8b949e;
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 8px;
}

.social-icons {
   display: flex;
   gap: 12px;
}

.social-link {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
}

.social-link.instagram {
   background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook {
   background: #1877f2;
}

.social-link.whatsapp {
   background: #25d366;
}

.social-link:hover {
   transform: translateY(-4px);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Copyright Bar */
.copyright-bar {
   background: rgba(0, 0, 0, 0.3);
   padding: 20px 0;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-content {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 15px;
}

.copyright-text {
   color: #8b949e;
   font-size: 13px;
   margin: 0;
}

.credit-text {
   color: #6e7681;
   font-size: 12px;
   margin: 0;
}

.credit-text i {
   color: #C5A059;
}

.credit-text a {
   color: #C5A059;
   text-decoration: none;
   font-weight: 600;
   transition: opacity 0.3s ease;
}

.credit-text a:hover {
   opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
   .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 30px 25px;
   }
   
   .brand-col {
      grid-column: 1 / -1;
   }
}

@media (min-width: 1024px) and (max-width: 1250px) {
   .footer-grid {
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 30px 20px !important;
   }
   
   .brand-col {
      grid-column: 1 / -1 !important;
      text-align: center !important;
      width: 100% !important;
      margin-bottom: 30px !important;
   }

   .brand-wrapper {
      justify-content: center !important;
      display: flex !important;
   }

   .trust-badges {
      display: flex !important;
      justify-content: center !important;
      margin-left: auto !important;
      margin-right: auto !important;
      gap: 15px !important;
   }

   .footer-box {
      text-align: center !important;
   }

   .feature-list li, .contact-item {
      justify-content: center !important;
   }

   .link-list, .link-list li {
      text-align: center !important;
   }

   .link-list a {
      justify-content: center !important;
      display: inline-flex !important;
   }

   .contact-details {
      text-align: center !important;
   }

   .feature-icon, .link-list a i, .contact-icon-wrap {
      display: none !important;
   }

   .social-section {
      grid-column: 1 / -1 !important;
      width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      margin-top: 40px !important;
      padding-top: 30px !important;
      border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
   }

   .social-icons {
      display: flex !important;
      justify-content: center !important;
      gap: 20px !important;
   }

   .footer-heading {
      text-align: center !important;
      margin-bottom: 20px !important;
   }
}

@media (min-width: 1251px) {
   .footer-container {
      padding: 40px 0 30px !important;
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
   }

   .footer-container .container {
      max-width: 100% !important;
      width: 100% !important;
      padding: 0 60px !important;
      margin: 0 !important;
   }

   .footer-grid {
      display: grid !important;
      grid-template-columns: repeat(5, 1fr) !important;
      gap: 30px !important;
      width: 100% !important;
   }

   .brand-col {
      padding-right: 0 !important;
      text-align: center !important;
   }

   .brand-wrapper {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 20px !important;
      margin-bottom: 20px !important;
   }

   .logo-ring {
      width: 80px !important;
      height: 80px !important;
      flex-shrink: 0 !important;
   }

   .brand-name {
      font-size: 28px !important;
      font-weight: 800 !important;
      text-align: left !important;
   }

   .brand-tagline {
      font-size: 13px !important;
      font-weight: 700 !important;
      text-align: left !important;
   }

   .brand-description {
      text-align: center !important;
      width: 100% !important;
      max-width: 100% !important;
      line-height: 1.5 !important;
   }

   .footer-box {
      text-align: center !important;
      align-items: center !important;
   }

   .footer-heading {
      text-align: center !important;
      font-size: 18px !important;
      font-weight: 800 !important;
   }

   .feature-list li, .contact-item {
      justify-content: center !important;
   }

   .feature-text, .link-list a, .contact-value {
      font-size: 15px !important;
      font-weight: 600 !important;
      text-align: center !important;
   }

   .link-list a {
      justify-content: center !important;
      display: inline-flex !important;
   }

   .feature-icon, .link-list a i, .contact-icon-wrap {
      display: none !important;
   }

   .trust-badges {
      display: flex !important;
      flex-direction: row !important;
      justify-content: center !important;
      flex-wrap: nowrap !important;
      gap: 15px !important;
   }

   .social-section {
      width: 100% !important;
      max-width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
      padding-top: 15px !important;
      margin-top: 20px !important;
   }

   .social-icons {
      justify-content: center !important;
   }
}

@media (max-width: 1023px) {
   .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 40px 30px;
   }
   
   .brand-col {
      grid-column: 1 / -1;
      text-align: center;
      max-width: 700px;
      margin: 0 auto 20px;
   }

   .brand-wrapper {
      justify-content: center;
   }

   .trust-badges {
      justify-content: center;
   }

   .footer-box {
      text-align: center;
   }

   .feature-list,
   .link-list,
   .contact-list {
      display: inline-block;
      text-align: left;
      width: 100%;
   }

   .feature-list li {
      justify-content: center;
   }

   .link-list, .link-list li {
      text-align: center;
   }

   .link-list a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
   }

   .contact-list {
      text-align: center;
   }

   .contact-item {
      justify-content: center;
   }

   .contact-details {
      text-align: center;
   }

   .social-section {
      text-align: center;
      padding-top: 20px;
      margin-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      width: 100%;
      grid-column: 1 / -1;
   }

   .social-icons {
      display: flex !important;
      justify-content: center !important;
      gap: 15px !important;
      width: 100% !important;
   }

   .feature-icon,
   .link-list a i,
   .contact-icon-wrap {
      display: none !important;
   }
   
   .footer-heading {
      margin-bottom: 18px;
      text-align: center;
   }
}

@media (max-width: 768px) {
   .footer-grid {
      grid-template-columns: 1fr;
   }

   .footer-container {
      padding: 50px 0 30px;
   }

   .copyright-content {
      flex-direction: column;
      text-align: center;
      gap: 10px;
   }
}

@media (max-width: 480px) {
   .social-icons {
      justify-content: center;
   }
   
   .contact-item {
      flex-direction: column;
      gap: 8px;
   }
   
   .contact-icon-wrap {
      align-self: flex-start;
   }
}
