/* Enhanced styles.css */
:root {
    --primary-color: #000000;
    --secondary-color: #fff0f9;
    --text-color: #000000;
    --border-color: #000000;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6; 
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: #ffffff;
}

.header { 
    background: white;
    border-bottom: 3px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    color: black;
    box-shadow: var(--box-shadow);
}

/* Logo responsive styling */
.header a {
    display: inline-block;
    max-width: 100%;
}

.logo {
    max-width: 280px;
    height: auto;
    transition: all 0.3s ease;
}

.header h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2.2rem;
    color: black;
}

.header p {
    margin: 0;
    font-size: 1.1rem;
    color: black;
}

.container { 
    max-width: 1000px; 
    margin: 20px auto;
    padding: 0 20px;
}

.product-section { 
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    /* Removed the top border that was here before */
}

.product-section h2 {
    color: black;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
    text-align: center;
}

.product-image {
    text-align: center;
    margin: 20px 0;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.02);
}

.product-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: black;
    text-align: center;
}

section h3 {
    color: black;
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
    text-align: center;
}

.tips-list { 
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.tips-list li {
  position: relative;
  padding: 8px 0;
  margin-bottom: 5px;
  color: black;
  display: inline-block;
  text-align: center;
}

.tips-list li:before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 8px;
  display: inline-block;
}

.ingredients-box { 
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 18px 20px;
    margin: 20px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer { 
    background: black;
    color: white; 
    padding: 25px 20px;
    text-align: center; 
    margin-top: 40px;
    font-size: 0.95rem;
}

.footer p {
    margin: 5px 0;
}

.back-to-top { 
    display: block; 
    text-align: right; 
    margin-top: 25px;
}

.back-to-top a { 
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.back-to-top a:hover { 
    background-color: #ff80d5;
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .product-section {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    /* Responsive logo for tablets */
    .logo {
        max-width: 220px;
    }
}

/* For small mobile screens */
@media (max-width: 480px) {
    .header {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    /* Smaller logo for mobile phones */
    .logo {
        max-width: 180px;
    }
}

/* For very small screens */
@media (max-width: 320px) {
    .logo {
        max-width: 150px;
    }
}

/* Links styling */
a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #ff80d5;
}
