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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo .tagline {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Navigation Styles */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.main-nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 40px 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(30,136,229,0.8), rgba(13,71,161,0.8)), url('images/water-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #ff6f00;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e65100;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.product-card h3 {
    color: #1e88e5;
    font-size: 2em;
    margin-bottom: 15px;
}

.product-card .size {
    font-size: 1.5em;
    color: #666;
    margin-bottom: 20px;
}

.product-card .price {
    font-size: 2.5em;
    color: #ff6f00;
    font-weight: bold;
    margin: 20px 0;
}

.product-card .features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.product-card .features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Section Styles */
.section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h2 {
    color: #1e88e5;
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 3px solid #ff6f00;
    padding-bottom: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

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

/* Order Form Specific */
.order-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.order-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}

.order-summary h3 {
    color: #1e88e5;
    margin-bottom: 15px;
}

.order-total {
    font-size: 1.8em;
    color: #ff6f00;
    font-weight: bold;
    margin-top: 15px;
    text-align: right;
}

/* GridView Styles */
.GridView {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.GridView th {
    background: #1e88e5;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.GridView td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.GridView tr:hover {
    background-color: #f5f5f5;
}

/* Footer Styles */
.site-footer {
    background: #263238;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #64b5f6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #b0bec5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #37474f;
    color: #90a4ae;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
