/* =============================================
   AVASA - BASE STYLES & TYPOGRAPHY
   ============================================= */

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--avasa-font-body);
    font-size: var(--avasa-font-base);
    line-height: 1.7;
    color: var(--avasa-gray-800);
    background-color: var(--avasa-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--avasa-font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--avasa-black);
    margin-bottom: var(--avasa-space-md);
}

h1 {
    font-size: var(--avasa-font-5xl);
}

h2 {
    font-size: var(--avasa-font-4xl);
}

h3 {
    font-size: var(--avasa-font-3xl);
}

h4 {
    font-size: var(--avasa-font-2xl);
}

h5 {
    font-size: var(--avasa-font-xl);
}

h6 {
    font-size: var(--avasa-font-lg);
}

p {
    margin-bottom: var(--avasa-space-md);
}

a {
    color: var(--avasa-gold);
    text-decoration: none;
    transition: color var(--avasa-transition-base);
}

a:hover {
    color: var(--avasa-gold-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--avasa-space-xl);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--avasa-space-xl);
}

/* Section Padding */
.section {
    padding: var(--avasa-space-4xl) 0;
    position: relative;
}

.section-lg {
    padding: var(--avasa-space-4xl) 0;
}

.section-xl {
    padding: var(--avasa-space-4xl) 0;
}

.section-dark {
    background-color: var(--avasa-black);
    color: var(--avasa-white);
}

.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--avasa-white);
}

.section-dark .section-description {
    color: var(--avasa-gray-400);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--avasa-space-3xl);
}

.section-subtitle {
    font-family: var(--avasa-font-secondary);
    font-size: var(--avasa-font-sm);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--avasa-gold);
    margin-bottom: var(--avasa-space-md);
    position: relative;
    display: inline-block;
}

.section-title {
    font-size: var(--avasa-font-4xl);
    margin-bottom: var(--avasa-space-lg);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--avasa-gold);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--avasa-gray-600);
}

/* Lazy Load Image */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.lazy-loaded {
    opacity: 1;
}

body.lightbox-open,
body.menu-open {
    overflow: hidden;
}