/* 
   Support Local Page Styles
   Penkey Délicaf & Gifts
   Warm, rustic café aesthetic with natural colors
*/

/* Hero Section */
.support-hero {
    background: linear-gradient(135deg, var(--penkey-cream) 0%, #f8f3e8 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(231, 143, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(47, 62, 62, 0.05) 0%, transparent 50%);
}

.support-hero .hero-content {
    position: relative;
    z-index: 2;
}

.support-hero h1 {
    font-size: 3.5rem;
    color: var(--penkey-navy);
    margin-bottom: 1rem;
    font-weight: 800;
}

.support-hero p {
    font-size: 1.5rem;
    color: var(--penkey-orange);
    font-weight: 600;
    margin-bottom: 0;
}

/* Intro Section */
.support-intro {
    padding: 4rem 0;
    background: var(--penkey-light);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.intro-content h2 {
    color: var(--penkey-orange);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--penkey-light);
    margin-bottom: 0;
}

/* Suppliers Section */
.suppliers-section {
    padding: 5rem 0;
    background: #ffffff; /* White background as requested */
    color: var(--penkey-navy);
}

.suppliers-section h2 {
    text-align: center;
    color: var(--penkey-orange);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: stretch; /* Ensure grid items stretch for equal card heights */
}

.supplier-card {
    background: var(--penkey-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(231, 143, 36, 0.2);
    height: 100%; /* Equal card heights */
    display: flex;
    flex-direction: column;
}

.supplier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.supplier-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%; /* Allow link wrapper to fill grid cell */
}

.supplier-link:hover .supplier-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.supplier-link:hover .supplier-content h3 {
    color: var(--penkey-orange);
}

.supplier-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--penkey-cream), #f0e6d2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.supplier-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.supplier-image:empty::before {
    content: '🏪';
    font-size: 3rem;
    opacity: 0.3;
}

.supplier-content h3 {
    color: var(--penkey-navy);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Make content area flex to push description, ensuring consistent spacing */
.supplier-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.supplier-location {
    color: var(--penkey-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.supplier-content p {
    color: var(--penkey-navy);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Makers Section */
.makers-section {
    padding: 5rem 0;
    background: var(--penkey-cream);
    color: var(--penkey-navy);
}

.makers-section h2 {
    text-align: center;
    color: var(--penkey-navy);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.makers-section > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--penkey-navy);
}

.makers-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.maker-placeholder {
    background: linear-gradient(135deg, var(--penkey-cream), #f8f3e8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed rgba(231, 143, 36, 0.3);
    transition: all 0.3s ease;
}

.maker-placeholder:hover {
    border-color: var(--penkey-orange);
    background: linear-gradient(135deg, #fef5e7, #faebd7);
}

.placeholder-icon {
    font-size: 2.5rem;
    color: var(--penkey-orange);
    margin-bottom: 1rem;
}

.maker-placeholder p {
    color: var(--penkey-navy);
    font-weight: 600;
    margin: 0;
}

.makers-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--penkey-navy);
    opacity: 0.8;
}

/* Why Local Section - Darker for contrast */
.why-local-section {
    padding: 5rem 0;
    background: var(--penkey-dark);
    color: white;
}

.why-local-section h2 {
    text-align: center;
    color: var(--penkey-orange);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.benefit-item {
    background: var(--penkey-navy);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(231, 143, 36, 0.2);
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--penkey-orange);
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    color: var(--penkey-orange);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--penkey-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.closing-message {
    text-align: center;
    margin-top: 3rem;
}

.closing-message p {
    font-size: 1.5rem;
    color: var(--penkey-light);
    font-weight: 700;
    margin: 0;
}

/* Responsive Design */
/* Tablet Styles */
@media (max-width: 1024px) {
    .suppliers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .makers-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .local-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .makers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape Styles */
@media (max-width: 768px) {
    .support-hero h1 {
        font-size: 2.5rem;
    }
    
    .support-hero p {
        font-size: 1.2rem;
    }
    
    .suppliers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .makers-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .supplier-card,
    .benefit-item {
        padding: 1.5rem;
    }
    
    .local-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .makers-grid {
        grid-template-columns: 1fr;
    }
    
    .maker-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Adjust hero buttons for mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Improve spacing on mobile */
    .suppliers-section, 
    .makers-section, 
    .why-local-section {
        padding: 3rem 0;
    }
    
    /* Make supplier cards more compact */
    .supplier-image {
        height: 180px;
    }
    
    /* Adjust benefit cards */
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Mobile Portrait Styles */
@media (max-width: 480px) {
    .support-hero {
        padding: 4rem 0 3rem;
    }
    
    .support-hero h1 {
        font-size: 2rem;
    }
    
    .intro-content {
        padding: 0 1rem;
    }
    
    .intro-content h2 {
        font-size: 1.8rem;
    }
    
    .suppliers-section h2,
    .makers-section h2,
    .why-local-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Further compact supplier cards */
    .supplier-image {
        height: 160px;
    }
    
    .supplier-content h3 {
        font-size: 1.3rem;
    }
    
    /* Adjust maker cards */
    .maker-image {
        height: 200px;
    }
    
    /* Make benefit cards more compact */
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    /* Adjust section spacing */
    .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .closing-message p {
        font-size: 1.2rem;
    }
    
    /* Add padding to container for better mobile spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Subtle Dividers */
.suppliers-section,
.makers-section,
.why-local-section {
    position: relative;
}

.suppliers-section::before,
.makers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--penkey-orange), transparent);
    opacity: 0.3;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
