/*
Theme Name: Aura Zasłony
Theme URI: https://example.com
Author: Aura Zasłony
Author URI: https://example.com
Description: Elegancki, klasyczny motyw WordPress dla firmy Aura Zasłony — karnisze elektryczne, zasłony i firany. Czarno-beżowa kolorystyka ze złotym akcentem, zaprojektowany pod logo marki.
Version: 1.0
Requires at least: 6.0
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: aura-zaslony
*/

/* =========================================================
   1. RESET & BASE
   ========================================================= */
:root{
  --color-black: #0a0a0a;
  --color-dark: #141210;
  --color-beige: #b09980;
  --color-beige-light: #efe8e0;
  --color-cream: #faf8f5;
  --color-gold: #a8895f;
  --color-white: #ffffff;
  --color-text: #201d1a;
  --color-text-muted: #6f665c;
  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1180px;
  --transition: all 0.3s ease;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
  font-size: 17px;
}

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

a{ color: inherit; text-decoration: none; transition: var(--transition); }

h1, h2, h3, h4{
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
  color: var(--color-black);
}

h1{ font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1.2em; }

ul{ margin: 0; padding: 0; list-style: none; }

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

.eyebrow{
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--color-gold);
  margin-bottom: 1em;
}

.btn{
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
}
.btn:hover{ background: var(--color-black); color: var(--color-white); }

.btn-light{ border-color: var(--color-white); color: var(--color-white); }
.btn-light:hover{ background: var(--color-white); color: var(--color-black); }

.section{ padding: 90px 0; }
.section-alt{ background: var(--color-beige-light); }

.divider{
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 1.4em;
}

/* =========================================================
   2. HEADER
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(10,10,10,0.06);
}

.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.main-navigation ul{
  display: flex;
  gap: 34px;
}

.main-navigation a{
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--color-text);
}
.main-navigation a:hover,
.main-navigation .current-menu-item a{ color: var(--color-gold); }

.menu-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span{
  display: block;
  width: 26px;
  height: 1px;
  background: var(--color-black);
  margin: 6px 0;
}
.nav-favicon{ display: none; }

/* =========================================================
   3. HERO
   ========================================================= */
