/*
Theme Name: Granite Master
Theme URI: https://granitmaster.local
Description: Custom theme za Granite Master sa Bootstrap i ACF
Version: 1.0.0
Author: Granite Master
Author URI: https://granitmaster.local
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: granite-master
Domain Path: /languages
*/

:root {
  /* Boje */
  --primary-color: #dedacf;
  --text-color: #767676;
  --heading-color: #4d403a;
  --light-gray: #f5f5f5;
  --border-color: #e0e0e0;

  /* Tipografija */
  --font-main: "Inter", sans-serif;
  --font-size-base: 16px;
  --font-size-h1: 48px;
  --line-height-h1: 56px;
  --letter-spacing-h1: 5%;
  --font-weight-h1: 800;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 0;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

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

html,
body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
  margin: 0 !important;
}

/* Tipografija */
p {
  color: var(--text-color);
  font-size: 16px;
  margin-bottom: var(--spacing-md);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--font-main);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1);
  line-height: calc(var(--line-height-h1) / var(--font-size-h1));
  letter-spacing: var(--letter-spacing-h1);
}

h2 {
  font-size: 36px;
  line-height: 44px;
}

h3 {
  font-size: 28px;
  line-height: 36px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background-color: var(--primary-color);
  color: #262626;
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border-radius: 0;
}

.btn:hover {
  background-color: #d4d0c5;
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--heading-color);
  color: #fff;
}

.btn-dark:hover {
  background-color: #3a2f29;
}

/* Links */
a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Container i Grid */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
@media (max-width: 768px) {
  .container, .container-md, .container-sm {
      max-width: 720px !important;
    }
}
/* Utility Classes */
.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-color);
}

.text-dark {
  color: var(--heading-color);
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: var(--spacing-xs);
}
.mt-2 {
  margin-top: var(--spacing-sm);
}
.mt-3 {
  margin-top: var(--spacing-md);
}
.mt-4 {
  margin-top: var(--spacing-lg);
}
.mt-5 {
  margin-top: var(--spacing-xl);
}
.mt-6 {
  margin-top: var(--spacing-2xl);
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: var(--spacing-xs);
}
.mb-2 {
  margin-bottom: var(--spacing-sm);
}
.mb-3 {
  margin-bottom: var(--spacing-md);
}
.mb-4 {
  margin-bottom: var(--spacing-lg);
}
.mb-5 {
  margin-bottom: var(--spacing-xl);
}
.mb-6 {
  margin-bottom: var(--spacing-2xl);
}

.py-4 {
  padding: var(--spacing-lg) 0;
}
.py-5 {
  padding: var(--spacing-xl) 0;
}
.py-6 {
  padding: var(--spacing-2xl) 0;
}

.d-none {
  display: none;
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
    line-height: 40px;
  }

  h2 {
    font-size: 24px;
    line-height: 32px;
  }
}
.full-width-divider {
   width: 100%;
  max-width: 608px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(222, 218, 207, 0) 0%,
    rgba(222, 218, 207, 1) 50%,
    rgba(222, 218, 207, 0) 100%
  );
  margin: 0 auto 63px auto;
}
.main-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  color: #262626;
}
.main-section-desc {
  text-align: center;
  font-size: 16px;
  color: #767676;
  font-weight: 300;
  margin-bottom: 64px;
}