/* ===== CSS Variables ===== */
:root {
    --primary-green: #7ab38a;
    --primary-green-hover: #5d9a6d;
    --primary-teal: #2ab3b1;
    --primary-teal-hover: #3cc5c3;
    --dark-green: #2d5a3d;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-cream: #fdfdf9;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Eemalda focus outline linkidelt */
a:focus,
button:focus,
section:focus {
    outline: none;
}

/* ===== Navigation ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 3rem;
    height: 70px;
    box-sizing: border-box;
    background: transparent;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-fb-btn-new {
    position: absolute;
    right: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-fb-btn-new:hover {
    transform: scale(1.1);
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.75rem 3rem;
    height: 70px;
}

.main-nav.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 4rem;
}

.nav-links a {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
    pointer-events: none;
}

.sound-toggle {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.sound-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.sound-toggle:active {
    transform: scale(1.05);
}

.sound-icon {
    color: var(--primary-green);
    pointer-events: none;
}

/* ===== Floating Facebook Button ===== */
.floating-fb-btn {
    position: fixed;
    bottom: 190px;
    right: 30px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #1877f2;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
    transition: var(--transition);
}

.floating-fb-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(24, 119, 242, 0.6);
    background: #1665d8;
}

.floating-fb-btn:active {
    transform: scale(1.05);
}

/* Fallback background if video doesn't load */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* New Hero Styles */
.hero-title-new {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: clamp(0.4rem, 2vw, 1rem);
    color: #4a5568;
    text-transform: uppercase;
    margin-bottom: 0;
    text-align: center;
    padding: 0 1rem;
}

.hero-subtitle-new {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    font-style: italic;
    color: #718096;
    letter-spacing: clamp(0.2rem, 0.8vw, 0.5rem);
    margin-bottom: 2rem;
    margin-top: 0.25rem;
    text-align: right;
    width: 100%;
    max-width: 850px;
    padding-right: 0;
}

.hero-logo-container {
    margin-bottom: 2rem;
}

.hero-logo {
    width: clamp(150px, 40vw, 320px);
    height: auto;
}

.cta-button-new {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #94a3b8;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button-new:hover {
    background-color: #a8b5c4;
}

/* New Footer Styles */
.footer-center-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}

.footer-area-new {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.15rem;
    color: #4a5568;
}

.footer-divider {
    margin: 0 0.5rem;
    color: #718096;
}

.hero-title {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.3rem;
    color: var(--text-light);
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.subtitle-text {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.1rem;
    align-self: flex-end;
    padding-right: clamp(0rem, 2vw, 2rem);
}

.service-description {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.5rem;
    color: var(--text-light);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary-green);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(122, 179, 138, 0.4);
}

.cta-button:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(122, 179, 138, 0.5);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

.cta-button.white {
    background-color: var(--text-light);
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.cta-button.white:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
    box-shadow: 0 6px 25px rgba(122, 179, 138, 0.5);
}

/* ===== Hero Footer ===== */
.hero-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 2rem 3rem;
    background: transparent;
    color: #4a5568;
    font-size: 0.95rem;
    z-index: 1;
    pointer-events: none;
}

.hero-footer a {
    pointer-events: auto;
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
    align-items: center;
}

.footer-right {
    text-align: right;
    align-items: flex-end;
}

.footer-company {
    font-weight: 400;
    font-size: 1rem;
}

.footer-legal {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-contact a,
.footer-email a {
    color: #4a5568;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover,
.footer-email a:hover {
    color: var(--primary-green);
}

.footer-area-title {
    font-weight: 400;
    font-size: 1rem;
}

.footer-area {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== Sections Base ===== */
.section {
    padding: 6rem 2rem;
    min-height: auto;
    box-sizing: border-box;
}

/* Teenused section */
.teenused {
    background-color: var(--bg-light);
}

/* Meist section */
.meist {
    background-color: var(--bg-cream);
}

/* Blogi section */  
.blogi {
    background-color: var(--bg-light);
}

/* Kontakt section */
.kontakt {
    background-color: var(--bg-cream);
}

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

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===== Teenused Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--text-light);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: justify;
    text-align-last: center;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    letter-spacing: normal !important;
    text-shadow: none !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: -0.05em;
}

.service-description * {
    font-family: inherit;
    letter-spacing: normal !important;
    text-shadow: none !important;
    line-height: 1.6 !important;
}

.service-description p,
.service-description div {
    margin-bottom: 0.5rem;
    color: #666;
    letter-spacing: normal !important;
    line-height: 1.6 !important;
}

/* Viimane lõik ilma alumise marginita */
.service-description p:last-child,
.service-description div:last-child {
    margin-bottom: 0;
}

.service-description br {
    line-height: 1.6;
}

.service-description strong,
.service-description b {
    font-weight: 700;
    color: #555;
}

.service-description em,
.service-description i {
    font-style: italic;
}

.service-description u {
    text-decoration: underline;
}

/* Eemalda igasugused punased/värvilised tekstid ja vormingud */
.service-description font,
.service-description span {
    color: #666 !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    line-height: 1.6 !important;
}

.service-description ul {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
    text-align: left;
    display: inline-block;
}

.service-description li {
    margin-bottom: 0.25rem;
}

/* Peidame hinna kastid */
.price, .price-button {
    display: none !important;
}

.price {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-green);
    color: var(--text-light);
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

.price-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--text-light);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.price-button:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

