/* ===========================
   Project Bobbins
   Crafted with Care
=========================== */

:root {
    --white: #ffffff;
    --ivory: #FAF8F4;
    --text: #2f2f2f;
    --body-text: #555555;
    --blue: #2d5f8b;
    --blue-dark: #1b4d73;
    --brown: #8b6b5a;
    --brown-dark: #2c1810;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background: #ffffff;
    color: #333;
}

/* ==========================
   Navigation
=========================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    border-bottom: 1px solid #ececec;
}

.logo {
    width: 100px;
}

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

.nav-links a {
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;
    color: #333;
    font-size: 1.8rem;
}

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

/* ==========================
   Hero
=========================== */

.hero {
    text-align: center;
}

.hero-image {
    width: 100%;
    height: 50%;
    display: block;
}

.hero-content {
    padding: 60px 20px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.tagline {
    font-size: 1.5rem;
    font-style: italic;
    color: #1b4d73;
    margin-bottom: 40px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================
   Buttons
=========================== */

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: var(--brown);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--brown-dark);
    color: #ffffff;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--brown);
    border: 2px solid var(--brown);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--brown);
    color: #ffffff;
}

/* ==========================
   Welcome Section
=========================== */

.welcome {
    background-color: #FAF8F4;
    padding: 50px 20px;
    text-align: center;
}

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

.welcome h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 35px;
}

.welcome p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

.welcome p:last-child {
    margin-bottom: 30px;
}

/* ==========================
   Services
=========================== */

.services {
    background: #ffffff;
    padding: 40px 20px;
}

.service {
    display: flex;
    flex-direction: column;
}

.services h2 {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 70px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2d5f8b;
    margin-bottom: 20px;
}

.service p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service a {
    color: var(--blue);
    transition: color 0.25s ease;
}

.service a:hover {
    color: var(--blue-dark);
}

/* ==========================
   Step Inside Mary Bobbins
=========================== */

.inside {
    background: #FAF8F4;
    padding: 60px 20px 20px;
}

.inside h2 {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 20px;
}

.inside-intro {
    max-width: 750px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}

.inside-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.inside-item {
    padding-bottom: 60px;
}

.inside-item img {
    width: 100%;
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
}

.inside-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #2f2f2f;
    margin-bottom: 15px;
}

.inside-item p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.cta-content {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: stretch;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
}

.cta-map {
    flex: 1;
}

.cta-map iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    border-radius: 10px;
}

/* ==========================
   Visit Us
=========================== */

.cta {
    background: #ffffff;
    padding: 80px 20px;
}

.cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2f2f2f;
}

.cta h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 10px;
}

.cta-tagline {
    font-style: italic;
    color: #2d5f8b;
    margin-top: 10px;
}

.contact-details p,
.opening-hours p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #555;
    text-align: left;
}

.contact-details a {
    color: #2d5f8b;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* ==========================
   Footer
=========================== */

.footer {
    background: #FAF8F4;
    border-top: 1px solid #e6e1d8;
    padding: 40px 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #2f2f2f;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: #2d5f8b;
}

.copyright {
    font-size: 0.95rem;
    color: #777;
    margin: 0;
}

/* ==========================
   Page Hero (Used on About, Alterations, Haberdashery, Contact, Shop)
=========================== */

.page-hero {
    background: #f7f3ee;
    padding: 80px 20px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 10px;
}

.page-hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    color: #5a3e36;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================
   About Page - Our Story
=========================== */

.story {
    background-color: #FAF8F4;
    padding: 10px 5px 10px;
    text-align: center;
}

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

.story h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #2F3A3F;
    margin-bottom: 30px;
}

.story p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

/* ==========================
   About Page - Crafted with Care
=========================== */

.crafted {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.crafted-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.crafted-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.crafted-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #2F3A3F;
    margin-bottom: 25px;
}

.crafted-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

/* ==========================
   Community / CTA Section
=========================== */

.community {
    background: #f7f3ee;
    padding: 80px 20px;
    text-align: center;
}

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

.community h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #2c1810;
    margin-bottom: 25px;
}

.community p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #5a3e36;
    line-height: 1.8;
    margin-bottom: 35px;
}

.community-button {
    text-align: center;
}

.community-button .btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: var(--brown);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.community-button .btn-primary:hover {
    background: var(--brown-dark);
}

/* ==========================
   Contact Page Styles
=========================== */

.contact-section {
    padding: 60px 20px;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(139, 107, 90, 0.1);
}

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

.contact-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--brown);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #2c1810;
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: var(--brown);
    text-decoration: none;
    font-weight: 600;
}

.info-item a:hover {
    color: var(--brown-dark);
    text-decoration: underline;
}

