@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');

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

body {
    font-family: 'Newsreader', Georgia, serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

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

/* Header */
header {
    background: white;
    padding: 16px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    width: 80px;
    height: auto
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

nav a:hover {
    color: #333;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-secondary {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.btn-primary {
    background: #3B72C7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #3367d6;
}

/* Hero Section */
.hero {
    background: white;
    padding: 60px 0 80px;
}

.announcement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    border-radius: 24px;
    padding: 8px 16px 6px;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #5f6368;
    margin-bottom: 32px;
    max-width: 600px;
}

.btn-cta {
    background: #4285f4;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta:hover {
    background: #3367d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Content Sections */
.story,
.product-info {
    padding: 60px 0;
    background: white;
}

.story h2,
.product-info h2 {
    font-size: 32px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 24px;
}

.story p,
.product-info p {
    font-size: 16px;
    color: #5f6368;
    line-height: 1.7;
    max-width: 800px;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: white;
}

.contact-card {
    background: white;
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h2 {
    font-size: 14px;
    font-weight: 600;
    color: #5f6368;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-card h3 {
    font-size: 28px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 16px;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 20px;
    border-bottom: 1px solid #e8eaed;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 400;
    color: #202124;
    margin: 0;
}

.close {
    color: #5f6368;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #202124;
}

/* Form Styles */
#quote-form {
    padding: 24px 32px 32px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-size: 16px;
    color: #202124;
    background: white;
    font-family: 'Newsreader', Georgia, serif;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 8px;
}

/* Lathe Image Section */
.lathe-image {
    padding: 40px 0;
    background: white;
}

.lathe-img {
    width: 25%;
    max-width: 600px;
    margin: 0 auto;
    height: auto;
    display: block;
}

/* Video Section */
.video-section {
    background: white;
}

.wrapper {
    overflow: hidden;
    max-width: 100%;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    background: #000;
}

.frame-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    width: 300%;
    /* enlarge beyond browser width */
    left: -100%;
    /* center */
}

.frame-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-controls {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 10%;
    color: #333;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid #e8eaed;
    padding: 24px 0;
    margin-top: 60px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer span {
    color: #5f6368;
    font-size: 14px;
}

footer a {
    color: #4285f4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

footer a:hover {
    color: #3367d6;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 16px;
    }

    nav {
        gap: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .story,
    .product-info {
        padding: 40px 20px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .story h2,
    .product-info h2 {
        font-size: 24px;
    }

    .contact-card h3 {
        font-size: 24px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-header,
    #quote-form {
        padding: 20px;
    }

    footer .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}