.teenused .cta-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.teenused .cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    box-shadow: none;
}

.teenused .cta-button.secondary:hover {
    background-color: var(--primary-teal-hover);
    border-color: var(--primary-teal-hover);
    color: var(--text-light);
}

/* ===== Meist Section ===== */
.meist {
    background-color: var(--bg-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text .section-title {
    text-align: left;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--primary-teal);
    font-weight: bold;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a88 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.about-uploaded-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    object-fit: contain;
}

/* ===== Blogi Section ===== */
.blogi {
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, #e0e5ec 0%, #f8f9fa 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary-teal);
    font-weight: 500;
}

.blog-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0.75rem 0;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-teal);
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-link:hover {
    color: var(--primary-teal-hover);
}

/* ===== Blog Modal ===== */
.blog-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.blog-modal.active {
    display: block;
}

.blog-modal-content {
    background-color: var(--bg-cream);
    margin: 5% auto;
    padding: 0;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideDown 0.4s ease;
}

.blog-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.blog-modal-close:hover {
    background-color: var(--bg-light);
    color: var(--primary-teal);
}

.blog-modal-body {
    padding: 3rem;
}

.blog-modal-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.blog-modal-body h3 {
    color: var(--primary-teal);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-modal-body .blog-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.blog-modal-body p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-modal-body ul,
.blog-modal-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.blog-modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.blog-modal-body strong {
    color: var(--dark-green);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Kontakt Section ===== */
.kontakt {
    background-color: var(--bg-cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e5ec;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fafbfc;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--text-light);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox and Radio Button Styles */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group.vertical {
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #fafbfc;
    border: 2px solid #e0e5ec;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.checkmark.checkbox {
    border-radius: 4px;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-teal);
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label .checkmark.checkbox:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
}

.conditional-field {
    margin-left: 30px;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--primary-teal);
}

.conditional-field input {
    margin-top: 0;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Contact Form Button */
.contact-form .cta-button {
    width: 100%;
    padding: 1rem 2rem;
}

.contact-form .cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    box-shadow: none;
}

.contact-form .cta-button.secondary:hover {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--text-light);
}

.contact-details {
    position: sticky;
    top: 100px;
}

.contact-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
}

/* Simple contact card style */
.contact-card-simple {
    text-align: left;
}

.contact-simple-content {
    line-height: 1.8;
}

.contact-simple-content p {
    margin: 0.25rem 0;
    color: #333;
    font-size: 0.95rem;
}

.contact-simple-content .contact-brand {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-simple-content .contact-company {
    margin-top: 0.5rem;
}

.contact-simple-content .contact-phone {
    margin-top: 0.75rem;
}

.contact-simple-content a {
    color: #333;
    text-decoration: none;
}

.contact-simple-content a:hover {
    color: var(--primary-teal);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
    width: 24px;
    min-width: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item .icon.fb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-muted);
}

.contact-item a {
    color: var(--primary-green);
}

.contact-item a:hover {
    color: var(--primary-green-hover);
}

.contact-item a.teal-link {
    color: var(--primary-teal);
}

.contact-item a.teal-link:hover {
    color: var(--primary-teal-hover);
}

.contact-item .teal-text {
    color: var(--primary-teal);
}

.contact-item a[href^="tel"] {
    color: var(--primary-teal);
    text-decoration: none;
}

.contact-item a[href^="tel"]:hover {
    color: var(--primary-teal-hover);
}

