/*
Theme Name: Royal Residence
Theme URI: http://example.com/royal-residence
Author: Manuel Arias
Author URI: http://example.com
Description: A luxurious theme for The Royal Residence at ABR.
Tags: luxury, real estate, hotel
Version: 1.0
Tested up to: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-residence
*/

/* General styles */
body {
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: white;
}

/* Hero section */
.hero {
  width: 100%;
  height: 300px;
  background-image: url("assets/images/image_2_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 16px;
}

.hero-content {
  padding: 16px;
  height: 100%;
}

.logo-container {
  display: none;
  width: 280px;
  height: 85px;
  justify-content: space-between;
  background-color: rgba(229, 231, 235, 0.6);
  padding-bottom: 8px;
  padding-right: 8px;
  border-radius: 16px;
}

.logo-symbol {
  display: flex;
  font-weight: 600;
  background-color: white;
  color: rgb(229, 231, 235);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  border-top-left-radius: 16px;
  padding-bottom: 8px;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  justify-content: center;
}

.logo-heading {
  font-size: 24px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: white;
  margin: 0;
}

.logo-arrow {
  padding-left: 8px;
  font-size: 36px;
  text-align: left;
}

.logo-beach {
  padding-left: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.logo-subheading {
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.1em;
  margin: 5px 0;
}

.logo-tagline {
  font-size: 18px;
  color: white;
  margin: 5px 0;
}

/* Header section */
.header {
  width: 100%;
  height: 480px;
  margin-top: 20px;
  margin-bottom: 128px;
}

.header-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 150px;
}

.title {
  width: 375px;
  height: 74px;
  border: 2px solid #047857;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: #047857;
  padding-top: 12px;
  margin: 0;
}

.subtitle {
  background-color: white;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #047857;
  position: absolute;
  bottom: -16px;
  margin: 0;
}

.intro-container {
  text-align: center;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 64px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
}

.intro-heading {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 40px;
}

.intro-text {
  margin-top: 16px;
  color: #4b5563;
  padding: 20px;
  padding-bottom: 40px;
}

/* Cards section */
.cards-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.card {
  background-color: #bcb8af;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 192px;
  object-fit: cover;
}

.card-content {
  padding: 24px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card-text {
  color: #4b5563;
  font-size: 14px;
}

.card-list {
  margin-top: 12px;
  color: #4b5563;
  font-size: 14px;
  list-style-type: disc;
  padding-left: 20px;
}

/* Investment section */
.investment {
  position: relative;
  width: 100%;
  height: 600px;
}

.investment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.investment-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investment-content {
  background-color: #bcb8af;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 36rem;
  text-align: center;
}

.investment-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.investment-text {
  color: #4b5563;
  margin-bottom: 40px;
}

.investment-list {
  margin-top: 12px;
  color: #4b5563;
  font-size: 14px;
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

/* Gallery section */
.gallery {
  display: none;
  text-align: center;
  margin-top: 64px;
  width: 100%;
  margin: 0 auto;
}

.gallery-title {
  font-size: 18px;
  font-weight: 600;
  color: #4b5563;
  letter-spacing: 0.1em;
}

.gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
}

.gallery-image {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 280px;
  height: 280px;
  object-fit: cover;
}

.gallery-circle-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-circle {
  background-color: #bcb8af;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  font-weight: 500;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.gallery-circle-text {
  text-align: center;
}

/* Footer */
.footer {
  background-color: #bcb8af;
  padding: 32px 0px;
}

.footer-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info {
  background-color: #f0f0f1;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-title {
  font-size: 18px;
  font-weight: 600;
  text-decoration: underline;
  margin-bottom: 12px;
}

.contact-intro {
  color: #4b5563;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.contact-details {
  color: #4b5563;
}

.contact-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
  word-break: break-word;
}

.contact-link:hover {
  text-decoration: underline;
}

.company-info {
  padding: 16px 0px;
  border-radius: 8px;
  text-align: center;
}

.company-logo {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.company-name {
  width: 90%;
  min-height: 60px;
  border: 2px solid #047857;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #047857;
  padding: 12px 0px;
  margin: 0;
}

.company-tag {
  background-color: #bcb8af;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #047857;
  position: absolute;
  bottom: -16px;
  margin: 0;
}

.company-slogan {
  color: #4b5563;
  font-family: serif;
  font-style: italic;
  margin: 8px 0;
}

.slogan-emphasis {
  font-weight: bold;
}

.company-addresses {
  color: #4b5563;
  font-size: 12px;
  text-align: left;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero {
    background-size: cover;
    width: 100%;
    margin-bottom: 56px;
  }
}

/* Tablet specific styles */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero {
    background-image: url("assets/images/image_2_1.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
  }
}
@media (min-width: 768px) {
  .hero {
    height: 470px;
  }

  .logo-container {
    display: flex;
  }

  .header {
    margin-bottom: 0;
  }

  .title-container {
    margin-top: 0;
    margin-bottom: 40px;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    gap: 16px;
  }

  .card {
    border-radius: 8px;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-image {
    border-radius: 12px;
  }

  .investment-content {
    padding: 64px 40px;
  }

  .gallery {
    display: block;
    max-width: 100%;
  }

  .gallery-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    padding: 0 40px;
    margin: 32px auto;
    justify-items: center;
    justify-content: center;
  }

  .footer {
    padding: 40px 24px;
    margin-top: 40px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    padding: 24px;
  }

  .company-info {
    padding: 24px;
  }

  .company-name {
    width: 426px;
    height: 74px;
  }

  .company-tag {
    font-size: 24px;
  }

  .contact-link {
    font-size: 16px;
  }

  .company-addresses {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .intro-heading {
    font-size: 36px;
  }
}

@media (max-width: 399px) {
  .title {
    width: 95%;
    font-size: 24px;
  }

  .card-content {
    padding: 16px 12px;
  }

  .gallery-image {
    width: 140px;
    height: 140px;
  }

  .investment-content {
    max-width: 90%;
    padding: 15px;
  }

  .footer {
    padding: 20px 10px;
  }

  .company-name {
    width: 95%;
    font-size: 18px;
    padding: 8px 5px;
  }

  .company-tag {
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .company-addresses {
    font-size: 10px;
    line-height: 1.4;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .title {
    width: 340px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-image {
    width: 200px;
    height: 200px;
  }
}

@media (min-width: 1440px) {
  .cards-container {
    max-width: 1200px;
  }

  .gallery-grid {
    max-width: 1400px;
  }

  .footer-container {
    max-width: 1200px;
  }

  .hero {
    height: 600px;
  }
}

.footer {
  padding: 32px 16px;
}

@media (min-width: 768px) {
  .footer {
    padding: 40px 24px;
  }
}
