/*
Theme Name: Interium
Theme URI: https://example.com/interium
Author: Antigravity
Author URI: https://example.com/
Description: A custom WordPress theme for an Interior Design Studio.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interium
*/

/* Reset & Basics */
:root {
  --primary-color: #ffc220; /* The yellow brand color */
  --text-dark: #333333;
  --text-light: #777777;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --font-main: 'Playfair Display', serif;
  --font-alt: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-alt);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  padding: 1.5rem 0;
  background-color: var(--bg-white);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 500;
}

.site-title span {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0 0.5rem;
  margin-right: 0.2rem;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-navigation a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--text-dark);
}

.main-navigation a:hover {
  color: var(--primary-color);
}

/* Sections Common */
.section {
  padding: 6rem 0;
}
.section-subtitle {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.hero-content {
  margin-left: 55%;
  width: 40%;
  padding-right: 2rem;
  z-index: 2;
}
.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-description {
  font-size: 1rem;
  color: var(--text-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.btn-link {
  font-family: var(--font-alt);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.2rem;
  display: inline-block;
}

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.about-content, .about-image {
  flex: 1;
}
.about-text {
  color: var(--text-light);
  margin-bottom: 2rem;
}
.signature {
  font-family: 'Mrs Saint Delafield', cursive; /* Optional fancy font */
  font-size: 2.5rem;
}

/* Values Section */
.values-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  background-color: var(--bg-light);
  padding: 6rem 0; /* Override common */
}
.values-image, .values-content {
  flex: 1;
}
.stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}
.stat-item h4 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.feature-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}
.feature-icon-wrapper {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.feature-icon-bg {
  position: absolute;
  top: -10px;
  left: -20px;
  width: 40px;
  height: 40px;
  border: 1px solid #eee;
  z-index: -1;
}

/* Portfolio Section */
.portfolio-header {
  text-align: center;
  margin-bottom: 4rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
/* Basic uneven masonry look for 6 items */
.portfolio-item:nth-child(1) { grid-column: span 1; grid-row: span 2; }
.portfolio-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.portfolio-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.portfolio-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.portfolio-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }

/* Experience Section */
.experience-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.experience-content, .experience-image {
  flex: 1;
}

/* Clients Section */
.clients-section {
  text-align: center;
  background-color: var(--bg-light);
}
.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.5;
}
.clients-logos img {
  max-width: 120px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.clients-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Contact Section */
.contact-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-form {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.form-group {
  text-align: left;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid #ddd;
  font-family: var(--font-alt);
  background: transparent;
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid #eee;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-image { width: 100%; height: 50%; position: relative; }
  .hero-content { margin-left: 0; width: 100%; padding: 4rem 2rem; }
  .hero-section { flex-direction: column; height: auto; align-items: flex-start; }
  
  .about-section, .values-section, .experience-section {
    flex-direction: column;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .main-navigation { display: none; } /* Simple mobile menu hiding for now */
  .footer-inner { flex-direction: column; gap: 1rem; }
}

/* LAYOUT */
.values-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* IMAGE */
.values-image {
    flex: 1;
}

.values-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    display: block;
}

/* CONTENT */
.values-content {
    flex: 1;
}

.section-subtitle {
    color: #c8a165;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 40px;
    line-height: 1.3;
    margin: 15px 0;
}

.values-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* STATS */
.stats {
    display: flex;
    gap: 40px;
}

.stat-item h4 {
    font-size: 32px;
    color: #c8a165;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: #666;
}

/* ===================== */
/* MOBILE RESPONSIVE */
/* ===================== */
@media (max-width: 768px) {

    .values-flex {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .values-image img {
        max-width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .stats {
        justify-content: center;
    }
}