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

:root {
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-beige: #D9CAAB;
    --color-light-bg: #F9F6F2;
    --font-primary: 'Commissioner', sans-serif;
    --font-secondary: 'Coming Soon', cursive;
}

body {
    font-family: Commissioner, sans-serif;
    background-color: var(--color-white);
    color: var(--color-black);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, span, a, button, input, textarea, select, label, li {
    font-family: Commissioner, sans-serif;
}

.container {
    max-width: min(1425px, 95%);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 2vw, 1.25rem);
}

button {
    cursor: pointer;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    border-radius: clamp(0.5rem, 0.75vw, 0.75rem);
}

button:hover {
    opacity: 0.8;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Button Styles */
.btn {
    border: clamp(1px, 0.11vw, 1.7px) solid var(--color-beige);
    border-radius: clamp(0.5rem, 0.75vw, 0.75rem);
    padding: clamp(1rem, 1.25vw, 1.25rem) clamp(1.5rem, 1.875vw, 1.875rem);
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 400;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 3s ease-in-out infinite;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--color-beige);
    color: var(--color-white);
    border: none;
}

.btn-secondary {
    background-color: var(--color-beige);
    color: var(--color-white);
    border: 1.7px solid var(--color-black);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-black);
    border: 1.7px solid var(--color-beige);
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(217, 202, 171, 0.4);
    animation: none;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(217, 202, 171, 0.4);
    }
    50% {
        box-shadow: 0 0 0 clamp(0.25rem, 0.5vw, 0.5rem) rgba(217, 202, 171, 0);
    }
}

/* Единая высота и отступы всех кнопок на мобильных устройствах (как у projects-btn) */
body.mobile-only .btn,
html.mobile-only .btn,
body.mobile-only button.btn,
html.mobile-only button.btn,
body.mobile-only a.btn,
html.mobile-only a.btn,
body.mobile-only .hero-btn,
html.mobile-only .hero-btn,
body.mobile-only .contact-btn,
html.mobile-only .contact-btn,
body.mobile-only .services-btn,
html.mobile-only .services-btn,
body.mobile-only .example-btn,
html.mobile-only .example-btn,
body.mobile-only .projects-btn,
html.mobile-only .projects-btn,
body.mobile-only .about-btn,
html.mobile-only .about-btn {
    padding: clamp(0.75rem, 1vw, 1rem) clamp(2rem, 3.75vw, 3.75rem) !important;
    padding-top: clamp(0.75rem, 1vw, 1rem) !important;
    padding-bottom: clamp(0.75rem, 1vw, 1rem) !important;
    margin-top: clamp(1.5rem, 3vw, 3rem) !important;
    margin-bottom: clamp(0.875rem, 1.75vw, 1.75rem) !important;
}

/* Убираем лишние отступы у элементов перед кнопками на мобильных */
body.mobile-only .hero-description,
html.mobile-only .hero-description {
    margin-bottom: clamp(1rem, 2vw, 2rem) !important;
}

body.mobile-only .example-image-wrapper,
html.mobile-only .example-image-wrapper {
    margin-bottom: clamp(1rem, 2vw, 2rem) !important;
}

body.mobile-only .example-gallery,
html.mobile-only .example-gallery {
    margin-bottom: 0 !important;
}

body.mobile-only .services-description,
html.mobile-only .services-description {
    margin-bottom: clamp(1rem, 2vw, 2rem) !important;
}

body.mobile-only .services-left,
html.mobile-only .services-left {
    margin-bottom: clamp(1rem, 2vw, 2rem) !important;
}

body.mobile-only .projects-grid,
html.mobile-only .projects-grid {
    margin-bottom: 0 !important;
}

