:root {
    --primary-color: #ffffff;
    --accent-color: #d4af37;
    /* золотой */
    --secondary-color: #f8f5f0;
    --text-color: #333333;
    --dark-accent: #262626;
    --light-accent: #f9f6f0;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent-color);
    margin-left: 5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--light-accent);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/back.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-color);
}

h1 span {
    color: var(--accent-color);
    font-weight: 400;
}

.subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition);
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 20px;
    border: 1px solid var(--accent-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* About Section */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

h2 {
    font-size: 36px;
    font-weight: 300;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
}

.section-subtitle {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    padding: 0 20px;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 600px;
    position: relative;
    margin: 20px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--light-accent);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote::before,
.quote::after {
    content: '"';
    color: var(--accent-color);
    font-size: 40px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 400;
}

/* Companions Section */
.companions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.companion-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 0;
}

.companion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.companion-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.companion-card:hover .companion-info {
    transform: translateY(0);
}

.companion-card:hover .companion-img {
    transform: scale(1.05);
}

.companion-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.companion-desc {
    font-size: 14px;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background-color: var(--dark-accent);
    color: var(--primary-color);
}

.contact h2::after {
    background-color: var(--primary-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    font-family: inherit;
    font-size: 16px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--primary-color);
    text-align: center;
    padding: 30px 0;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--primary-color);
    margin: 0 15px;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .about-text,
    .about-image {
        flex: 100%;
    }

    h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }

    .benefit-card {
        padding: 20px;
    }

    .companion-card {
        height: 300px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }
}


/* Services Section Styles */
.services {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--light-accent);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    flex: 0 0 80px;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon .icon {
    font-size: 32px;
}

.service-content {
    flex: 1;
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--text-color);
}

.service-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 15px;
    color: var(--text-color);
}

.service-features li:first-child {
    border-top: none;
}

.services-note {
    background-color: var(--light-accent);
    padding: 40px;
    margin-top: 60px;
    text-align: center;
    box-shadow: var(--shadow);
}

.note-content {
    max-width: 700px;
    margin: 0 auto;
}

.note-content h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

.note-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {
    .services {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-intro {
        font-size: 16px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    .service-content p {
        font-size: 15px;
    }

    .services-note {
        padding: 30px 20px;
    }

    .note-content h3 {
        font-size: 22px;
    }

    .note-content p {
        font-size: 16px;
    }
}