/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */

:root {
  --brand-orange: #F7935D;
  --brand-orange-dark: #e8824b;
  --brand-slate: #333f48;
  --brand-slate-light: #4a5a66;
  --brand-white: #ffffff;
  --brand-gray-light: #f8f9fa;
  --brand-gray-medium: #e9ecef;
  --text-dark: #2d3436;
  --text-muted: #636e72;
  --text-light: #ffffff;
  --container-width: 1200px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-slate);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--brand-slate);
  color: var(--brand-white);
}

.nav-links a.btn-primary {
  color: var(--brand-white);
}

.btn-primary:hover {
  background-color: var(--brand-slate-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cta {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: var(--brand-white);
  box-shadow: 0 4px 15px rgba(247, 147, 93, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(247, 147, 93, 0.6);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header & Nav */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--brand-slate);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--brand-orange);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-slate);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(51, 63, 72, 0.8), rgba(51, 63, 72, 0.6)), url('../img/img_2.png');
  background-size: cover;
  color: var(--text-light);
  padding: 160px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--brand-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .sub-headline {
  font-size: 1.5rem;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Section Common */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--brand-orange);
  border-radius: 2px;
}

/* Services */
.services {
  background-color: var(--brand-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--brand-white);
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  border-bottom: 6px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom: 6px solid var(--brand-orange);
}

.service-icon {
  font-size: 3rem;
  color: var(--brand-orange);
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

/* Benefits */
.benefits {
  background-color: var(--brand-slate);
  color: var(--text-light);
}

.benefits .section-title {
  color: var(--brand-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--brand-orange);
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item h3 {
  color: var(--brand-white);
  margin-bottom: 15px;
}

/* Comparison Section */
.comparison-section {
  background-color: var(--brand-gray-light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comparison-item {
  background: var(--brand-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-item h4 {
  padding: 20px;
  text-align: center;
  background: var(--brand-slate);
  color: var(--brand-white);
}

.placeholder-img {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.hot-room {
  position: relative;
  /*background: url('../img/interior_before.png');*/
  /*background: linear-gradient(45deg, rgb(255 234 167 / 0.5), rgb(250 177 160 / 0.5)), url('../img/interior_after.png');*/
  background: linear-gradient(45deg, rgb(255 234 167), rgb(250 177 160));
  background-size: cover;
  color: #d63031;
}

.cool-room {
  position: relative;
  /*background: url('../img/interior_after.png');*/
  /*background: linear-gradient(45deg, rgb(129 236 236 / 0.5), rgb(116 185 255 / 0.5)), url('../img/interior_before.png');*/
  background: linear-gradient(45deg, rgb(129 236 236), rgb(116 185 255));
  background-size: cover;
  color: #0984e3;
}

/* Blog */
.blog, .blog-listing {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--brand-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.blog-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card a {
  color: var(--brand-orange);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.blog-card a::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.2s;
}

.blog-card a:hover::after {
  transform: translateX(5px);
}

/* Blog Post Page Styles */
.blog-post {
  padding: 80px 0;
}

.post-header {
  margin-bottom: 50px;
  text-align: center;
}

.post-title {
  font-size: 3rem;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.post-meta {
  color: var(--text-muted);
  font-size: 1rem;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-content h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--brand-slate);
}

.post-content h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

.post-content ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-cta {
  background: var(--brand-gray-light);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 60px;
  border: 1px solid var(--brand-gray-medium);
}

.post-cta h3 {
  margin-bottom: 15px;
}

.post-cta p {
  margin-bottom: 25px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }

  .post-content h2 {
    font-size: 1.6rem;
  }
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--brand-slate) 0%, #1e272e 100%);
  color: var(--text-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info h2 {
  color: var(--brand-white);
  margin-bottom: 25px;
  font-size: 2.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.contact-form-wrapper {
  background: var(--brand-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-slate);
  font-weight: 600;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--brand-gray-medium);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-orange);
}

/* Footer */
.footer {
  background: #1e272e;
  color: #a4b0be;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer h3, .footer h4 {
  color: var(--brand-white);
  margin-bottom: 25px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* Gallery */
.gallery-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--brand-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }

  .nav-links li:last-child {
    margin-bottom: 0;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content .sub-headline {
    font-size: 1.2rem;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }
}
