/* =========================================================================
   STYLE GUIDELINES & VARIABLES
   Company: ΣΚΟΤΩΡΗΣ | Wood Concept
   Pallete: Charcoal Grey, Warm Oak, Clean White
   Typography: Montserrat, Lato 
========================================================================= */
:root {
    /* Color Palette */
    --charcoal-grey: #2c2e30;
    --charcoal-dark: #1a1b1c;
    --warm-oak: #b08d6a;
    --warm-oak-light: #d1b498;
    --warm-oak-dark: #8c6d4e;
    --clean-white: #ffffff;
    --off-white: #f8f9fa;
    --light-grey: #e9ecef;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing & Utilities */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 4px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* =========================================================================
   RESET & BASE STYLES
========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--clean-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--charcoal-dark);
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Container & Sections */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--off-white);
}

.border-top {
    border-top: 1px solid var(--light-grey);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    color: var(--warm-oak);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--warm-oak);
    margin: 20px auto 0;
}

/* =========================================================================
   BUTTONS
========================================================================= */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--warm-oak);
    color: var(--clean-white);
}

.btn-primary:hover {
    background-color: var(--charcoal-dark);
    color: var(--clean-white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clean-white);
    color: var(--clean-white);
}

.btn-outline:hover {
    background-color: var(--clean-white);
    color: var(--charcoal-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================================================
   NAVIGATION (NAVBAR)
========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--clean-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    color: var(--clean-white);
    z-index: 1001;
    /* For mobile menu */
}

.brand-logo {
    width: 65px;
    height: 65px;
    margin-top: 12px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    transition: var(--transition);
}

.navbar.scrolled .brand-logo {
    /* Turn the white pixels black when the navbar turns white */
    filter: invert(1) brightness(0);
}

.navbar.scrolled .logo {
    color: var(--charcoal-dark);
}

.logo-name {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-divider {
    color: var(--warm-oak);
    margin: 0 10px;
    font-weight: 300;
    font-size: 1.5rem;
}

.logo-sub {
    font-weight: 300;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--clean-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
    padding: 2px 5px;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 700;
}

.lang-divider {
    color: var(--clean-white);
    opacity: 0.3;
    font-size: 0.8rem;
}

/* Scrolled Navbar Lang Switcher */
.navbar.scrolled .lang-btn,
.navbar.scrolled .lang-divider {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clean-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.navbar.scrolled .nav-links a {
    color: var(--charcoal-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--warm-oak);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.navbar.scrolled .nav-links a:hover {
    color: var(--warm-oak);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--clean-white);
}

.navbar.scrolled .hamburger .bar {
    background-color: var(--charcoal-dark);
}

/* =========================================================================
   HERO SECTION
========================================================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg-custom-2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    animation: zoomIn 20s ease-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 27, 28, 0.8) 0%, rgba(26, 27, 28, 0.5) 50%, rgba(26, 27, 28, 0.3) 100%);
}

.hero-content {
    text-align: center;
    color: var(--clean-white);
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    color: var(--clean-white);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-light {
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--off-white);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--clean-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.scroll-down:hover {
    color: var(--warm-oak);
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* =========================================================================
   PORTFOLIO / SHOWCASE GALLERY
========================================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 400px;
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item::after,
.masonry-item::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 30%;
    height: 13%;
    max-width: 350px;
    max-height: 135px;
    background-image: url('assets/watermark-cropped.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    z-index: 15;
    opacity: 0.8;
    pointer-events: none;
    /* Invert colors to white since it is on top of dark images/overlays */
    filter: invert(1) brightness(2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 27, 28, 0.9) 0%, rgba(26, 27, 28, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: var(--transition);
}

.gallery-content h3 {
    color: var(--clean-white);
    font-size: 1.75rem;
    margin-bottom: 10px;
    transform: translateY(0);
    transition: var(--transition);
}

.gallery-content p {
    color: var(--off-white);
    margin-bottom: 15px;
    opacity: 0.8;
}

.view-more {
    font-family: var(--font-heading);
    color: var(--warm-oak);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(26, 27, 28, 0.95) 0%, rgba(26, 27, 28, 0.5) 100%);
}

.gallery-item:hover .gallery-content h3 {
    transform: translateY(-5px);
}

.gallery-item:hover .view-more {
    opacity: 1;
    transform: translateY(0);
}

/* Make some items larger for visual interest (Masonry-like) */
.gallery-grid .gallery-item:nth-child(1),
.gallery-grid .gallery-item:nth-child(4) {
    grid-column: span 1;
}

/* =========================================================================
   ABOUT US SECTION
========================================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    gap: 40px;
    align-items: center;
}

.about-content strong {
    color: var(--charcoal-dark);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--warm-oak);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--charcoal-dark);
}

.about-image-wrapper {
    position: relative;
    height: 500px;
}

.about-image {
    position: absolute;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.img-front {
    width: 75%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 10px solid var(--off-white);
}

.img-back {
    width: 70%;
    top: 0;
    right: 0;
    z-index: 1;
}

/* =========================================================================
   SERVICES SECTION
========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--clean-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-grey);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--warm-oak-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--warm-oak);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--warm-oak);
    color: var(--clean-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================================================
   CONTACT SECTION
========================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-oak);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    font-family: var(--font-heading);
    color: var(--charcoal-dark);
    margin-bottom: 5px;
}

/* Forms */
.contact-form {
    background-color: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group.row {
    display: flex;
    gap: 20px;
}

.form-group.row .col {
    flex: 1;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--warm-oak);
    transition: var(--transition);
}

.form-group input:focus~.input-focus-line,
.form-group textarea:focus~.input-focus-line {
    width: 100%;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* =========================================================================
   FOOTER
========================================================================= */
.footer {
    background-color: var(--charcoal-dark);
    color: var(--clean-white);
    padding-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #a0a0a0;
    margin-top: 20px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--clean-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--warm-oak);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: var(--clean-white);
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul a {
    color: #a0a0a0;
}

.footer-links ul a:hover {
    color: var(--warm-oak);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: #888;
    font-size: 0.875rem;
}

/* =========================================================================
   MEDIA QUERIES (MOBILE RESPONSIVE)
========================================================================= */
@media screen and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    /* Inline Mobile Navbar configuration */
    .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
        flex: 0 1 auto;
        justify-content: flex-start;
        margin-bottom: 0px;
        gap: 4px; /* Tighter gap */
    }
    
    .brand-logo {
        width: 30px;
        height: 30px;
        margin-top: 3px;
    }
    
    .logo-name {
        font-size: 0.9rem; /* Reduced to fit */
    }
    
    .logo-divider {
        margin: 0 4px;
        font-size: 0.9rem;
    }
    
    .logo-sub {
        font-size: 0.65rem; /* Reduced to fit */
    }

    .lang-switcher {
        order: 2;
        flex: 0 1 auto;
        margin-left: auto; /* Push specifically to the right edge */
        gap: 4px;
    }

    .lang-btn {
        padding: 5px 8px; /* Slightly tighter padding to save horizontal space */
        font-size: 0.8rem;
    }

    /* Navbar Categories on second line */
    .nav-links {
        order: 3;
        position: static;
        flex-direction: row;
        flex-wrap: nowrap; /* Force one line */
        background-color: transparent;
        width: 100%;
        height: auto;
        justify-content: space-between; /* Space out evenly */
        align-items: center;
        gap: 4px;
        margin-top: 15px;
        transition: none; /* remove transition since it's always visible */
    }

    .nav-links.active {
        /* obsolete, but keeps script safe */
        left: unset;
    }

    .nav-links a {
        padding: 4px 0px;
        width: auto;
        text-align: center;
        font-size: 0.72rem; /* Reduced to fit on one line */
        white-space: nowrap; /* Prevent individual text wraps */
    }

    .nav-links a::after {
        display: none;
    }

    .hamburger {
        display: none !important;
    }

    .about-grid,
    .contact-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        height: auto;
        min-height: 350px;
        margin-top: 30px;
        margin-bottom: 0;
        /* order: -1; removed so image appears below text */
    }

    .img-back {
        width: 90%;
        position: relative;
        display: block;
        margin-left: auto;
    }

    .img-front {
        width: 85%;
        position: absolute;
        bottom: -20px;
        left: 0;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .form-group.row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.row .col {
        margin-bottom: 25px;
    }

    .form-group input,
    .form-group textarea {
        padding: 16px 0;
        font-size: 16px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-links {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .social-links a {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   FORM VALIDATION & EMAIL PREVIEW MODAL
   ========================================================================= */

/* Error styling */
.form-group.has-error label {
    color: #ef4444 !important;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-bottom: 2px solid #ef4444 !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    font-family: var(--font-body);
}

/* Check status styles */
.email-check-status {
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
}

.email-check-status.loading {
    color: #6c757d;
}

.email-check-status.valid {
    color: #10b981;
}

.email-check-status.invalid {
    color: #ef4444;
}

/* Success highlight */
.form-group.has-success input {
    border-bottom: 2px solid #10b981 !important;
}

/* Global warning/error toast */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ef4444;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    background-color: #10b981;
}

/* Simulated Email Modal */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(26, 27, 28, 0.65);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.email-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.email-modal-container {
    width: 100%;
    max-width: 650px;
    background-color: var(--clean-white);
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-grey);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.email-modal.active .email-modal-container {
    transform: scale(1);
}

/* Email Client OS-like Bar */
.email-modal-header {
    background-color: var(--light-grey);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dcdcdc;
    user-select: none;
}

.email-modal-dots {
    display: flex;
    gap: 8px;
}

.email-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.email-dot.red { background-color: #ff5f56; }
.email-dot.yellow { background-color: #ffbd2e; }
.email-dot.green { background-color: #27c93f; }

.email-modal-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Email Fields Info */
.email-modal-fields {
    background-color: var(--off-white);
    padding: 20px;
    border-bottom: 1px solid var(--light-grey);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.email-field-row {
    display: flex;
}

.email-field-label {
    width: 80px;
    color: var(--text-secondary);
    font-weight: 700;
}

.email-field-value {
    color: var(--text-primary);
}

/* Email Content Sheet */
.email-modal-body {
    padding: 30px 20px;
    background-color: var(--clean-white);
    min-height: 220px;
    max-height: 40vh;
    overflow-y: auto;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-line;
}

/* Email Modal Footer */
.email-modal-footer {
    background-color: var(--off-white);
    padding: 20px;
    border-top: 1px solid var(--light-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.email-status-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
    font-family: var(--font-heading);
}

.email-modal-actions {
    display: flex;
    gap: 10px;
}

.btn-email-action {
    padding: 10px 18px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-email-action.send {
    background-color: var(--warm-oak);
    color: var(--clean-white);
}

.btn-email-action.send:hover {
    background-color: var(--warm-oak-dark);
}

.btn-email-action.close {
    background-color: var(--light-grey);
    color: var(--text-primary);
}

.btn-email-action.close:hover {
    background-color: #dcdcdc;
}