/* Piltide stiilid */
.testimonial-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.testimonial-img:hover {
    transform: scale(1.02);
}

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

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #f9f3f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigatsioon */
header {
    background-color: #f0e6df;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #8c7b72;
    letter-spacing: 1px;
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #8c7b72;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d2a88f;
}

/* Hero sektsioon */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f0e6df;
    background-image: linear-gradient(to right, rgba(240, 230, 223, 0.9), rgba(240, 230, 223, 0.7));
    color: #4a4a4a;
    padding-top: 80px;
}

.hero-content {
    width: 50%;
    padding-left: 50px;
}

.hero-image {
    width: 50%;
    height: 100%;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #8c7b72;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #8c7b72;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #d2a88f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

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

button.btn {
    font-family: 'Cormorant Garamond', Georgia, serif;
    border: unset;
    display: inline-block;
    padding: 12px 28px;
    background-color: #d2a88f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

/* Teenused sektsioon */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8c7b72;
    font-weight: 300;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: auto;
    height: 400px;
    background-image: url('images/sidebar.jpg');
    background-size: cover;
/*    background-position: center; */
    border-radius: 4px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #8c7b72;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #6d6d6d;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #6d6d6d;
}

/* Tagasiside sektsioon */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    position: relative;
    padding: 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-top: 100px;
    /* Ruumi profiilipildile */
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-top: 50px;
    /* Ruumi ülaosas asuvale profiilipildile */
    margin-bottom: 20px;
    font-style: italic;
    color: #6d6d6d;
    position: relative;
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: #f0e6df;
    position: absolute;
    top: -40px;
    left: -15px;
    font-family: Georgia, serif;
    z-index: 0;
}

.testimonial-content::after {
    content: '"';
    font-size: 60px;
    color: #f0e6df;
    position: absolute;
    bottom: -70px;
    right: -15px;
    font-family: Georgia, serif;
    z-index: 0;
}

.testimonial-author {
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    color: #d2a88f;
    font-size: 1.1rem;
}

.testimonial-role {
    text-align: center;
    font-size: 0.9rem;
    color: #8c7b72;
    font-style: italic;
}

.quote-icons {
    text-align: center;
    margin-bottom: 10px;
}

.quote-icons i {
    color: #d2a88f;
    font-size: 24px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        margin-top: 80px;
    }

    .testimonial-avatar {
        width: 100px;
        height: 100px;
        top: -60px;
    }
}

/* Toote sektsioon */
.product {
    padding: 100px 0;
    background-color: #fff;
}

.product-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-image {
    flex: 1;
    height: 500px;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 2.2rem;
    color: #8c7b72;
    margin-bottom: 20px;
    font-weight: 300;
}

.product-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #6d6d6d;
}

.product-price {
    font-size: 1.5rem;
    color: #d2a88f;
    margin-bottom: 30px;
}

/* Kontakt sektsioon */
.contact {
    padding: 100px 0;
    background-color: #f9f3f0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #8c7b72;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #6d6d6d;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #8c7b72;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0d5ce;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    height: 150px;
}

/* Jalus */
footer {
    background-color: #f0e6df;
    padding: 30px 0;
    text-align: center;
    color: #8c7b72;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 10px;
    color: #8c7b72;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #d2a88f;
}

.copyright {
    font-size: 0.9rem;
}

/* Mobiilne vaade */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-content,
    .hero-image {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .hero-image {
        height: 350px;
        order: -1;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .product-container,
    .contact-container {
        flex-direction: column;
    }

    .about-image,
    .product-image {
        height: 300px;
        width: 100%;
    }

    .nav-links {
        display: none;
    }
}

/* Elegantne kuldne aktsent */
.gold-accent {
    color: #d2a88f;
    font-weight: 400;
}

/* Tagasiside kaartide stiilid */
.testimonial-card {
    background-color: #f9f3f0;
    border: 1px solid #e0d5ce;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}


.form-success {
    background-color: #e0f0e3;
    color: #2c7a41;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.form-error {
    background-color: #f9e1e1;
    color: #d44950;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.form-loading {
    background-color: #f5f5f5;
    color: #666;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* Scroll to top nupp */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #d2a88f;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #c09680;
    transform: translateY(-3px);
}

section#tagasiside {
    padding: 100px 0;
}

a {
    color: #d2a88e;
}

.contact-info a {
    text-decoration: none;
    color: #d2a88f;
    /* Gold-accent värv */
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #c09680;
    text-decoration: none;
}


.about-full-width {
    margin-top: 60px;
    width: 100%;
    background-color: #f9f3f0;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.full-width-title {
    font-size: 2rem;
    color: #8c7b72;
    margin-bottom: 30px;
    font-weight: 300;
    text-align: center;
}

.about-full-width p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #6d6d6d;
    line-height: 1.8;
}

.about-full-width p.text-center {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.cta-container {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .about-full-width {
        padding: 30px 20px;
    }

    .full-width-title {
        font-size: 1.7rem;
    }
}

h3.full-width-title {
    font-size: 1.8rem;
    color: #8c7b72;
    margin-bottom: 20px;
    font-weight: 300;
}