/*
Theme Name: Kosin Interior
Theme URI: https://www.kosin.co.kr
Author: Kosin Interior
Description: 고신인테리어 - 공간을 넘어 사람이 중심이 되는 진심을 담은 공간 파트너
Version: 1.0
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo img {
  height: 38px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #111;
  line-height: 1.2;
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: #888;
  font-weight: 400;
  text-transform: uppercase;
}

/* Navigation */
#main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 0 22px;
  height: 70px;
  line-height: 70px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: #b8860b;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  min-width: 150px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 2px solid #b8860b;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 100;
}

.nav-menu > li:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  color: #444;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  border-bottom: 1px solid #f5f5f5;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: #f9f6f0;
  color: #b8860b;
  padding-left: 26px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
}

/* =============================================
   HERO SLIDER
   ============================================= */
#hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 70px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  color: #fff;
  max-width: 560px;
}

.slide-content h1 {
  font-size: clamp(22px, 3.5vw, 48px);
  font-weight: 300;
  letter-spacing: 0.3em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.08em;
  line-height: 1.9;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

/* =============================================
   SECTION COMMON
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #b8860b;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #111;
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: #b8860b;
  margin: 20px auto;
}

.section-desc {
  font-size: 15px;
  color: #666;
  letter-spacing: 0.05em;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   INTRO SECTION
   ============================================= */
#intro-section {
  padding: 120px 40px;
  text-align: center;
  background: #fff;
}

.intro-inner {
  max-width: 800px;
  margin: 0 auto;
}

.intro-slogan {
  font-size: clamp(13px, 1.8vw, 18px);
  letter-spacing: 0.45em;
  color: #444;
  line-height: 2.2;
  margin-bottom: 40px;
  font-weight: 300;
}

.intro-mission {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #111;
  margin-bottom: 30px;
}

.intro-desc {
  font-size: 15px;
  color: #666;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
#portfolio-section {
  padding: 100px 40px;
  background: #f8f8f8;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  background: rgba(0,0,0,0.45);
}

.portfolio-overlay-text {
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-overlay-text span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.7);
}

.portfolio-more {
  text-align: center;
  margin-top: 50px;
}

.btn-more {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid #333;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #333;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-more:hover {
  background: #333;
  color: #fff;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
#services-section {
  padding: 100px 40px;
  background: #111;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.service-card:hover {
  border-color: #b8860b;
  background: rgba(184,134,11,0.05);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  stroke: #b8860b;
  fill: none;
  stroke-width: 1.5;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  color: #fff;
}

.service-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
#about-section {
  padding: 100px 40px;
  background: #fff;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid #b8860b;
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 30px;
}

.about-content .section-divider {
  margin: 20px 0;
}

.about-content .section-desc {
  margin: 0 0 30px;
  text-align: left;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f9f9f9;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: #b8860b;
  fill: none;
  stroke-width: 2;
}

.about-feature h4 {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.about-feature p {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}

/* =============================================
   NUMBERS / STATS SECTION
   ============================================= */
#stats-section {
  padding: 80px 40px;
  background: #f8f6f2;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: #b8860b;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-number span {
  font-size: 0.5em;
  font-weight: 400;
}

.stat-label {
  font-size: 13px;
  color: #777;
  letter-spacing: 0.1em;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact-section {
  padding: 100px 40px;
  background: #fff;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #111;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: #b8860b;
  fill: none;
  stroke-width: 2;
}

.contact-detail-text strong {
  display: block;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-detail-text span {
  font-size: 15px;
  color: #333;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #b8860b;
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: #111;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #b8860b;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 50px 40px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}

.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand .footer-logo-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}

.footer-col ul li a:hover {
  color: #b8860b;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.footer-license {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* =============================================
   PAGE LAYOUTS
   ============================================= */
.page-hero {
  margin-top: 70px;
  height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.page-hero-content .page-label {
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}

.page-hero-content h1 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.breadcrumb {
  background: #f9f9f9;
  padding: 14px 40px;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #eee;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  color: #b8860b;
}

.breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* =============================================
   PORTFOLIO PAGE
   ============================================= */
.portfolio-page-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 22px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.portfolio-full-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.portfolio-full-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 30px 20px 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-full-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-info h3 {
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.portfolio-info span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-page {
  padding: 80px 40px;
}

.about-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.company-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.company-intro-text h2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.5;
}

.company-intro-text p {
  font-size: 15px;
  color: #666;
  line-height: 2;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.company-intro-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.license-list {
  background: #f9f9f9;
  padding: 60px 40px;
  margin-bottom: 80px;
}

.license-list h2 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
  text-align: center;
  color: #111;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.license-card {
  background: #fff;
  padding: 30px 24px;
  text-align: center;
  border-top: 3px solid #b8860b;
}

.license-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.license-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page {
  padding: 80px 40px;
}

.contact-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-map {
  width: 100%;
  height: 400px;
  background: #e8e8e8;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

/* =============================================
   LIGHTBOX
   ============================================= */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#lightbox.open {
  display: flex;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  background: none;
  border: none;
}

#lightbox-close:hover {
  opacity: 1;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
  border: none;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .portfolio-grid,
  .portfolio-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-inner,
  .company-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image::before {
    display: none;
  }

  .about-image img,
  .company-intro-img img {
    height: 350px;
  }

  .contact-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  #main-nav.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-menu > li > a {
    height: auto;
    line-height: 1;
    padding: 14px 24px;
    width: 100%;
  }

  .dropdown {
    display: block;
    position: static;
    border: none;
    border-top: none;
    box-shadow: none;
    padding-left: 20px;
    background: #f9f9f9;
  }

  .menu-toggle {
    display: flex;
  }

  #hero-slider {
    height: 70vh;
  }

  .slide-content {
    left: 5%;
    bottom: 10%;
  }

  #intro-section,
  #portfolio-section,
  #services-section,
  #about-section,
  #contact-section,
  .portfolio-page-section,
  .about-page,
  .contact-page {
    padding: 70px 20px;
  }

  .portfolio-grid,
  .portfolio-full-grid {
    grid-template-columns: 1fr;
  }

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

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

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

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-prev { left: 15px; }
  .slider-next { right: 15px; }
}
