/*
Theme Name: Hakan Evin Rug Store Theme
Theme URI: http://hakanevin.com/
Author: Antigravity
Author URI: https://deepmind.google/
Description: Custom pixel-perfect WordPress theme for Hakan Evin Rug Store, replicating the clean, minimalist GoDaddy template layout and typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hakanevin-theme
*/

/* -------------------------------------------------------------
   1. RESET & CORE GLOBAL STYLES
------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Headers & Fonts */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: normal;
  color: #1a1a1a;
}

/* -------------------------------------------------------------
   2. TYPOGRAPHY & BUTTON UTILITIES
------------------------------------------------------------- */
.section-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999999;
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
}

.btn-dark-block {
  background-color: #1a1a1a;
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1.5px;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-dark-block:hover {
  background-color: #333333;
}

.btn-whatsapp {
  background-color: #35535e; /* Exact GoDaddy slate-green from screenshot */
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

.btn-whatsapp i {
  font-size: 16px;
}

/* -------------------------------------------------------------
   3. HEADER STYLING
------------------------------------------------------------- */
header.site-header {
  padding: 20px 0 10px 0;
  background-color: #efeeea; /* Warm light gray background for top block */
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.header-socials {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #1a1a1a;
}

.header-socials a:hover {
  opacity: 0.6;
}

/* Double Boxed Logo */
.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-box {
  border-top: 1.5px solid #1a1a1a;
  border-bottom: 1.5px solid #1a1a1a;
  padding: 6px 18px;
  display: inline-block;
  text-transform: uppercase;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  letter-spacing: 1.5px;
  font-weight: bold;
  color: #1a1a1a;
  white-space: nowrap;
}

/* Empty spacer for flex alignment when logo is absolute */
.header-spacer {
  width: 60px;
}

/* Main Navigation Menu */
nav.main-nav {
  margin-top: 25px;
  margin-bottom: 5px;
}

ul.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 25px;
  padding: 0;
}

ul.nav-menu li a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555555;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

ul.nav-menu li a:hover,
ul.nav-menu li.current-menu-item a {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

/* -------------------------------------------------------------
   4. HOMEPAGE GRID & ROW LAYOUTS (EXACT REPLICATION)
------------------------------------------------------------- */
.row-section {
  padding: 40px 0;
}

/* Light warm gray rows matching screenshot background coloring */
.row-warm-bg {
  background-color: #efeeea;
}

.row-white-bg {
  background-color: #ffffff;
}

/* Split Column Grid */
.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Exactly matches the ratio in the screenshot */
  gap: 0;
  align-items: stretch;
}

/* Column Image Box */
.grid-image-box {
  width: 100%;
  height: 100%;
}

.grid-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Content Box on the Right */
.welcome-content-box {
  background-color: #eaeaea; /* Sightly darker gray block for text welcome */
  padding: 60px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.welcome-content-box h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.welcome-content-box p {
  font-size: 14px;
  color: #444444;
  line-height: 1.7;
}

/* Promo Column Split Grid (Row 2) */
.promo-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr; /* Flipped ratio for variety or matching screen */
  gap: 0;
  align-items: stretch;
}

.promo-content-box {
  background-color: #eaeaea;
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.promo-content-box h2 {
  font-size: 24px;
  margin-bottom: 18px;
  color: #1a1a1a;
  line-height: 1.3;
}

.promo-content-box p {
  font-size: 13px;
  color: #444444;
  margin-bottom: 25px;
  line-height: 1.7;
}

.promo-content-box .btn-container {
  text-align: left;
}

/* -------------------------------------------------------------
   5. ABOUT US SECTION (ROW 3)
------------------------------------------------------------- */
.about-header {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 30px;
  margin-bottom: 25px;
}

.about-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

/* Portrait Left Card */
.about-card-left {
  background-color: #eaeaea;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-card-left .image-wrapper {
  width: 100%;
}

.about-card-left img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-card-details {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.about-card-details h3 {
  font-size: 20px;
  color: #1a1a1a;
}

.about-card-details p {
  font-size: 13px;
  color: #666666;
  margin-bottom: 15px;
}

/* Rolled Carpet Right Card */
.about-card-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.about-card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------------------
   6. CONTACT US SECTION (ROW 4)
------------------------------------------------------------- */
.contact-header {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 30px;
  margin-bottom: 20px;
}

.contact-layout {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.contact-intro {
  font-size: 15px;
  color: #444444;
  margin-bottom: 15px;
  line-height: 1.6;
}

.store-info-box {
  margin-top: 25px;
  margin-bottom: 40px;
}

.store-info-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: bold;
}

.store-info-box p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 5px;
}

/* Contact Message Form */
.message-form-container {
  margin-top: 40px;
  background-color: #efeeea; /* matching screenshot form block */
  padding: 40px 30px;
  border-radius: 2px;
}

.message-form-container h3 {
  font-size: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #444444;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdbd8;
  background-color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1a1a1a;
  border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

.recaptcha-notice {
  font-size: 10px;
  color: #888888;
  margin-top: 15px;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* AJAX Feedback Boxes */
.form-feedback {
  margin-top: 15px;
  padding: 10px;
  font-size: 13px;
  text-align: center;
  display: none;
  border-radius: 2px;
}

.form-feedback.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-feedback.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* -------------------------------------------------------------
   7. FOOTER STYLING
------------------------------------------------------------- */
footer.site-footer {
  background-color: #efeeea;
  padding: 40px 0 25px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-copyright {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777777;
}

.godaddy-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666666;
  font-weight: bold;
}

.godaddy-badge i {
  font-size: 12px;
  color: #111111;
}

.footer-bottom-menu {
  margin-top: 25px;
  text-align: center;
}

ul.footer-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 25px;
  padding: 0;
}

ul.footer-menu li a {
  font-size: 11px;
  color: #666666;
  text-transform: capitalize;
  font-weight: 500;
  transition: color 0.2s ease;
}

ul.footer-menu li a:hover {
  color: #1a1a1a;
}

/* -------------------------------------------------------------
   8. RESPONSIVE DESIGN & MEDIA QUERIES
------------------------------------------------------------- */
@media screen and (max-width: 900px) {
  .split-grid, .promo-grid {
    grid-template-columns: 1fr;
  }
  
  .welcome-content-box, .promo-content-box {
    padding: 40px 25px;
  }
  
  .grid-image-box {
    height: 320px;
  }
}

@media screen and (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 15px;
  }
  
  .logo-container {
    position: static;
    transform: none;
    margin-bottom: 5px;
  }
  
  .about-cards-container {
    grid-template-columns: 1fr;
  }
  
  .about-card-right {
    height: 250px;
  }
  
  ul.nav-menu {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* -------------------------------------------------------------
   9. VIP CUSTOMERS PAGE STYLING
------------------------------------------------------------- */
.vip-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.vip-page-header {
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vip-card {
  background-color: #efeeea;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.vip-card:hover {
  transform: translateY(-3px);
}

.vip-card-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #dcdbd8;
  position: relative;
  overflow: hidden;
}

.vip-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback square box if no image is uploaded */
.vip-fallback-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #dcdbd8;
  padding: 20px;
}

.vip-fallback-box i {
  font-size: 24px;
  margin-bottom: 8px;
  color: #999999;
}

.vip-card-content {
  padding: 22px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  flex-grow: 1;
}

.vip-card-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 5px;
  line-height: 1.3;
}

.vip-card-content p {
  font-size: 10px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

@media screen and (max-width: 900px) {
  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 600px) {
  .vip-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   10. CONTACT PAGE LAYOUT & TYPOGRAPHY
------------------------------------------------------------- */
.contact-page-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-details-col {
  padding-right: 20px;
}

.contact-details-col h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  margin-bottom: 18px;
  font-weight: normal;
  color: #1a1a1a;
}

.contact-details-col .intro-text {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-details-col .bold-address {
  font-size: 13px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 25px;
  line-height: 1.5;
}

.contact-details-col h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  margin-top: 35px;
  margin-bottom: 12px;
  font-weight: normal;
  color: #1a1a1a;
}

.contact-details-col .address-desc {
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-details-col .phone-line {
  font-size: 13px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.contact-details-col .phone-line a {
  color: inherit;
}

.contact-details-col .working-hours {
  font-size: 13px;
  color: #555555;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-details-col .working-hours span.arrow {
  font-size: 9px;
  color: #777777;
}

/* Map Column Styling */
.contact-map-col {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background-color: #efeeea;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
}

@media screen and (max-width: 900px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-details-col {
    padding-right: 0;
  }
  
  .contact-map-col {
    min-height: 380px;
  }
  
  .contact-map-col iframe {
    min-height: 380px;
  }
}

/* -------------------------------------------------------------
   11. ABOUT US PAGE STYLING
------------------------------------------------------------- */
.about-page-section {
  padding: 60px 0;
  background-color: #efeeea; /* Exact warm light gray from screenshot */
  min-height: 70vh;
}

.about-page-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: start;
}

.about-page-sidebar {
  padding-top: 10px;
}

.about-page-sidebar-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777777;
  display: block;
}

.about-page-content-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-section-block {
  margin-bottom: 50px;
}

.about-section-block:last-child {
  margin-bottom: 0;
}

.about-page-content-box h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: normal;
  color: #1a1a1a;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.about-section-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #444444;
  text-align: center;
}

.about-section-text p {
  margin-bottom: 25px;
}

.about-section-text p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 900px) {
  .about-page-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-page-sidebar {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
    margin-bottom: 10px;
  }
  
  .about-page-content-box h2 {
    font-size: 21px;
  }
}


