/* ==========================================================================
   Pax Rex Hospitality Consultant - Main Stylesheet
   ========================================================================== */

/* Base Styles & Variables */
:root {
     /* Color Palette
    --primary: #1a5276;
    --primary-dark: #154360;
    --primary-light: #2e86c1;
    --secondary: #d35400;
    --secondary-dark: #a04000;
    --secondary-light: #e67e22;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    */

    /* Color Palette */
    --primary: #D6B36A;
    --primary-dark: #0F1B2D;
    --primary-light: #2e86c1;
    --secondary: #D6B36A;
    --secondary-dark: #a04000;
    --secondary-light: #e67e22;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    
    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.section-light {
    background-color: var(--light-gray);
}

.section-dark {
    background-color: var(--dark);
    /*color: white;*/
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background-color: var(--primary-dark);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--primary);
    width: 100%;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(26, 82, 118, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img{
    height: 70px;
    width: auto;
}

.navbar-toggler{
    border: none;
    color: var(--primary);
}


.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-left: 10px;
    color: white;
}

.navbar-nav .nav-link {
    color: var(--primary);
    font-weight: 600;
    padding: 1rem 2rem;
    margin: 0 0.8rem;
    border-radius: 0px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
}

/* Mobile Menu Offcanvas */
.offcanvas {
    background-color: var(--primary-dark);
    color: white;
}

.offcanvas-header{
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary);
    border-top: 2px solid var(--primary);
}

.offcanvas-header .btn-close {
    filter: invert(1);
    border: none;
}

.offcanvas-header img{
    height: 80px;
    width: auto;
}

.offcanvas-body .navbar-nav {
    padding-top: 1rem;
}

.offcanvas-body .nav-link {
    color: var(--primary);
    padding: 0.8rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-body .nav-link::before {
   content: '→';
   margin-right: 10px;
   transform: translateX(-5px);
   opacity: 0;
   transition: all 0.25s ease;
}

.offcanvas-body .nav-link:hover::before {
   transform: translateX(0);
   opacity: 1;
}


.offcanvas-body .nav-link.active {
   content: '';
   margin-right: 8px;
}

.offcanvas-body .nav-link.active::before {
   content: '→';
}

/* Hero Carousel */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel-item {
    height: 90vh;
    min-height: 600px;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.carousel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    text-align: left;
    max-width: 800px;
    padding: 0 2rem;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--secondary);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 2rem;
    backdrop-filter: blur(5px);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.service-detail-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    height: 100%;
    border-top: 4px solid var(--primary);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.service-note {
    padding: 1rem;
    background-color: rgba(26, 82, 118, 0.05);
    border-radius: 5px;
    border-left: 4px solid var(--secondary);
    margin-top: 1.5rem;
}

/* Stats Card */
.stats-card {
    background: var(--primary);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    min-height: 300px;
    margin-top: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-top: 1rem;
}

.stat-label {
    color: white;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    color: var(--primary-dark);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* Mission & Vision Cards */
.mission-card,
.vision-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.mission-card {
    border-top: 4px solid var(--primary);
}

.vision-card {
    border-top: 4px solid var(--secondary);
}

.icon-title {
    display: block;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
}

.icon-title i {
    width: 50px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
}

.vision-card .icon-title i {
    background: var(--secondary);
}

/* Image Frame */
.image-frame {
    border: 10px solid white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.frame-content {
    padding: 2rem;
    background: var(--light);
}

.profile-list {
    list-style: none;
    padding-left: 0;
}

.profile-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-list li:last-child {
    border-bottom: none;
}

/* Process Steps */
.process-step {
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* Value Items */
.value-item {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    height: 100%;
}

.value-item h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Partner Model */
.partner-model {
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Philosophy */
.philosophy-statement {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(26, 82, 118, 0.2);
}

/* Page Header */
.page-header {
    margin-top: 2rem;
    background: linear-gradient(rgba(26, 82, 118, 0.9), rgba(44, 62, 80, 0.9)), url('../images/logo1.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--primary);
}

.footer h4, .footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding-left: 20px;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a::before {
    content: '→ ';
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links a:hover::before {
    content: '→ ';
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 30px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
}

/* Contact Page Styles */
.contact-info-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    height: 100%;
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}

.form-control {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 82, 118, 0.25);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 82, 118, 0.2);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Portfolio/Gallery Styles */
.gallery-filter {
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    color: var(--gray);
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.portfolio-item {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-img {
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
    background: white;
}


/* Portfolio Page Specific Styles */
.portfolio-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 82, 118, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-view {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-view:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.project-category {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.project-stats span {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.project-stats i {
    margin-right: 5px;
    color: var(--primary);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
}

.testimonial-text {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.testimonial-text i:first-child {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 2rem;
    color: var(--light-gray);
}

.testimonial-text i:last-child {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 2rem;
    color: var(--light-gray);
}

.testimonial-author h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: var(--gray);
    font-style: italic;
}

.testimonial-author img {
    border-radius: 100px;
    height: 200px;
    width: 200px;
    padding-bottom: 20px;
}

/* Contact Page Specific Styles */
.map-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.map-embed iframe {
    display: block;
}

.map-info h5 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.consultation-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.consultation-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.consultation-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--secondary);
}

.consultation-steps {
    margin-top: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h5 {
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.step-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Accordion */
.accordion-button {
    font-weight: 600;
    color: var(--primary);
    background-color: rgba(26, 82, 118, 0.05);
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-body {
    background-color: rgba(26, 82, 118, 0.02);
}



/* HERO CAROUSEL BOUNCE TRANSITION EFFECT */
.carousel-bounce .carousel-item {
  opacity: 0;
  transform: scale(1);
}

.carousel-bounce .carousel-item.active {
  opacity: 1;
  animation: fadeBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeBounce {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  60% {
    opacity: 1;
    transform: scale(1.03);
  }
  80% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-img {
        height: 200px;
    }
    
    .testimonial-card {
        padding: 2rem 1rem;
    }
    
    .testimonial-text {
        padding: 0 1rem;
    }
    
    .map-container {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .gallery-filter .filter-btn {
        margin: 0.25rem;
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        text-align: center;
        padding: 0 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .hero-section,
    .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-detail-card,
    .contact-form {
        padding: 1.5rem;
    }
}


@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .hero-section,
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .cta-card {
        padding: 2rem 1rem !important;
    }
    
    .process-step {
        margin-bottom: 1.5rem;
    }
}