/*!
Theme Name: Caustic International
Theme URI: https://caustic-international.com
Description: Premium clothing manufacturer WordPress theme with Industrial Edge Minimalism design. Features red and grey color scheme, responsive design, and WhatsApp integration.
Version: 1.0.0
Author: Caustic International
Author URI: https://caustic-international.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caustic-international
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================================================
   CAUSTIC INTERNATIONAL - INDUSTRIAL EDGE MINIMALISM THEME
   ============================================================================
   
   Design Philosophy:
   - Sharp geometric transitions with diagonal dividers
   - Bold typography hierarchy with Poppins and Inter fonts
   - Stark red (#EF3B36) and grey (#3A3A3A) contrast
   - Asymmetric layouts with strategic white space
   - Functional brutalism - every element serves a purpose
   
   ============================================================================ */

/* ============================================================================
   1. RESET & BASE STYLES
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================================
   2. TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: #EF3B36;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #D62C2C;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* ============================================================================
   3. CONTAINER & LAYOUT
   ============================================================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.col {
  flex: 1;
  padding: 0.5rem;
}

/* ============================================================================
   4. HEADER & NAVIGATION
   ============================================================================ */

.site-header {
  background-color: #ffffff;
  border-bottom: 4px solid #EF3B36;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.25rem;
  color: #1a1a1a;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background-color: #EF3B36;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.125rem;
}

.site-logo:hover {
  color: #EF3B36;
}

.main-navigation {
  display: none;
  gap: 2rem;
}

.main-navigation a {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.main-navigation a:hover {
  color: #EF3B36;
}

.cta-button {
  display: none;
  background-color: #EF3B36;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: #D62C2C;
}

.menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #1a1a1a;
}

.menu-toggle:hover {
  color: #EF3B36;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
  padding: 1rem;
}

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

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .main-navigation {
    display: flex;
  }

  .cta-button {
    display: inline-block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================================
   5. HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

@media (min-width: 768px) {
  .hero {
    height: 500px;
  }
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #ffffff;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

.hero-content p {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================================
   6. SECTIONS & CONTENT
   ============================================================================ */

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-light {
  background-color: #ffffff;
}

.section-dark {
  background-color: #1a1a1a;
  color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark a {
  color: #EF3B36;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #EF3B36;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(26, 26, 26, 0.8);
  text-align: center;
  margin-bottom: 1rem;
}

.divider {
  width: 64px;
  height: 4px;
  background-color: #EF3B36;
  margin: 2rem auto;
}

/* ============================================================================
   7. PRODUCTS GRID
   ============================================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 250px;
  background-color: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-description {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: 1rem;
}

.product-cta {
  color: #EF3B36;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================================
   8. BUTTONS
   ============================================================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #EF3B36;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: #D62C2C;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-secondary {
  background-color: transparent;
  color: #EF3B36;
  border: 2px solid #EF3B36;
}

.btn-secondary:hover {
  background-color: #EF3B36;
  color: #ffffff;
}

/* ============================================================================
   9. ACCENT BARS & ELEMENTS
   ============================================================================ */

.red-accent-bar {
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid #EF3B36;
}

.red-accent-bar h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   10. FOOTER
   ============================================================================ */

.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #EF3B36;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ============================================================================
   11. FORMS
   ============================================================================ */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #f0f0f0;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================================================
   12. UTILITIES
   ============================================================================ */

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

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.text-muted {
  color: rgba(26, 26, 26, 0.7);
}

.text-light {
  color: rgba(255, 255, 255, 0.8);
}

.hidden {
  display: none;
}

/* ============================================================================
   13. RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 2rem 0;
  }

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

/* ============================================================================
   14. WORDPRESS SPECIFIC
   ============================================================================ */

.wp-caption {
  margin-bottom: 1rem;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.7);
  margin-top: 0.5rem;
}

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

.alignleft {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* ============================================================================
   15. ADMIN STYLES
   ============================================================================ */

.wp-block-button__link {
  background-color: #EF3B36;
  color: #ffffff;
}

.wp-block-button__link:hover {
  background-color: #D62C2C;
}