.contact-buttons {
    margin-top: 30px;
}

.contact-buttons .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--brown);
    border: 2px solid var(--brown);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-buttons .btn-secondary:hover {
    background: var(--brown);
    color: #ffffff;
}

/* ==========================
   Haberdashery Page Styles
=========================== */

.section-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #5a3e36;
    max-width: 750px;
    margin: 0 auto 50px auto;
    text-align: center;
    line-height: 1.7;
}

.haberdashery-section {
    padding: 60px 20px;
    background: #ffffff;
}

.haberdashery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.haberdashery-item {
    background: #faf8f6;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.haberdashery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 24, 16, 0.1);
}

.haberdashery-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0ebe6;
}

.haberdashery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.haberdashery-item:hover .haberdashery-image img {
    transform: scale(1.05);
}

.haberdashery-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c1810;
    margin: 18px 15px 10px 15px;
}

.haberdashery-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #5a3e36;
    line-height: 1.6;
    margin: 0 15px 15px 15px;
}

.stock-note {
    max-width: 750px;
    margin: 50px auto 0 auto;
    padding: 25px 30px;
    background: #f7f3ee;
    border-radius: 8px;
    text-align: center;
}

.stock-note p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #5a3e36;
    margin: 0;
    line-height: 1.6;
}

.stock-note em {
    font-style: italic;
    color: var(--brown);
}

/* ==========================
   Shop Page Styles
=========================== */

.shop-gallery-section {
    padding: 60px 20px;
    background: #ffffff;
}

.shop-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.shop-item {
    background: #faf8f6;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 25px;
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 24, 16, 0.1);
}

.shop-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0ebe6;
}

.shop-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.shop-item:hover .shop-item-image img {
    transform: scale(1.05);
}

.shop-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c1810;
    margin: 18px 15px 8px 15px;
}

.shop-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #5a3e36;
    line-height: 1.6;
    margin: 0 15px 15px 15px;
}

.shop-item .btn-secondary {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: var(--brown);
    border: 2px solid var(--brown);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-item .btn-secondary:hover {
    background: var(--brown);
    color: #ffffff;
}

.shop-cta {
    text-align: center;
    margin-top: 10px;
}

/* ==========================
   Responsive Design
=========================== */

/* Tablets */
@media (max-width: 992px) {
    .navbar {
        padding: 18px 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    .nav-links a {
        font-size: 1.4rem;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .inside-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .crafted-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-map iframe {
        min-height: 350px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .haberdashery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .shop-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        display: block;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .welcome h2 {
        font-size: 2.2rem;
    }

    .welcome p {
        font-size: 1rem;
    }

    .services h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service h3 {
        font-size: 1.6rem;
    }

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

    .inside h2 {
        font-size: 2.2rem;
    }

    .inside-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .inside-item {
        padding-bottom: 30px;
    }

    .inside-item h3 {
        font-size: 1.5rem;
    }

    .inside-item p {
        font-size: 0.95rem;
    }

    .cta {
        padding: 50px 15px;
    }

    .cta h2 {
        font-size: 2.2rem;
    }

    .cta h3 {
        font-size: 1.5rem;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-info {
        gap: 20px;
    }

    .cta-map iframe {
        min-height: 280px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .footer-nav {
        gap: 15px;
    }

    .footer-nav a {
        font-size: 1.1rem;
    }

    .page-hero {
        padding: 50px 20px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .story h2 {
        font-size: 2rem;
    }

    .crafted-content h2 {
        font-size: 2rem;
    }

    .community h2 {
        font-size: 2rem;
    }

    .community p {
        font-size: 1rem;
    }

    .community-button .btn-primary {
        display: block;
        text-align: center;
        padding: 14px 20px;
    }

    .contact-section {
        padding: 40px 15px;
    }

    .contact-form h2,
    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .contact-buttons .btn-secondary {
        display: block;
        text-align: center;
    }

    .haberdashery-section {
        padding: 40px 15px;
    }

    .haberdashery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .haberdashery-image {
        height: 180px;
    }

    .haberdashery-item h3 {
        font-size: 1.2rem;
    }

    .stock-note {
        margin: 30px 10px 0 10px;
        padding: 20px;
    }

    .shop-gallery-section {
        padding: 40px 15px;
    }

    .shop-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-item-image {
        height: 180px;
    }

    .shop-item h3 {
        font-size: 1.1rem;
    }

    .shop-cta .btn-primary {
        display: block;
        text-align: center;
        padding: 14px 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }

    .logo {
        width: 70px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .welcome h2 {
        font-size: 1.8rem;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .inside h2 {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .community h2 {
        font-size: 1.8rem;
    }
}