/*
Theme Name: My Custom Theme
Theme URI: http://pnoe-hotel-theme.com
Author: Your Name
Author URI: http://pnoe-hotel-theme.com
Description: A custom WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/

  

  

  
:root {
  --color-primary: #f2c94c;
  --color-text: #1c1c1c;
  --color-text-light: #666666;
  --color-bg-footer: #f4f4f4;
  --font-primary: 'Poiret One', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}



body {
  font-family: var(--font-primary);
  margin: 0;
}


  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }

  .site-header {
    background: white;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

h1 {
    font-size: 5rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  p {
    font-size: 1.5rem;
  }


/*********** Header **********/

  .logo img {
    height: 60px; /* Adjust as needed */
    width: auto;
  }


  #site-header {
    position: fixed;

    width: 100%;
    padding: 20px 40px;
    z-index: 9999 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;

  }
  
  
  #site-header.transparent {
    background-color: rgba(255, 255, 255, 0.7);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
  }
  
  #site-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 40px;
  }
  
  #site-header .logo img {
    max-height: 60px;
    transition: max-height 0.3s ease;
  }
  
  #site-header.scrolled .logo img {
    max-height: 40px;
  }

  

  .main-nav {
    flex: 1;
    text-align: right;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .main-nav ul {
    list-style: none;
    margin: 0;
    padding-left: 6rem;
    display: flex;
    gap: 4rem;
  }
  
  .main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }

/****************** Main Menu ******************/


  .main-menu {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  
  .main-menu li {
    display: inline-block;
  }
  

  
.main-menu a {
  font-family: var(--font-secondary);
  color: var(--color-text);
}

.main-menu a:hover {
  color: var(--color-primary);
}

  
/********** hero **************/

.hero {
  background: url('<?php echo get_template_directory_uri(); ?>/images/hero.jpg') no-repeat center center;
  background-size: cover;
  height: 200vh;
  width: 100%;
  position: relative;
  margin-top: 0;
  z-index: 1;
}

  /* Place text in the middle of the image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15));
    z-index: 1;
  }


  /************* main page ******************/

  .about {
    display: flex;
    justify-content: center;
    padding: 60px 250px;
    background-color: #fff;
}
  
  .about-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
  }
  
  .about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  
  .about p {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
  }
  

  /*********** front gallery ***********/

  .image-gallery {
    padding: 60px 20px;
    background-color: #f8f8f8;
  }
  
  .gallery-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .gallery-container img {
    width: calc(30% - 16px);
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .gallery-container img:hover {
    transform: scale(1.03);
  }
  
  .gallery-text {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15rem;
    padding-right: 15rem;

}

.gallery-text h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  
  .gallery-text p {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
  }

  /**************** Footer ******************/

.site-footer {
  background-color: var(--color-bg-footer);
  color: var(--color-text);
}
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
  }
  
  .footer-left {
    flex: 0 0 50%; /* Take more width, won't grow or shrink */
    text-align: center;
    display: flex;
  flex-direction: column;
  align-items: center;
  }
  
  .footer-right {
    flex: 0 0 auto;
    text-align: right;
  }
  
  .footer-logo {
    width: 150px;
    margin-bottom: 10px;
  }
  
  .social-icons a {
    color: #333;
    margin-right: 15px;
    font-size: 20px;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #0073e6; /* Or your brand color */
  }
  
  .rights {
    margin-top: 20px;
    font-size: 12px;
    color: #777;
  }
  

  /*************** Apartments Page ***************/


.apartments-page {
      background-color: #f8f8f8;

}


 .rooms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 4rem 2rem;
}

.room-card {
  position: relative;
  width: 40%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.room-card:hover {
  transform: scale(1.03);
}

.room-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.room-card:hover::before {
  background: rgba(0, 0, 0, 0.6);
}

.room-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.room-overlay .hotel-name {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.room-overlay h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.view-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: white;
  color: black;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: black;
  color: white;
}

.apartments-intro {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.apartments-intro h2 {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: #333;
}

.apartments-intro p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

/*************** Services and Policies *************/

.services-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: 5rem;
  gap: 10rem;
}

.services-wrapper,
.policies-wrapper {

  display: flex;
  gap: 30px;
}

.services-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 4px;
  color: #555;
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  min-height: 100%;
  margin-top: -8rem;

}
.services-label span {
  transform: rotate(180deg); /*upright instead of upside-down */
  display: block;
}

.services-label span {
  display: block;
}

.services-list,
.policies-list {
list-style-type: disc;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
  padding-left: 2px;
  margin: 0;
   list-style-image: url('../../images/arrow1.png'); /* Make sure the icon is small */

}



.policies-wrapper h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #333;
}






.services-list ul, .policies-list ul {
  list-style-type: disc;

  margin: 0;
}

.services-list li, .policies-list li {
  font-size: 1.5rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.8;
}


/***************** Gallery *****************/

.gallery-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: 5rem;
  gap: 10rem;
}

/********************** Media **************/


@media (max-width: 768px) {
  .rooms-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .room-card {
    width: 90% !important;
  }

  .services-grid {
    flex-direction: column !important;
    margin-left: 0 !important;
    gap: 2rem !important;
  }

  .services-wrapper, .policies-wrapper {
    flex-direction: column !important;
    gap: 1rem !important;
  }
}