/* ===== Main Footer ===== */
.main-footer {
    background-color: #d8dde3;
    color: var(--text-dark);
    padding: 3rem 2rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Responsive Design ===== */
/* ===== Desktop only - scroll fix ===== */
@media (min-width: 769px) {
    #teenused,
    #meist,
    #blogi,
    #kontakt {
        scroll-margin-top: 90px;
    }
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .image-placeholder {
        width: 280px;
        height: 280px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-details {
        position: static;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-logo-img {
        height: 40px;
        width: 40px;
    }

    .nav-fb-btn {
        position: static;
        width: 24px;
        height: 24px;
        order: 3;
    }

    .nav-fb-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .nav-fb-btn-new {
        position: static;
        order: 3;
        width: 24px;
        height: 24px;
    }
    
    .nav-fb-btn-new svg {
        width: 24px;
        height: 24px;
    }

    .nav-links {
        gap: 1rem;
        justify-content: center;
        width: 100%;
        order: 4;
        flex-wrap: wrap;
        padding: 0.5rem 0;
    }

    .nav-links a {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle-new {
        font-size: 1.3rem;
        text-align: right;
        align-self: flex-end;
        padding-right: 10%;
        margin-right: 0;
        max-width: 90%;
        margin-bottom: 2rem;
    }
    
    .hero-title-new {
        font-size: 1.1rem;
        letter-spacing: 0.25rem;
        margin-top: 0;
    }
    
    .hero-logo {
        width: 130px;
    }
    
    .hero-logo-container {
        margin-bottom: 2.5rem;
        margin-top: 1rem;
    }
    
    .cta-button-new {
        padding: 0.8rem 1.8rem;
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-content {
        margin-top: -3rem;
    }

    .hero-footer {
        padding: 0.75rem;
        text-align: center;
        position: absolute;
        bottom: 55px;
        left: 0;
        right: 0;
    }
    
    .footer-center-new {
        gap: 0.15rem;
    }
    
    .cta-button-new {
        padding: 0.8rem 1.8rem;
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .footer-center-new {
        gap: 0.2rem;
    }
    
    .footer-area-new {
        font-size: 0.85rem;
        letter-spacing: 0.1rem;
    }
    
    .footer-contact a,
    .footer-email a {
        font-size: 0.85rem;
    }

    .floating-fb-btn {
        display: none;
    }

    .blog-modal-content {
        margin: 10% 1rem;
        max-width: 100%;
    }

    .blog-modal-body {
        padding: 2rem 1.5rem;
    }

    .blog-modal-body h2 {
        font-size: 1.5rem;
    }

    .elegant-text {
        letter-spacing: 0.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .nav-logo-img {
        height: 35px;
        width: 35px;
    }
    
    .nav-fb-btn {
        width: 20px;
        height: 20px;
    }

    .nav-fb-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .nav-fb-btn-new {
        width: 20px;
        height: 20px;
    }
    
    .nav-fb-btn-new svg {
        width: 20px;
        height: 20px;
    }

    .hero-content {
        padding: 0.5rem;
        margin-top: -2rem;
    }
    
    .hero-title-new {
        font-size: 0.95rem;
        letter-spacing: 0.12rem;
        margin-top: 0;
    }
    
    .hero-subtitle-new {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        text-align: right;
        align-self: flex-end;
        padding-right: 8%;
        max-width: 85%;
    }
    
    .hero-logo {
        width: 110px;
    }
    
    .hero-logo-container {
        margin-bottom: 2rem;
        margin-top: 0.5rem;
    }
    
    .cta-button-new {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 0;
    }
    
    .hero-footer {
        bottom: 50px;
        padding: 0.5rem;
    }
    
    .footer-area-new {
        font-size: 0.75rem;
        letter-spacing: 0.05rem;
    }
    
    .footer-contact a,
    .footer-email a {
        font-size: 0.75rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle-text {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .sound-toggle {
        display: none;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-fb-btn {
        bottom: 155px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .floating-fb-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    padding: 1.5rem;
    display: none;
    animation: slideUp 0.4s ease;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h3 {
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-accept {
    background-color: var(--primary-green);
    color: white;
}

.cookie-accept:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
}

.cookie-decline {
    background-color: #e0e5ec;
    color: var(--text-dark);
}

.cookie-decline:hover {
    background-color: #d0d5dc;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ===== Väikese kõrgusega ekraanid (nt väikesed sülearvutid) ===== */
@media (max-height: 750px) {
    .hero-content {
        margin-top: -1rem;
        padding: 1rem;
    }
    
    .hero-title-new {
        font-size: clamp(1rem, 4vw, 2.5rem);
        margin-bottom: 0;
    }
    
    .hero-subtitle-new {
        font-size: clamp(1.2rem, 3.5vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-logo {
        width: clamp(100px, 25vw, 200px);
    }
    
    .hero-logo-container {
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }
    
    .cta-button-new {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-footer {
        position: relative;
        bottom: auto;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
    
    .footer-area-new {
        font-size: 0.8rem;
    }
    
    .footer-contact a,
    .footer-email a {
        font-size: 0.8rem;
    }
}

/* ===== Eriti väikese kõrgusega ekraanid ===== */
@media (max-height: 650px) {
    .hero-title-new {
        font-size: clamp(0.9rem, 3.5vw, 2rem);
    }
    
    .hero-subtitle-new {
        font-size: clamp(1rem, 3vw, 2rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-logo {
        width: clamp(80px, 20vw, 150px);
    }
    
    .hero-logo-container {
        margin-bottom: 0.75rem;
    }
    
    .cta-button-new {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }
    
    .footer-area-new,
    .footer-contact a,
    .footer-email a {
        font-size: 0.7rem;
    }
}

/* ===== Success/Error Modal ===== */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.success-modal.show {
    display: flex;
}

.success-modal-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), #3cc5c3);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.error-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.success-modal-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.success-modal-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-btn {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.success-btn:hover {
    background: var(--primary-teal-hover);
}