.hero{
  position: relative;
  background-image: url('images/logo-full-dark-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-black);
  aspect-ratio: 3 / 2;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 0;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
}
.hero .container{
  position: relative;
  z-index: 1;
}
.hero .site-logo-large{ max-width: 360px; margin: 0 auto 2em; }
.hero h1{ color: var(--color-white); }
.hero p.lead{
  max-width: 560px;
  margin: 0 auto 2.2em;
  color: #f1efec;
}

.hero-page{
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 90px 0 70px;
}
.hero-page h1{ color: var(--color-white); margin-bottom: 0.2em; }
.hero-page .container{ position: relative; }
.hero-page-favicon{
  position: absolute;
  top: -30px;
  right: 0;
  width: 56px;
  height: 56px;
}

/* =========================================================
   4. INTRO / ABOUT TEASER
   ========================================================= */
.intro{
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* =========================================================
   5. OFFER GRID
   ========================================================= */
.offer-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.offer-card{
  background: var(--color-white);
  padding: 44px 30px;
  text-align: center;
  border: 1px solid rgba(10,10,10,0.08);
}
.offer-card .icon-letter{
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--color-gold);
  margin-bottom: 0.3em;
}
.offer-card h3{ margin-bottom: 0.5em; }
.offer-card p{ color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* Detailed offer list (Oferta page) */
.offer-detail{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}
.offer-detail:last-child{ border-bottom: none; }
.offer-detail:nth-child(even) .offer-detail-media{ order: 2; }
.offer-detail-media{
  background: var(--color-beige-light);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-detail-media img{ max-height: 220px; }

/* =========================================================
   6. CTA BAND
   ========================================================= */
.cta-band{
  background: var(--color-beige);
  color: var(--color-black);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2{ margin-bottom: 0.4em; }

/* =========================================================
   7. CONTACT
   ========================================================= */
.contact-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3{ margin-top: 1.4em; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-gold); }
.contact-info h3:first-child{ margin-top: 0; }
.contact-info p{ margin-bottom: 0.3em; color: var(--color-text-muted); }

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(10,10,10,0.15);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.contact-form textarea{ min-height: 140px; resize: vertical; }
.contact-form label{
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}
.form-notice{
  padding: 14px 18px;
  margin-bottom: 20px;
  background: var(--color-beige-light);
  border-left: 3px solid var(--color-gold);
  font-size: 0.92rem;
}

.map-embed{
  margin-top: 40px;
  border: 1px solid rgba(10,10,10,0.08);
}
.map-embed iframe{ width: 100%; height: 340px; border: 0; display: block; }

/* =========================================================
   8. PAGE / SINGLE CONTENT (generic pages, blog)
   ========================================================= */
.page-content{
  max-width: 760px;
  margin: 0 auto;
}
.page-content h2{ margin-top: 1.6em; }
.page-content ul,
.page-content ol{
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.page-content ul{ list-style: disc; }
.page-content ol{ list-style: decimal; }
.page-content ul li,
.page-content ol li{
  margin-bottom: 0.5em;
}

/* =========================================================
   9. FOOTER
   ========================================================= */
.site-footer{
  background: var(--color-black);
  color: #cfc9c0;
  padding: 70px 0 30px;
}
.footer-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 90px;
  margin-bottom: 50px;
  text-align: left;
}
.footer-about{ max-width: 360px; }
.footer-nav{ min-width: 160px; }
.footer-logo img{ height: 46px; margin-bottom: 18px; }
.footer-grid h4{
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-family: var(--font-sans);
  margin-bottom: 1.2em;
}
.footer-grid ul li{ margin-bottom: 0.7em; }
.footer-grid a{ color: #cfc9c0; font-size: 0.92rem; }
.footer-grid a:hover{ color: var(--color-gold); }

/* Domyślne widżety WordPress w stopce (Archives, Categories, itp.) */
.footer-widget{ margin-bottom: 30px; }
.footer-widget:last-child{ margin-bottom: 0; }
.footer-widgets h2,
.footer-widgets h3,
.footer-widgets .widget-title{
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-family: var(--font-sans);
  font-weight: 500;
  margin: 0 0 1.2em;
}
.footer-widgets ul{ list-style: none; margin: 0; padding: 0; }
.footer-widgets ul li{ margin-bottom: 0.7em; }
.footer-widgets a{ color: #cfc9c0; font-size: 0.92rem; }
.footer-widgets a:hover{ color: var(--color-gold); }
.footer-widgets select{
  width: 100%;
  padding: 10px 12px;
  background: var(--color-dark);
  color: #cfc9c0;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-sans);
}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8b8478;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================
   10. RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .offer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .offer-detail{ grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .offer-detail:nth-child(even) .offer-detail-media{ order: 0; }
}

@media (max-width: 700px){
  .main-navigation{
    position: fixed;
    top: 0;
    right: 0;
    left: 30%;
    width: 70%;
    height: auto;
    max-height: 100vh;
    background: var(--color-black);
    padding: 100px 30px 60px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-favicon{
    display: block;
    position: absolute;
    top: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
  }
  .main-navigation.is-open{ transform: translateX(0); }
  .main-navigation ul{ flex-direction: column; gap: 22px; }
  .main-navigation a{ color: var(--color-white); font-size: 1rem; }
  .menu-toggle{ display: block; }
  .offer-grid{ grid-template-columns: 1fr; }
  .footer-grid{ text-align: center; gap: 50px; }
  .footer-about{ max-width: 100%; }
  .footer-nav{ width: 100%; }
  .footer-nav ul{ display: flex; flex-direction: column; align-items: center; }
  .social-icons{ justify-content: center; }
  .section{ padding: 60px 0; }
}
.social-icons{
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.social-icons a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #cfc9c0;
}
.social-icons a:hover{
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}
.header-social{
  display: flex;
  gap: 14px;
}
.header-social a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(10,10,10,0.15);
  border-radius: 50%;
  color: var(--color-text);
}
.header-social a:hover{
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}